|
|
Adds a copy of item to the end of the specified parent group contained by SelectionSets.
Namespace: Autodesk.Navisworks.Api.DocumentParts
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub AddCopy ( _ parent As GroupItem, _ item As SavedItem _ ) |
| C# |
|---|
public void AddCopy( GroupItem parent, SavedItem item ) |
| Visual C++ |
|---|
public: void AddCopy( GroupItem^ parent, SavedItem^ item ) |
Parameters
- parent
- Type: Autodesk.Navisworks.Api..::..GroupItem
The parent group to add to. RootItem or null to add directly to Value
- item
- Type: Autodesk.Navisworks.Api..::..SavedItem
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Argument 'parent' has been Disposed |
| System..::..ArgumentException | Argument 'parent' is not contained by Selectionsets |
| System..::..ArgumentException | Argument 'item' has been Disposed |
| System..::..ArgumentNullException | Argument 'item' is null |
| System..::..ArgumentException | Argument 'item' contains an unsupported type of SavedItem |