ProjectLocationDuplicate Method |
Generate a copy of this project location with the specified name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic ProjectLocation Duplicate(
string name
)
Public Function Duplicate (
name As String
) As ProjectLocation
public:
ProjectLocation^ Duplicate(
String^ name
)
member Duplicate :
name : string -> ProjectLocation
Parameters
- name String
-
Return Value
ProjectLocation
A new ProjectLocation which is a duplicate of this location, with
the input name.
Exceptions
Remarks
The name must not be the same as the name of any existing locations.
This function will modify the document, as the new ProjectLocation
will be added to it.
See Also