<Code Lib>
2020 Method
Changes 5
M

FamilyManager.AddParameter(String, BuiltInParameterGroup, Category, Boolean)

Description:
Add a new family type parameter to control the type of a nested family within another family.
Remarks:
This method can work even without any family type, but it cannot be assigned the value via FamilyManager.Set methods when there is no current type.
Overloads (3):

public FamilyParameter AddParameter(
	string parameterName,
	BuiltInParameterGroup parameterGroup,
	Category familyCategory,
	bool isInstance
)

Return Value FamilyParameter If creation was successful the new parameter is returned, otherwise an exception with failure information will be thrown.

Loading…