Copies a subassembly to the offset assembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.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

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

See Also