OffsetAssemblyInsertSubassemblyAfter Method |
Inserts an unassigned subassembly after a subassembly in the offset assembly and hooks to the specified point.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void InsertSubassemblyAfter(
ObjectId subassemblyId,
Point pointHookTo
)
Public Sub InsertSubassemblyAfter (
subassemblyId As ObjectId,
pointHookTo As Point
)
public:
void InsertSubassemblyAfter(
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 inserted is not an unassigned subassembly id, or from another data base.
- The specified point is not a point of the subassembly in the offset assembly.
|
Remarks
This method also can be used to insert a subassembly after the subassembly to which no subassembly is hooked.
See Also