AssemblyAddSubassembly(ObjectId, Point) Method |
Adds a subassembly to the assembly and hooks to the specified point
of a subassembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void AddSubassembly(
ObjectId subassemblyId,
Point pointHookTo
)
Public Sub AddSubassembly (
subassemblyId As ObjectId,
pointHookTo As Point
)
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.
ExceptionsException | Condition |
---|
[!: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