Sets a copy of the given StucturalAsset to be used in the PropertySetElement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void SetStructuralAsset( StructuralAsset structuralAsset )
Parameters
- structuralAsset StructuralAsset
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the name of the asset is empty, contains prohibited characters, or is not unique |
ArgumentNullException | A non-optional argument was null |