[ORD SDK] How to differentiate Corridors and Linear Templates?

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...

    Regards,

    Mark


    OpenRoads Designer 2021 R2 (10.10)  |  Microstation CE Update 16.3 |  ProjectWise CE 3.4