Hi all,
Does anyone know of a practical way to differentiate a Corridor from a Linear Template using the SDK? Doing things like identifying if it has more than one template drop, etc. doesn't cover all situations.
Regards,
Mark
The best I seem to be able to come up with so far is to use these checks:
Corridor.Element.Description.StartsWith("Corridor") or Corridor.Element.Description.StartsWith("Linear Template").
Not the best but works - hopefully something a bit better available somewhere in the SDK...
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
Mark,
If you look at the EC properties for a corridor or linear template, the property IconName will be
Civil_Corridor_Create for a Corridor
Civil_Corridor_TemplateSingle for a Linear Template
Andrew