FamilyManager.Set(FamilyParameter, Int32) Method

FamilyManagerSet(FamilyParameter, Int32) Method

Set the integer value of a family parameter of the current family type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void Set(
	FamilyParameter familyParameter,
	int value
)
Public Sub Set ( 
	familyParameter As FamilyParameter,
	value As Integer
)
public:
void Set(
	FamilyParameter^ familyParameter, 
	int value
)
member Set : 
        familyParameter : FamilyParameter * 
        value : int -> unit 

Parameters

familyParameter  FamilyParameter
A family parameter of the current type.
value  Int32
The new value for family parameter.
Exceptions
ExceptionCondition
ArgumentException Thrown when the input argument-"familyParameter"-is an invalid family parameter.
ArgumentOutOfRangeException Thrown when the input argument-"familyParameter"-is out of range.
InvalidOperationException Thrown when the family parameter is determined by formula, or the current family type is invalid.
See Also