Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to programmatically add family parameters to a family doc using this method:
FamilyManager.AddParameter(String, ForgeTypeId, ForgeTypeId, Boolean)
To create a parameter, you must input the parameter type. To create a text parameter you would use this:
SpecTypeId.String.Text
But let's say I want to give the user a drop-down menu so they can select which parameter type, similar to the Revit UI:
So, I need to list all parameter type names.
I can use this to get all parameter types:
param_types = SpecUtils.GetAllSpecs()
But how do I get their names?
Everything about ForgeTypeId is very confusing to me.
Solved! Go to Solution.