2023 Method
Changes 2
M

FamilyManager.AddParameter

Description:
Add a new shared parameter to the 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.
public FamilyParameter AddParameter(
	ExternalDefinition familyDefinition,
	ForgeTypeId groupTypeId,
	bool isInstance
)
Return Value FamilyParameter If creation was successful the new shared parameter is returned, otherwise an exception with failure information will be thrown.