AssemblyAddSubassembly(ObjectId) Method

Adds a subassembly to the assembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public AssemblyGroup AddSubassembly(
	ObjectId subassemblyId
)

Parameters

subassemblyId  ObjectId
The ObjectId of the source subassembly to be added.

Return Value

AssemblyGroup
The newly created assembly group that contains the newly added subassembly.
Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when the specified ObjectId is not a subassembly id, from another data base or already in an assembly.
See Also