Adds a subassembly to the assembly.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public AssemblyGroup AddSubassembly( ObjectId subassemblyId )
VB
Public Function AddSubassembly ( subassemblyId As ObjectId ) As AssemblyGroup
C++
public: AssemblyGroup^ AddSubassembly( ObjectId subassemblyId )
Parameters
- subassemblyId ObjectId
- The ObjectId of the source subassembly to be added.
Return Value
AssemblyGroupThe 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. |