【Revit API】FamilyInstance、FamilySymbol、Family的寻找关系
程序员文章站
2022-12-25 08:23:59
话不多说,做个笔记 ......
话不多说,做个笔记
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();
}
上一篇: 全力突破技术难关:打造自主品牌工业机器人
下一篇: 机器人时代 激光技术扮演什么角色