Share

Alignment.CopyToSite(ObjectId) Method

Copies the Alignment to another specified Site. Specifying ObjectId.Null to copy it to siteless. Calling this method copies all children profiles, profile views and sample line group with this alignment as well.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public void CopyToSite(
	ObjectId siteId
)

VB

Public Sub CopyToSite ( 
	siteId As ObjectId
)

C++

public:
void CopyToSite(
	ObjectId siteId
)

Parameters

siteId  ObjectId
The destination site ObjectId.

Exceptions

ExceptionCondition
ArgumentException Thrown when the Site ObjectId is invalid.

See Also

Reference

Was this information helpful?