Move FeatureLine to another Site.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static void MoveToSite( ObjectId featureLineId, ObjectId destinationSiteId )
VB
Public Shared Sub MoveToSite ( featureLineId As ObjectId, destinationSiteId As ObjectId )
C++
public: static void MoveToSite( ObjectId featureLineId, ObjectId destinationSiteId )
Parameters
- featureLineId ObjectId
- The ObjectId of FeatureLine to be moved.
- destinationSiteId ObjectId
- The ObjectId of destination Site.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when: 1. featureLineId is not an ObjectId of Autodesk.Civil.DatabaseServices.FeatureLine. 2. destinateionSiteId is not an ObjectId of Site. |