CivilDocumentGetAlignmentIds Method |
Gets the objectId collection of all Alignment objects in the drawing.
Namespace: Autodesk.Civil.ApplicationServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectIdCollection GetAlignmentIds()
Public Function GetAlignmentIds As ObjectIdCollection
public:
ObjectIdCollection^ GetAlignmentIds()
Return Value
ObjectIdCollection
Remarks
The collection returned by this method includes both site and siteless alignments.
Example1
2ObjectId alignID = doc.GetAlignmentIds()[0];
3Alignment oAlignment = ts.GetObject(alignID, OpenMode.ForRead) as Alignment;
See Also