【Revit API】FamilyInstance、FamilySymbol、Family的索求关

作者:编程技术
FamilyInstance instance;  
var typeid = instance.GetTypeId();  
var symbol = RevitDoc.GetElement(typeid) as FamilySymbol;  
var familyName = symbol.FamilyName; 


var defaultFamilySymbolID = family.GetFamilySymbolIds().ToList()[familySymbolIndex];
var symbol =  doc.GetElement(defaultFamilySymbolID) as FamilySymbol;
if (!symbol.IsActive)
{
    symbol.Activate();
}

话非常少说,做个笔记

本文由分分快三计划发布,转载请注明来源

关键词: 分分快三计划