IFCUserDefinedPropertySetCopyPropertySet Method |
Create copy of property set with new name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic IFCUserDefinedPropertySet CopyPropertySet(
Document document,
string copyPropertySetName
)
Public Function CopyPropertySet (
document As Document,
copyPropertySetName As String
) As IFCUserDefinedPropertySet
public:
IFCUserDefinedPropertySet^ CopyPropertySet(
Document^ document,
String^ copyPropertySetName
)
member CopyPropertySet :
document : Document *
copyPropertySetName : string -> IFCUserDefinedPropertySet Parameters
- document Document
-
The Revit document to save the copied property set.
- copyPropertySetName String
-
The name for copied property set name.
Return Value
IFCUserDefinedPropertySet
The copied property set element.
Exceptions
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.
See Also