Revit 2026 API
IFCParameter |
Creates a copy of the property set and adds it to the template.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void CopyPropertySet( PropertySetupType propertySetupType, string propertySetName, string propertySetCopyName )
Public Sub CopyPropertySet ( propertySetupType As PropertySetupType, propertySetName As String, propertySetCopyName As String )
public: void CopyPropertySet( PropertySetupType propertySetupType, String^ propertySetName, String^ propertySetCopyName )
member CopyPropertySet : propertySetupType : PropertySetupType * propertySetName : string * propertySetCopyName : string -> unit
Parameters
- propertySetupType PropertySetupType
- The property setup type.
- propertySetName String
- The property set name.
- propertySetCopyName String
- The name of the copied property set.
| Exception | Condition |
|---|---|
| ArgumentException | A property set with the given name is not present in the template. -or- A property set with the given name already exists in the template. |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also