Message 1 of 4
Get Pipe and Structure Tables via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It does seem that there is no way to get the Pipe and Structure Table via API? Let alone creating one via C#. Alas some other tables are available though, eg:
[CommandMethod(nameof(GetTables))]
public void GetTables()
{
var doc = CivilApplication.ActiveDocument;
// the below code works
GetAllTables(doc.GetAlignmentTableIds());
GetAllTables(doc.GetLegendTableIds());
GetAllTables(doc.GetParcelSegmentTableIds());
GetAllTables(doc.GetParcelTableIds());
GetAllTables(doc.GetPointTableIds());
}
private static void GetAllTables(ObjectIdCollection tableIDs)
{
foreach (ObjectId alignmentTableId in tableIDs)
{
}
}
Do I miss anything?
##########
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D