RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyManager

FamilyManager.Set(FamilyParameter, Int32)

Method
Description:
Set the integer value of a family parameter of the current family type.
Syntax
public void Set(
	FamilyParameter familyParameter,
	int value
)
Parameters
Parameter Type Description
familyParameter FamilyParameter A family parameter of the current type.
value Int32 The new value for family parameter.
Return Value
Exceptions
Exception Condition
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.