Gets the associated family parameter of an element parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public FamilyParameter GetAssociatedFamilyParameter( Parameter elementParameter )
Parameters
- elementParameter Parameter
- The parameter of an element in family.
Return Value
FamilyParameterThe associated family parameter if there is an association between them, returns nullptr if not.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"elementParameter"-is nullptr. |