Adds a subassembly to the offset assembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public AssemblyGroup AddSubassembly(
	ObjectId subassemblyId
)
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

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified ObjectId is not a subassembly id, from another data base or already in an assembly.

See Also