Gets the associated family parameter of an element parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
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 null if not.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"elementParameter"-is null. |