Share

Alignment.GetProfileIds Method

Gets the ObjectIdCollection of all profiles belonging to this Alignment.



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

Syntax

C#

public ObjectIdCollection GetProfileIds()

VB

Public Function GetProfileIds As ObjectIdCollection

C++

public:
ObjectIdCollection^ GetProfileIds()

Return Value

ObjectIdCollection

Example

1Profile oProfile = ts.GetObject(oAlignment.GetProfileIds()[0], OpenMode.ForWrite) as Profile;
2
3// check to make sure we have a profile:
4if (oProfile == null)
5{
6    ed.WriteMessage("Must have at least one alignment with one profile");
7    return;
8}

See Also

Reference

Was this information helpful?