AlignmentGetProfileIds Method |
Gets the ObjectIdCollection of all profiles belonging to this Alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic ObjectIdCollection GetProfileIds()
Public Function GetProfileIds As ObjectIdCollection
public:
ObjectIdCollection^ GetProfileIds()
Return Value
ObjectIdCollection
Example1Profile oProfile = ts.GetObject(oAlignment.GetProfileIds()[0], OpenMode.ForWrite) as Profile;
2
3
4if (oProfile == null)
5{
6 ed.WriteMessage("Must have at least one alignment with one profile");
7 return;
8}
See Also