ChannelDesignCrossSectionCustomImportPointsFromSubassembly Method |
Import points from subassembly to custom cross section.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntaxpublic bool ImportPointsFromSubassembly(
ObjectId subassemblyId,
string linkCode
)
Public Function ImportPointsFromSubassembly (
subassemblyId As ObjectId,
linkCode As String
) As Boolean
public:
bool ImportPointsFromSubassembly(
ObjectId subassemblyId,
String^ linkCode
)
Parameters
- subassemblyId ObjectId
- The object id of a subassembly.
- linkCode String
- Link code of the subassembly.
Return Value
Boolean
Return true if import successfully, otherwise return false.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when:
- Subassembly id is not a valid subassembly id.
- The link code is null.
- The link code is not existing on the subassembly.
|
Remarks
The points imported from subassembly are ordered by x coordinate. For the y coordinate, no order process.
See Also