AssemblyAddSubassembly(ObjectId, Point) Method

Adds a subassembly to the assembly and hooks to the specified point of a subassembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void AddSubassembly(
	ObjectId subassemblyId,
	Point pointHookTo
)

Parameters

subassemblyId  ObjectId
The ObjectId of the source subassembly to be added.
pointHookTo  Point
The point to be hooked to.
Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when:
  • The specified ObjectId to be added is not a subassembly id, from another data base or already in an assembly.
  • The specified point is not a point of the subassembly in the assembly.
See Also