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)
public void CopyPropertySet(
PropertySetupType propertySetupType,
string propertySetName,
string propertySetCopyName
)
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 |