Move FeatureLine to another Site.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.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

ExceptionCondition
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