Share

Assembly.AddSubassembly(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.7.0.1276

Syntax

C#

public void AddSubassembly(
	ObjectId subassemblyId,
	Point pointHookTo
)

VB

Public Sub AddSubassembly ( 
	subassemblyId As ObjectId,
	pointHookTo As Point
)

C++

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

Reference

Was this information helpful?