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