Can you featurise a corridor using code c#

Hi there,

I am trying to featurise a newly created corridor which I have created using code in c#. I want to featurise it however I am unsure how to do it. I have added

newCorridor.FeatureName = "Name";

but this still shows up as NotFeatured in the Open Roads dgn.

Any idea how can I acheive this?

Thanks

Parents Reply
  • I wont be able to have a feature definition on the corridor?

    The Bentley Civil products use MicroStation as a platform.  That is, anything you can do with MicroStation you can also do with, in your case, OpenRoads Designer (ORD).

    I hope I'm correct in stating that the ORD SDK builds on top of MicroStation's SDK.  However, only the ORD SDK comprehends the objects (corridor, feature definition) that interest you.

    The MicroStation SDK will be useful when, for example, you want to enumerate a DGN model to find DGN elements.  But only the ORD SDK can help you determine that a DGN element is an ORD corridor.  Once you have an ORD corridor, then the ORD SDK should be able to help you attach an ORD feature defintion to that corridor.

     
    Regards, Jon Summers
    LA Solutions

Children
No Data