Gets the objectId collection of all Alignment objects in the drawing.
public ObjectIdCollection GetAlignmentIds()
Public Function GetAlignmentIds As ObjectIdCollection
public: ObjectIdCollection^ GetAlignmentIds()
1// get first profile of first alignment in document 2ObjectId alignID = doc.GetAlignmentIds()[0]; 3Alignment oAlignment = ts.GetObject(alignID, OpenMode.ForRead) as Alignment;