2027 Method
Changes 0
M

FamilyManager.Set

Description:
Set the ElementId value of a family parameter of the current family type.
Overloads (4):
Set
Set(FamilyParameter,ElementId)
public void Set(
	FamilyParameter familyParameter,
	ElementId value
)
  • familyParameter
    A family parameter of the current type.
  • value
    The new value for family parameter.
  • Thrown when the storage type of family parameter is not ElementId --or-- The input ElementId does not represent either a valid element in the document or InvalidElementId.
  • Thrown when the input ElementId is not valid as a value for this FamilyParameter.
  • Thrown when the family parameter is determined by formula, or the current family type is invalid.