BIM World
A Professional BIM Learning Platform


Revit Advanced Development: Working with Associate Family Parameters

When creating a family, it is essential to associate family parameters effectively. This process is commonly used to link materials and dimensions to elements within a family.

Revit Secondary Development - Associate Family Parameters

string paramName = "材质";
FamilyParameter familyParameter = familyDoc.FamilyManager.AddParameter(paramName, BuiltInParameterGroup.PG_MATERIALS, ParameterType.Material, true);

familyDoc.FamilyManager.AssociateElementParameterToFamilyParameter(form.get_Parameter(BuiltInParameter.MATERIAL_ID_PARAM), familyParameter);

First, define the material parameter, then proceed to associate it with the family parameter.

xuebim
Follow the latest BIM developments in the architecture industry, explore innovative building technologies, and discover cutting-edge industry insights.
← Scan with WeChat
Like(0) 打赏
BIM WORLD » Revit Advanced Development: Working with Associate Family Parameters

Comment Get first!

Must log in before commenting!

 

BIM World, A Professional BIM Learning Platform

Stay updated on the latest architecture trends and share new building technologies.

Contact UsAbout Us

觉得文章有用就打赏一下小编吧

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

Account Login

By signing in, you agree toUser Agreement

Sign Up