Skip to main content
Question

DGN writing custom linestyle

  • Jun 21, 2019 5:48 PM UTC
  • 5 replies
  • 126 views

Hi there,

 

I'm working on a workbench where I write DGN V8 data. I would want to use a custom linestyle from my seed file but it does not seem to work. What I do is I use an attributeCreator to create the attribute igds_style and I try to assign the custom linestyle value but I don't know what it's supposed to be. From the documentation, it is said that igds_style takes negative integer to represent custom linestyle.

My question would be how to know which number is assigned to my custom linestlye?

Also , do you have an other idea as to how to write my custom linestyle ?

 

Thanks in advance !

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Jun 21, 2019 5:58 PM UTC

It seems to me there should be a better way, but the only way I found was to draw a line with the custom linestyle, read that line in and see what number had been assigned to the feature


  • Author
  • Jun 21, 2019 6:52 PM UTC

It seems to me there should be a better way, but the only way I found was to draw a line with the custom linestyle, read that line in and see what number had been assigned to the feature

How do you read it ?

Because when I draw a custom linestyle and I do 'info' on it, it display the name of the custom line for example : ( Dot ), but it does not show what number is assigned to the custom linestyle.


ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Jun 21, 2019 7:05 PM UTC

How do you read it ?

Because when I draw a custom linestyle and I do 'info' on it, it display the name of the custom line for example : ( Dot ), but it does not show what number is assigned to the custom linestyle.

You need to read it into FME, and expose the igds attribute which is stored as the negative integer


  • Author
  • Jun 21, 2019 7:09 PM UTC

You need to read it into FME, and expose the igds attribute which is stored as the negative integer

Oh I see, gonna try next week when I get to work. Thank You for the responses


  • Author
  • Jun 25, 2019 11:53 AM UTC

You need to read it into FME, and expose the igds attribute which is stored as the negative integer

It works , thank you again