IFCUserDefinedPropertySet.CopyPropertySet
Description:
Create copy of property set with new name.
Create copy of property set with new name.
Remarks:
The copied property set is saved in the document passed as parameter. Passing the same document as the source property set's document will create a new property set in the same document.
The copied property set is saved in the document passed as parameter. Passing the same document as the source property set's document will create a new property set in the same document.
public IFCUserDefinedPropertySet CopyPropertySet(
Document document,
string copyPropertySetName
)
-
documentThe Revit document to save the copied property set.
-
StringcopyPropertySetNameThe name for copied property set name.
-
The name is empty or already exists.
-
A non-optional argument was null
-
Failed to create IFCUserDefinedPropertySet element.