Copies a subassembly to the assembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public AssemblyGroup CopySubassembly(
ObjectId subassemblyIdFrom
) |
Visual Basic |
---|
Public Function CopySubassembly ( _
subassemblyIdFrom As ObjectId _
) As AssemblyGroup |
Visual C++ |
---|
public:
AssemblyGroup^ CopySubassembly(
ObjectId subassemblyIdFrom
) |
Parameters
- subassemblyIdFrom
- Type: ObjectId
The ObjectId of the source
subassembly to be copied.
Return Value
The newly created assembly group that contains the newly created subassembly.
Exceptions
Exception | Condition |
---|
[!:System.ArgumentException] |
Thrown when the specified ObjectId is not a subassembly id, from
another data base or not in an assembly.
|
See Also