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