整合自定义控件
This commit is contained in:
@@ -1,509 +0,0 @@
|
||||
namespace ShrlAlgoToolkit.RevitAddins.Fonts;
|
||||
// Generated by IconFont2Code: https://andreinitescu.github.io/IconFont2Code
|
||||
// If you change the class to 'public' in order to use it outside its assembly
|
||||
// you should also change the fields from 'const' to 'public static readonly'
|
||||
static class AwesomeBrandsRegular
|
||||
{
|
||||
public const string Space = "\u0020";
|
||||
public const string Hashtag = "\u0023";
|
||||
public const string Hyphen = "\u002d";
|
||||
public const string _0 = "\u0030";
|
||||
public const string _1 = "\u0031";
|
||||
public const string _2 = "\u0032";
|
||||
public const string _3 = "\u0033";
|
||||
public const string _4 = "\u0034";
|
||||
public const string _5 = "\u0035";
|
||||
public const string _6 = "\u0036";
|
||||
public const string _7 = "\u0037";
|
||||
public const string _8 = "\u0038";
|
||||
public const string _9 = "\u0039";
|
||||
public const string a = "\u0041";
|
||||
public const string b = "\u0042";
|
||||
public const string c = "\u0043";
|
||||
public const string d = "\u0044";
|
||||
public const string e = "\u0045";
|
||||
public const string f = "\u0046";
|
||||
public const string g = "\u0047";
|
||||
public const string h = "\u0048";
|
||||
public const string i = "\u0049";
|
||||
public const string j = "\u004a";
|
||||
public const string k = "\u004b";
|
||||
public const string l = "\u004c";
|
||||
public const string m = "\u004d";
|
||||
public const string n = "\u004e";
|
||||
public const string o = "\u004f";
|
||||
public const string p = "\u0050";
|
||||
public const string q = "\u0051";
|
||||
public const string r = "\u0052";
|
||||
public const string s = "\u0053";
|
||||
public const string t = "\u0054";
|
||||
public const string u = "\u0055";
|
||||
public const string v = "\u0056";
|
||||
public const string w = "\u0057";
|
||||
public const string x = "\u0058";
|
||||
public const string y = "\u0059";
|
||||
public const string z = "\u005a";
|
||||
public const string ZeroWidthSpace = "\u0021";
|
||||
public const string FirefoxBrowser = "\ue007";
|
||||
public const string Ideal = "\ue013";
|
||||
public const string Microblog = "\ue01a";
|
||||
public const string PiedPiperSquare = "\ue01e";
|
||||
public const string Unity = "\ue049";
|
||||
public const string Dailymotion = "\ue052";
|
||||
public const string InstagramSquare = "\ue055";
|
||||
public const string Mixer = "\ue056";
|
||||
public const string Shopify = "\ue057";
|
||||
public const string Deezer = "\ue077";
|
||||
public const string EdgeLegacy = "\ue078";
|
||||
public const string GooglePay = "\ue079";
|
||||
public const string Rust = "\ue07a";
|
||||
public const string Tiktok = "\ue07b";
|
||||
public const string Unsplash = "\ue07c";
|
||||
public const string Cloudflare = "\ue07d";
|
||||
public const string Guilded = "\ue07e";
|
||||
public const string Hive = "\ue07f";
|
||||
public const string _42Group = "\ue080";
|
||||
public const string Instalod = "\ue081";
|
||||
public const string OctopusDeploy = "\ue082";
|
||||
public const string Perbyte = "\ue083";
|
||||
public const string Uncharted = "\ue084";
|
||||
public const string WatchmanMonitoring = "\ue087";
|
||||
public const string Wodu = "\ue088";
|
||||
public const string Wirsindhandwerk = "\ue2d0";
|
||||
public const string Bots = "\ue340";
|
||||
public const string Cmplid = "\ue360";
|
||||
public const string Bilibili = "\ue3d9";
|
||||
public const string Golang = "\ue40f";
|
||||
public const string Pix = "\ue43a";
|
||||
public const string Sitrox = "\ue44a";
|
||||
public const string Hashnode = "\ue499";
|
||||
public const string Padlet = "\ue4a0";
|
||||
public const string NfcDirectional = "\ue530";
|
||||
public const string NfcSymbol = "\ue531";
|
||||
public const string Screenpal = "\ue570";
|
||||
public const string TwitterSquare = "\uf081";
|
||||
public const string FacebookSquare = "\uf082";
|
||||
public const string Linkedin = "\uf08c";
|
||||
public const string GithubSquare = "\uf092";
|
||||
public const string Twitter = "\uf099";
|
||||
public const string Facebook = "\uf09a";
|
||||
public const string Github = "\uf09b";
|
||||
public const string Pinterest = "\uf0d2";
|
||||
public const string PinterestSquare = "\uf0d3";
|
||||
public const string GooglePlusSquare = "\uf0d4";
|
||||
public const string GooglePlusG = "\uf0d5";
|
||||
public const string LinkedinIn = "\uf0e1";
|
||||
public const string GithubAlt = "\uf113";
|
||||
public const string Maxcdn = "\uf136";
|
||||
public const string Html5 = "\uf13b";
|
||||
public const string Css3 = "\uf13c";
|
||||
public const string Btc = "\uf15a";
|
||||
public const string Youtube = "\uf167";
|
||||
public const string Xing = "\uf168";
|
||||
public const string XingSquare = "\uf169";
|
||||
public const string Dropbox = "\uf16b";
|
||||
public const string StackOverflow = "\uf16c";
|
||||
public const string Instagram = "\uf16d";
|
||||
public const string Flickr = "\uf16e";
|
||||
public const string Adn = "\uf170";
|
||||
public const string Bitbucket = "\uf171";
|
||||
public const string Tumblr = "\uf173";
|
||||
public const string TumblrSquare = "\uf174";
|
||||
public const string Apple = "\uf179";
|
||||
public const string Windows = "\uf17a";
|
||||
public const string Android = "\uf17b";
|
||||
public const string Linux = "\uf17c";
|
||||
public const string Dribbble = "\uf17d";
|
||||
public const string Skype = "\uf17e";
|
||||
public const string Foursquare = "\uf180";
|
||||
public const string Trello = "\uf181";
|
||||
public const string Gratipay = "\uf184";
|
||||
public const string Vk = "\uf189";
|
||||
public const string Weibo = "\uf18a";
|
||||
public const string Renren = "\uf18b";
|
||||
public const string Pagelines = "\uf18c";
|
||||
public const string StackExchange = "\uf18d";
|
||||
public const string VimeoSquare = "\uf194";
|
||||
public const string Slack = "\uf198";
|
||||
public const string Wordpress = "\uf19a";
|
||||
public const string Openid = "\uf19b";
|
||||
public const string Yahoo = "\uf19e";
|
||||
public const string Google = "\uf1a0";
|
||||
public const string Reddit = "\uf1a1";
|
||||
public const string RedditSquare = "\uf1a2";
|
||||
public const string StumbleuponCircle = "\uf1a3";
|
||||
public const string Stumbleupon = "\uf1a4";
|
||||
public const string Delicious = "\uf1a5";
|
||||
public const string Digg = "\uf1a6";
|
||||
public const string PiedPiperPp = "\uf1a7";
|
||||
public const string PiedPiperAlt = "\uf1a8";
|
||||
public const string Drupal = "\uf1a9";
|
||||
public const string Joomla = "\uf1aa";
|
||||
public const string Behance = "\uf1b4";
|
||||
public const string BehanceSquare = "\uf1b5";
|
||||
public const string Steam = "\uf1b6";
|
||||
public const string SteamSquare = "\uf1b7";
|
||||
public const string Spotify = "\uf1bc";
|
||||
public const string Deviantart = "\uf1bd";
|
||||
public const string Soundcloud = "\uf1be";
|
||||
public const string Vine = "\uf1ca";
|
||||
public const string Codepen = "\uf1cb";
|
||||
public const string Jsfiddle = "\uf1cc";
|
||||
public const string Rebel = "\uf1d0";
|
||||
public const string Empire = "\uf1d1";
|
||||
public const string GitSquare = "\uf1d2";
|
||||
public const string Git = "\uf1d3";
|
||||
public const string HackerNews = "\uf1d4";
|
||||
public const string TencentWeibo = "\uf1d5";
|
||||
public const string Qq = "\uf1d6";
|
||||
public const string Weixin = "\uf1d7";
|
||||
public const string Slideshare = "\uf1e7";
|
||||
public const string Twitch = "\uf1e8";
|
||||
public const string Yelp = "\uf1e9";
|
||||
public const string Paypal = "\uf1ed";
|
||||
public const string GoogleWallet = "\uf1ee";
|
||||
public const string CcVisa = "\uf1f0";
|
||||
public const string CcMastercard = "\uf1f1";
|
||||
public const string CcDiscover = "\uf1f2";
|
||||
public const string CcAmex = "\uf1f3";
|
||||
public const string CcPaypal = "\uf1f4";
|
||||
public const string CcStripe = "\uf1f5";
|
||||
public const string Lastfm = "\uf202";
|
||||
public const string LastfmSquare = "\uf203";
|
||||
public const string Ioxhost = "\uf208";
|
||||
public const string Angellist = "\uf209";
|
||||
public const string Buysellads = "\uf20d";
|
||||
public const string Connectdevelop = "\uf20e";
|
||||
public const string Dashcube = "\uf210";
|
||||
public const string Forumbee = "\uf211";
|
||||
public const string Leanpub = "\uf212";
|
||||
public const string Sellsy = "\uf213";
|
||||
public const string Shirtsinbulk = "\uf214";
|
||||
public const string Simplybuilt = "\uf215";
|
||||
public const string Skyatlas = "\uf216";
|
||||
public const string PinterestP = "\uf231";
|
||||
public const string Whatsapp = "\uf232";
|
||||
public const string Viacoin = "\uf237";
|
||||
public const string Medium = "\uf23a";
|
||||
public const string YCombinator = "\uf23b";
|
||||
public const string OptinMonster = "\uf23c";
|
||||
public const string Opencart = "\uf23d";
|
||||
public const string Expeditedssl = "\uf23e";
|
||||
public const string CcJcb = "\uf24b";
|
||||
public const string CcDinersClub = "\uf24c";
|
||||
public const string CreativeCommons = "\uf25e";
|
||||
public const string Gg = "\uf260";
|
||||
public const string GgCircle = "\uf261";
|
||||
public const string Odnoklassniki = "\uf263";
|
||||
public const string OdnoklassnikiSquare = "\uf264";
|
||||
public const string GetPocket = "\uf265";
|
||||
public const string WikipediaW = "\uf266";
|
||||
public const string Safari = "\uf267";
|
||||
public const string Chrome = "\uf268";
|
||||
public const string Firefox = "\uf269";
|
||||
public const string Opera = "\uf26a";
|
||||
public const string InternetExplorer = "\uf26b";
|
||||
public const string Contao = "\uf26d";
|
||||
public const string _500px = "\uf26e";
|
||||
public const string Amazon = "\uf270";
|
||||
public const string Houzz = "\uf27c";
|
||||
public const string VimeoV = "\uf27d";
|
||||
public const string BlackTie = "\uf27e";
|
||||
public const string Fonticons = "\uf280";
|
||||
public const string RedditAlien = "\uf281";
|
||||
public const string Edge = "\uf282";
|
||||
public const string Codiepie = "\uf284";
|
||||
public const string Modx = "\uf285";
|
||||
public const string FortAwesome = "\uf286";
|
||||
public const string Usb = "\uf287";
|
||||
public const string ProductHunt = "\uf288";
|
||||
public const string Mixcloud = "\uf289";
|
||||
public const string Scribd = "\uf28a";
|
||||
public const string Bluetooth = "\uf293";
|
||||
public const string BluetoothB = "\uf294";
|
||||
public const string Gitlab = "\uf296";
|
||||
public const string Wpbeginner = "\uf297";
|
||||
public const string Wpforms = "\uf298";
|
||||
public const string Envira = "\uf299";
|
||||
public const string Glide = "\uf2a5";
|
||||
public const string GlideG = "\uf2a6";
|
||||
public const string Viadeo = "\uf2a9";
|
||||
public const string ViadeoSquare = "\uf2aa";
|
||||
public const string Snapchat = "\uf2ab";
|
||||
public const string SnapchatSquare = "\uf2ad";
|
||||
public const string PiedPiper = "\uf2ae";
|
||||
public const string FirstOrder = "\uf2b0";
|
||||
public const string Yoast = "\uf2b1";
|
||||
public const string Themeisle = "\uf2b2";
|
||||
public const string GooglePlus = "\uf2b3";
|
||||
public const string FontAwesome = "\uf2b4";
|
||||
public const string Linode = "\uf2b8";
|
||||
public const string Quora = "\uf2c4";
|
||||
public const string FreeCodeCamp = "\uf2c5";
|
||||
public const string Telegram = "\uf2c6";
|
||||
public const string Bandcamp = "\uf2d5";
|
||||
public const string Grav = "\uf2d6";
|
||||
public const string Etsy = "\uf2d7";
|
||||
public const string Imdb = "\uf2d8";
|
||||
public const string Ravelry = "\uf2d9";
|
||||
public const string Sellcast = "\uf2da";
|
||||
public const string Superpowers = "\uf2dd";
|
||||
public const string Wpexplorer = "\uf2de";
|
||||
public const string Meetup = "\uf2e0";
|
||||
public const string SquareFontAwesomeStroke = "\uf35c";
|
||||
public const string AccessibleIcon = "\uf29b";
|
||||
public const string Accusoft = "\uf369";
|
||||
public const string Adversal = "\uf36a";
|
||||
public const string Affiliatetheme = "\uf36b";
|
||||
public const string Algolia = "\uf36c";
|
||||
public const string Amilia = "\uf36d";
|
||||
public const string Angrycreative = "\uf36e";
|
||||
public const string AppStore = "\uf36f";
|
||||
public const string AppStoreIos = "\uf370";
|
||||
public const string Apper = "\uf371";
|
||||
public const string Asymmetrik = "\uf372";
|
||||
public const string Audible = "\uf373";
|
||||
public const string Avianex = "\uf374";
|
||||
public const string Aws = "\uf375";
|
||||
public const string Bimobject = "\uf378";
|
||||
public const string Bitcoin = "\uf379";
|
||||
public const string Bity = "\uf37a";
|
||||
public const string Blackberry = "\uf37b";
|
||||
public const string Blogger = "\uf37c";
|
||||
public const string BloggerB = "\uf37d";
|
||||
public const string Buromobelexperte = "\uf37f";
|
||||
public const string Centercode = "\uf380";
|
||||
public const string Cloudscale = "\uf383";
|
||||
public const string Cloudsmith = "\uf384";
|
||||
public const string Cloudversify = "\uf385";
|
||||
public const string Cpanel = "\uf388";
|
||||
public const string Css3Alt = "\uf38b";
|
||||
public const string Cuttlefish = "\uf38c";
|
||||
public const string DAndD = "\uf38d";
|
||||
public const string Deploydog = "\uf38e";
|
||||
public const string Deskpro = "\uf38f";
|
||||
public const string DigitalOcean = "\uf391";
|
||||
public const string Discord = "\uf392";
|
||||
public const string Discourse = "\uf393";
|
||||
public const string Dochub = "\uf394";
|
||||
public const string Docker = "\uf395";
|
||||
public const string Draft2digital = "\uf396";
|
||||
public const string DribbbleSquare = "\uf397";
|
||||
public const string Dyalog = "\uf399";
|
||||
public const string Earlybirds = "\uf39a";
|
||||
public const string Erlang = "\uf39d";
|
||||
public const string FacebookF = "\uf39e";
|
||||
public const string FacebookMessenger = "\uf39f";
|
||||
public const string Firstdraft = "\uf3a1";
|
||||
public const string FonticonsFi = "\uf3a2";
|
||||
public const string FortAwesomeAlt = "\uf3a3";
|
||||
public const string Freebsd = "\uf3a4";
|
||||
public const string Gitkraken = "\uf3a6";
|
||||
public const string Gofore = "\uf3a7";
|
||||
public const string Goodreads = "\uf3a8";
|
||||
public const string GoodreadsG = "\uf3a9";
|
||||
public const string GoogleDrive = "\uf3aa";
|
||||
public const string GooglePlay = "\uf3ab";
|
||||
public const string Gripfire = "\uf3ac";
|
||||
public const string Grunt = "\uf3ad";
|
||||
public const string Gulp = "\uf3ae";
|
||||
public const string HackerNewsSquare = "\uf3af";
|
||||
public const string HireAHelper = "\uf3b0";
|
||||
public const string Hotjar = "\uf3b1";
|
||||
public const string Hubspot = "\uf3b2";
|
||||
public const string Itunes = "\uf3b4";
|
||||
public const string ItunesNote = "\uf3b5";
|
||||
public const string Jenkins = "\uf3b6";
|
||||
public const string Joget = "\uf3b7";
|
||||
public const string Js = "\uf3b8";
|
||||
public const string JsSquare = "\uf3b9";
|
||||
public const string Keycdn = "\uf3ba";
|
||||
public const string Kickstarter = "\uf3bb";
|
||||
public const string KickstarterK = "\uf3bc";
|
||||
public const string Laravel = "\uf3bd";
|
||||
public const string Line = "\uf3c0";
|
||||
public const string Lyft = "\uf3c3";
|
||||
public const string Magento = "\uf3c4";
|
||||
public const string Medapps = "\uf3c6";
|
||||
public const string Medrt = "\uf3c8";
|
||||
public const string Microsoft = "\uf3ca";
|
||||
public const string Mix = "\uf3cb";
|
||||
public const string Mizuni = "\uf3cc";
|
||||
public const string Monero = "\uf3d0";
|
||||
public const string Napster = "\uf3d2";
|
||||
public const string NodeJs = "\uf3d3";
|
||||
public const string Npm = "\uf3d4";
|
||||
public const string Ns8 = "\uf3d5";
|
||||
public const string Nutritionix = "\uf3d6";
|
||||
public const string Page4 = "\uf3d7";
|
||||
public const string Palfed = "\uf3d8";
|
||||
public const string Patreon = "\uf3d9";
|
||||
public const string Periscope = "\uf3da";
|
||||
public const string Phabricator = "\uf3db";
|
||||
public const string PhoenixFramework = "\uf3dc";
|
||||
public const string Playstation = "\uf3df";
|
||||
public const string Pushed = "\uf3e1";
|
||||
public const string Python = "\uf3e2";
|
||||
public const string RedRiver = "\uf3e3";
|
||||
public const string Wpressr = "\uf3e4";
|
||||
public const string Replyd = "\uf3e6";
|
||||
public const string Resolving = "\uf3e7";
|
||||
public const string Rocketchat = "\uf3e8";
|
||||
public const string Rockrms = "\uf3e9";
|
||||
public const string Schlix = "\uf3ea";
|
||||
public const string Searchengin = "\uf3eb";
|
||||
public const string Servicestack = "\uf3ec";
|
||||
public const string Sistrix = "\uf3ee";
|
||||
public const string Speakap = "\uf3f3";
|
||||
public const string Staylinked = "\uf3f5";
|
||||
public const string SteamSymbol = "\uf3f6";
|
||||
public const string StickerMule = "\uf3f7";
|
||||
public const string Studiovinari = "\uf3f8";
|
||||
public const string Supple = "\uf3f9";
|
||||
public const string Uber = "\uf402";
|
||||
public const string Uikit = "\uf403";
|
||||
public const string Uniregistry = "\uf404";
|
||||
public const string Untappd = "\uf405";
|
||||
public const string Ussunnah = "\uf407";
|
||||
public const string Vaadin = "\uf408";
|
||||
public const string Viber = "\uf409";
|
||||
public const string Vimeo = "\uf40a";
|
||||
public const string Vnv = "\uf40b";
|
||||
public const string WhatsappSquare = "\uf40c";
|
||||
public const string Whmcs = "\uf40d";
|
||||
public const string WordpressSimple = "\uf411";
|
||||
public const string Xbox = "\uf412";
|
||||
public const string Yandex = "\uf413";
|
||||
public const string YandexInternational = "\uf414";
|
||||
public const string ApplePay = "\uf415";
|
||||
public const string CcApplePay = "\uf416";
|
||||
public const string Fly = "\uf417";
|
||||
public const string Node = "\uf419";
|
||||
public const string Osi = "\uf41a";
|
||||
public const string React = "\uf41b";
|
||||
public const string Autoprefixer = "\uf41c";
|
||||
public const string Less = "\uf41d";
|
||||
public const string Sass = "\uf41e";
|
||||
public const string Vuejs = "\uf41f";
|
||||
public const string Angular = "\uf420";
|
||||
public const string Aviato = "\uf421";
|
||||
public const string Ember = "\uf423";
|
||||
public const string SquareFontAwesome = "\uf425";
|
||||
public const string Gitter = "\uf426";
|
||||
public const string Hooli = "\uf427";
|
||||
public const string Strava = "\uf428";
|
||||
public const string Stripe = "\uf429";
|
||||
public const string StripeS = "\uf42a";
|
||||
public const string Typo3 = "\uf42b";
|
||||
public const string AmazonPay = "\uf42c";
|
||||
public const string CcAmazonPay = "\uf42d";
|
||||
public const string Ethereum = "\uf42e";
|
||||
public const string Korvue = "\uf42f";
|
||||
public const string Elementor = "\uf430";
|
||||
public const string YoutubeSquare = "\uf166";
|
||||
public const string Flipboard = "\uf44d";
|
||||
public const string Hips = "\uf452";
|
||||
public const string Php = "\uf457";
|
||||
public const string Quinscape = "\uf459";
|
||||
public const string Readme = "\uf4d5";
|
||||
public const string Java = "\uf4e4";
|
||||
public const string PiedPiperHat = "\uf4e5";
|
||||
public const string CreativeCommonsBy = "\uf4e7";
|
||||
public const string CreativeCommonsNc = "\uf4e8";
|
||||
public const string CreativeCommonsNcEu = "\uf4e9";
|
||||
public const string CreativeCommonsNcJp = "\uf4ea";
|
||||
public const string CreativeCommonsNd = "\uf4eb";
|
||||
public const string CreativeCommonsPd = "\uf4ec";
|
||||
public const string CreativeCommonsPdAlt = "\uf4ed";
|
||||
public const string CreativeCommonsRemix = "\uf4ee";
|
||||
public const string CreativeCommonsSa = "\uf4ef";
|
||||
public const string CreativeCommonsSampling = "\uf4f0";
|
||||
public const string CreativeCommonsSamplingPlus = "\uf4f1";
|
||||
public const string CreativeCommonsShare = "\uf4f2";
|
||||
public const string CreativeCommonsZero = "\uf4f3";
|
||||
public const string Ebay = "\uf4f4";
|
||||
public const string Keybase = "\uf4f5";
|
||||
public const string Mastodon = "\uf4f6";
|
||||
public const string RProject = "\uf4f7";
|
||||
public const string Researchgate = "\uf4f8";
|
||||
public const string Teamspeak = "\uf4f9";
|
||||
public const string FirstOrderAlt = "\uf50a";
|
||||
public const string Fulcrum = "\uf50b";
|
||||
public const string GalacticRepublic = "\uf50c";
|
||||
public const string GalacticSenate = "\uf50d";
|
||||
public const string JediOrder = "\uf50e";
|
||||
public const string Mandalorian = "\uf50f";
|
||||
public const string OldRepublic = "\uf510";
|
||||
public const string PhoenixSquadron = "\uf511";
|
||||
public const string Sith = "\uf512";
|
||||
public const string TradeFederation = "\uf513";
|
||||
public const string WolfPackBattalion = "\uf514";
|
||||
public const string Hornbill = "\uf592";
|
||||
public const string Mailchimp = "\uf59e";
|
||||
public const string Megaport = "\uf5a3";
|
||||
public const string Nimblr = "\uf5a8";
|
||||
public const string Rev = "\uf5b2";
|
||||
public const string Shopware = "\uf5b5";
|
||||
public const string Squarespace = "\uf5be";
|
||||
public const string Themeco = "\uf5c6";
|
||||
public const string Weebly = "\uf5cc";
|
||||
public const string Wix = "\uf5cf";
|
||||
public const string Ello = "\uf5f1";
|
||||
public const string Hackerrank = "\uf5f7";
|
||||
public const string Kaggle = "\uf5fa";
|
||||
public const string Markdown = "\uf60f";
|
||||
public const string Neos = "\uf612";
|
||||
public const string Zhihu = "\uf63f";
|
||||
public const string Alipay = "\uf642";
|
||||
public const string TheRedYeti = "\uf69d";
|
||||
public const string CriticalRole = "\uf6c9";
|
||||
public const string DAndDBeyond = "\uf6ca";
|
||||
public const string Dev = "\uf6cc";
|
||||
public const string FantasyFlightGames = "\uf6dc";
|
||||
public const string WizardsOfTheCoast = "\uf730";
|
||||
public const string ThinkPeaks = "\uf731";
|
||||
public const string Reacteurope = "\uf75d";
|
||||
public const string Artstation = "\uf77a";
|
||||
public const string Atlassian = "\uf77b";
|
||||
public const string CanadianMapleLeaf = "\uf785";
|
||||
public const string Centos = "\uf789";
|
||||
public const string Confluence = "\uf78d";
|
||||
public const string Dhl = "\uf790";
|
||||
public const string Diaspora = "\uf791";
|
||||
public const string Fedex = "\uf797";
|
||||
public const string Fedora = "\uf798";
|
||||
public const string Figma = "\uf799";
|
||||
public const string Intercom = "\uf7af";
|
||||
public const string Invision = "\uf7b0";
|
||||
public const string Jira = "\uf7b1";
|
||||
public const string Mendeley = "\uf7b3";
|
||||
public const string RaspberryPi = "\uf7bb";
|
||||
public const string Redhat = "\uf7bc";
|
||||
public const string Sketch = "\uf7c6";
|
||||
public const string Sourcetree = "\uf7d3";
|
||||
public const string Suse = "\uf7d6";
|
||||
public const string Ubuntu = "\uf7df";
|
||||
public const string Ups = "\uf7e0";
|
||||
public const string Usps = "\uf7e1";
|
||||
public const string Yarn = "\uf7e3";
|
||||
public const string Airbnb = "\uf834";
|
||||
public const string BattleNet = "\uf835";
|
||||
public const string Bootstrap = "\uf836";
|
||||
public const string Buffer = "\uf837";
|
||||
public const string Chromecast = "\uf838";
|
||||
public const string Evernote = "\uf839";
|
||||
public const string ItchIo = "\uf83a";
|
||||
public const string Salesforce = "\uf83b";
|
||||
public const string SpeakerDeck = "\uf83c";
|
||||
public const string Symfony = "\uf83d";
|
||||
public const string Waze = "\uf83f";
|
||||
public const string Yammer = "\uf840";
|
||||
public const string GitAlt = "\uf841";
|
||||
public const string Stackpath = "\uf842";
|
||||
public const string CottonBureau = "\uf89e";
|
||||
public const string BuyNLarge = "\uf8a6";
|
||||
public const string Mdb = "\uf8ca";
|
||||
public const string Orcid = "\uf8d2";
|
||||
public const string Swift = "\uf8e1";
|
||||
public const string Umbraco = "\uf8e8";
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
132
ShrlAlgoToolkit.RevitAddins/RvFamily/CutGeologyByLoopCmd.cs
Normal file
132
ShrlAlgoToolkit.RevitAddins/RvFamily/CutGeologyByLoopCmd.cs
Normal file
@@ -0,0 +1,132 @@
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
using Autodesk.Revit.Attributes;
|
||||
using Autodesk.Revit.DB;
|
||||
|
||||
using Nice3point.Revit.Toolkit.External;
|
||||
|
||||
|
||||
namespace Szmedi.RvKits.Civil
|
||||
{
|
||||
/// <summary>
|
||||
/// Revit执行命令
|
||||
/// </summary>
|
||||
[Transaction(TransactionMode.Manual)]
|
||||
[Regeneration(RegenerationOption.Manual)]
|
||||
public class CutGeologyByLoopCmd : ExternalCommand
|
||||
{
|
||||
public override void Execute()
|
||||
{
|
||||
try
|
||||
{
|
||||
var curveElements = UiDocument.Selection
|
||||
.PickElementsByRectangle(new GenericFilter<CurveElement>(), "请框选模型线或符号线")
|
||||
.Cast<CurveElement>();
|
||||
var curvesSelected = curveElements.Select(x => x.GeometryCurve).ToList();
|
||||
if (curvesSelected.Count < 3)
|
||||
{
|
||||
MessageBox.Show("请至少选择三条线", "提示", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
return;
|
||||
}
|
||||
var curveList = SpatialAssist.GroupContinuousCurves(curvesSelected);
|
||||
List<CurveLoop> curveLoops = new List<CurveLoop>();
|
||||
foreach (var curves in curveList)
|
||||
{
|
||||
var loop = CurveLoop.Create(curves);
|
||||
if (loop.IsOpen())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
curveLoops.Add(loop);
|
||||
}
|
||||
|
||||
if (curveLoops.Count == 0)
|
||||
{
|
||||
MessageBox.Show("未能构成闭合环", "提示", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
return;
|
||||
}
|
||||
if (curveLoops.Count > 1)
|
||||
{
|
||||
MessageBox.Show("存在多个闭合环,请确保只选择一个闭合环", "提示", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
return;
|
||||
}
|
||||
var solidInstances = UiDocument.Selection
|
||||
.PickElementsByRectangle(
|
||||
new FuncFilter(e => e is FamilyInstance instance && instance.Symbol.Family.IsInPlace),
|
||||
"请选择一个实体族")
|
||||
.Cast<FamilyInstance>()
|
||||
.ToList();
|
||||
//var solidInstances = solidReferences.Select(x => x as FamilyInstance).ToList();
|
||||
var solidCut = GeometryCreationUtilities.CreateExtrusionGeometry(
|
||||
curveLoops,
|
||||
new XYZ(0, 0, 1),
|
||||
100000);
|
||||
//StringBuilder sb = new StringBuilder();
|
||||
|
||||
Document.Invoke(
|
||||
ts =>
|
||||
{
|
||||
foreach (var instance in solidInstances)
|
||||
{
|
||||
var geomElem = instance.get_Geometry(new Options());
|
||||
foreach (var geometryObject in geomElem)
|
||||
{
|
||||
if (geometryObject is GeometryInstance geomInst)
|
||||
{
|
||||
var instanceGeoms = geomInst.GetInstanceGeometry();
|
||||
foreach (var geom in instanceGeoms)
|
||||
{
|
||||
if (geom is Solid solid)
|
||||
{
|
||||
var solidResult = BooleanOperationsUtils.ExecuteBooleanOperation(
|
||||
solid,
|
||||
solidCut,
|
||||
BooleanOperationsType.Intersect);
|
||||
var shape = Document.CreateDirectShapeInstance(instance.Name, BuiltInCategory.OST_GenericModel, [solidResult]);
|
||||
Document.Regenerate();
|
||||
|
||||
var materialId = shape.GetMaterialIds(false).FirstOrDefault();
|
||||
|
||||
var subGeoElem = shape.get_Geometry(new Options());
|
||||
foreach (var ins in subGeoElem)
|
||||
{
|
||||
if (ins is Solid subSolid)
|
||||
{
|
||||
foreach (Face item in subSolid.Faces)
|
||||
{
|
||||
try
|
||||
{
|
||||
Document.Paint(shape.Id, item, materialId);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//shape.GetMaterialIds()
|
||||
}
|
||||
}
|
||||
}
|
||||
//var geomInst = geometryObject.GetInstanceGeometry();
|
||||
}
|
||||
}
|
||||
},
|
||||
"剪切几何");
|
||||
//MessageBox.Show(sb.ToString());
|
||||
|
||||
}
|
||||
catch (Autodesk.Revit.Exceptions.OperationCanceledException)
|
||||
{
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,58 +11,76 @@ namespace ShrlAlgoToolkit.RevitAddins.RvFamily;
|
||||
/// </summary>
|
||||
[Transaction(TransactionMode.Manual)]
|
||||
[Regeneration(RegenerationOption.Manual)]
|
||||
public class ExplodeDwgCmd : ExternalCommand
|
||||
public class ExplodeDwgCmd : IExternalCommand
|
||||
{
|
||||
public override void Execute()
|
||||
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
|
||||
{
|
||||
try
|
||||
{
|
||||
var refer = UiDocument.Selection.PickObject(ObjectType.Element);
|
||||
|
||||
ExternalCommandData data = commandData;
|
||||
Document Document = data.Application.ActiveUIDocument.Document;
|
||||
UIDocument UiDocument = data.Application.ActiveUIDocument;
|
||||
if (!Document.IsFamilyDocument)
|
||||
{
|
||||
TaskDialog.Show("提示", "请在族文档中使用此命令");
|
||||
return Result.Cancelled;
|
||||
}
|
||||
//bool useFreeFrom = true;
|
||||
var refer = UiDocument.Selection.PickObject(ObjectType.Element, new GenericFilter<ImportInstance>(), "请选择导入图元");
|
||||
var element = Document.GetElement(refer);
|
||||
var geoElem = element.get_Geometry(new Options() { ComputeReferences = true, DetailLevel = ViewDetailLevel.Fine });
|
||||
if (Document.IsFamilyDocument)
|
||||
{
|
||||
var f = Document.OwnerFamily;
|
||||
Document.Invoke(
|
||||
ts =>
|
||||
var f = Document.OwnerFamily;
|
||||
Document.Invoke(
|
||||
ts =>
|
||||
{
|
||||
foreach (var geoObj in geoElem)
|
||||
{
|
||||
foreach (var geoObj in geoElem)
|
||||
if (geoObj is GeometryInstance instance)
|
||||
{
|
||||
if (geoObj is GeometryInstance instance)
|
||||
foreach (var obj in instance.GetInstanceGeometry())
|
||||
{
|
||||
foreach (var obj in instance.GetInstanceGeometry())
|
||||
|
||||
if (obj is Solid solid && solid.Faces.Size > 0 && solid.Volume > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (obj is Solid solid)
|
||||
{
|
||||
var directShape = DirectShape.CreateElement(Document, f.FamilyCategory.Id);
|
||||
directShape.SetShape(new GeometryObject[] { solid });
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
FreeFormElement.Create(Document, solid);//和分解的功能一样,仅保留几何信息
|
||||
|
||||
//try
|
||||
//{
|
||||
// // 如果是项目文档,只能使用DirectShape创建,适用于导入的几何体,不能进行二次编辑
|
||||
|
||||
// // 如果是族文档,使用FreeFormElement创建,可以有更多的几何体支持,支持编辑手柄,族文档也支持DirectShape
|
||||
// var shape = DirectShape.CreateElement(Document, f.FamilyCategory.Id);
|
||||
// shape.SetShape([solid]);
|
||||
//}
|
||||
//catch (Exception)
|
||||
//{
|
||||
// FreeFormElement.Create(Document, solid);//和分解的功能一样,仅保留几何信息
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
try
|
||||
{
|
||||
if (geoObj is Solid solid)
|
||||
{
|
||||
var directShape = DirectShape.CreateElement(Document, f.FamilyCategory.Id);
|
||||
directShape.SetShape(new GeometryObject[] { solid });
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
Document.Delete(element.Id);
|
||||
});
|
||||
}
|
||||
else if (geoObj is Solid topSolid && topSolid.Faces.Size > 0 && topSolid.Volume > 0)
|
||||
{
|
||||
FreeFormElement.Create(Document, topSolid);//和分解的功能一样,仅保留几何信息
|
||||
|
||||
//try
|
||||
//{
|
||||
|
||||
// var directShape = DirectShape.CreateElement(Document, f.FamilyCategory.Id);
|
||||
// directShape.SetShape([topSolid]);
|
||||
|
||||
//}
|
||||
//catch (Exception)
|
||||
//{
|
||||
// FreeFormElement.Create(Document, topSolid);
|
||||
//}
|
||||
}
|
||||
}
|
||||
Document.Delete(element.Id);
|
||||
});
|
||||
|
||||
}
|
||||
catch (Autodesk.Revit.Exceptions.OperationCanceledException)
|
||||
{
|
||||
@@ -72,5 +90,30 @@ public class ExplodeDwgCmd : ExternalCommand
|
||||
{
|
||||
TaskDialog.Show("Error", ex.Message);
|
||||
}
|
||||
return Result.Succeeded;
|
||||
}
|
||||
|
||||
private void ProcessGeometry(Document doc, Category category, GeometryElement geometryElement)
|
||||
{
|
||||
foreach (var geoObj in geometryElement)
|
||||
{
|
||||
if (geoObj is GeometryInstance instance)
|
||||
{
|
||||
// 递归处理嵌套的GeometryInstance
|
||||
ProcessGeometry(doc, category, instance.GetInstanceGeometry());
|
||||
}
|
||||
else if (geoObj is Solid solid && solid.Faces.Size > 0 && solid.Volume > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
var shape = DirectShape.CreateElement(doc, category.Id);
|
||||
shape.SetShape([solid]);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -85,7 +85,7 @@
|
||||
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.4.0" />
|
||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
||||
<PackageReference Include="EPPlus.Core.Extensions" Version="2.4.0" />
|
||||
<PackageReference Include="ACadSharp" Version="1.1.6" />
|
||||
<PackageReference Include="ACadSharp" Version="3.0.8" />
|
||||
<PackageReference Include="FuzzySharp" Version="2.0.2" />
|
||||
<PackageReference Include="HtmlAgilityPack" Version="1.12.1" />
|
||||
<!--TreatAsUsed="true"标记为已使用-->
|
||||
@@ -154,9 +154,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Fonts\boxicons.ttf" />
|
||||
<Resource Include="Fonts\Font Awesome 6 Brands-Regular-400.otf" />
|
||||
<Resource Include="Fonts\Font Awesome 6 Free-Regular-400.otf" />
|
||||
<Resource Include="Fonts\Font Awesome 6 Free-Solid-900.otf" />
|
||||
<Resource Include="Fonts\Segoe Fluent Icons.ttf" />
|
||||
<Resource Include="Fonts\SourceHanSansSC-Regular.otf" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -3,7 +3,6 @@ using System.Reflection;
|
||||
|
||||
using Autodesk.Revit.UI;
|
||||
|
||||
using WPFluent.Controls;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins;
|
||||
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
<Setter Property="ShowInTaskbar" Value="False" />
|
||||
<Setter Property="MaxHeight" Value="800" />
|
||||
<Setter Property="TitleIcon" Value="{ui:SymbolIcon Toolbox20}" />
|
||||
<!--<Setter Property="TitleIcon" Value="{ui:FontIcon , {StaticResource IconFont}}" />-->
|
||||
<!--<Setter Property="TitleIcon" Value="{ui:ImageIcon Resources/revit-Fill.png}" />-->
|
||||
</Style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user