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
  • Thanks Jon for the reply. I am using OpenRoades Designer CE - 2021 Release 1 - Version 10.16.00.80 Windows x64, using RealDWG 2021.

    When I say I have created a corridor - I mean using c# I have used the sdk to create a new corridor and manually I can featurise it however I want to achieve this using the code in c#.

    So basically I want to add a feature definition to a corridor via the code(using sdk methods).

    In the image 1 it says Not Featurized however in image 2 I can go and select the feature which results in image 3.

    1.

    2.

    3.

    3

    Images attached for reference. 

    Thanks.

Reply
  • Thanks Jon for the reply. I am using OpenRoades Designer CE - 2021 Release 1 - Version 10.16.00.80 Windows x64, using RealDWG 2021.

    When I say I have created a corridor - I mean using c# I have used the sdk to create a new corridor and manually I can featurise it however I want to achieve this using the code in c#.

    So basically I want to add a feature definition to a corridor via the code(using sdk methods).

    In the image 1 it says Not Featurized however in image 2 I can go and select the feature which results in image 3.

    1.

    2.

    3.

    3

    Images attached for reference. 

    Thanks.

Children