|
|
Inserts a copy of item into the specified parent group contained by DocumentInfo.
Namespace: Autodesk.Navisworks.Api.DocumentParts
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub InsertCopy ( _ parent As GroupItem, _ index As Integer, _ item As SavedItem _ ) |
| C# |
|---|
public void InsertCopy( GroupItem parent, int index, SavedItem item ) |
| Visual C++ |
|---|
public: void InsertCopy( GroupItem^ parent, int index, SavedItem^ item ) |
Parameters
- parent
- Type: Autodesk.Navisworks.Api..::..GroupItem
The parent group to insert into. RootItem or null to insert directly into Value
- index
- Type: System..::..Int32
- item
- Type: Autodesk.Navisworks.Api..::..SavedItem
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Argument 'parent' has been Disposed |
| System..::..ArgumentException | Argument 'parent' is not contained by DocumentInfo |
| System..::..ArgumentException | Argument 'item' has been Disposed |
| System..::..ArgumentNullException | Argument 'item' is null |
| System..::..ArgumentException | Argument 'item' contains an unsupported type of SavedItem |
| System..::..ArgumentOutOfRangeException | Argument 'index' out of range |