Copies the Alignment to a 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.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public void CopyToSite(
ObjectId siteId
)Visual Basic
Public Sub CopyToSite ( _
siteId As ObjectId _
)Visual C++
public:
void CopyToSite(
ObjectId siteId
)Parameters
- siteId
- Type: ObjectId
The destination site ObjectId.
Exceptions
| Exception | Condition |
|---|---|
| System.ArgumentException | Thrown when the Site ObjectId is invalid. |