Skip to main content
Solved

How do I translate Smallworld 4.22 linears into microstation custom line styles


Forum|alt.badge.img

In a previous question I asked how to translate a custom line style from one Microstation file to another and the answer was add the lines with the custom styles to the seed file save it delete the lines and don't compress. It worked brilliantly. Now I need to translate from Smallworld into Microstation and have a chain that I am translating from Smallworld use a custom line style in Microstation. I tried using the same seed file as before and the same methodology or at least as close as I could when creating the fmw file and it did not work.

I guess the question is, can I create a line in Microstation using a custom line style from a Smallworld chain object? and if so how?

Any help would be appretiated

Thanks

Robyn

Best answer by robyn_studts

Thank you so much for the input. I had tried the negative but it did not seem to work, however while using the inspector I noticed that the igds_style_name and the igds_style(32 t integer) were different. The integer has a negative and the number was not the same as the style number. I tried the integer number and it worked. I also looked at line styles that were names and the integer number was the one I needed to use. So THANK YOU THANK YOU!!

View original
Did this help you find an answer to your question?

5 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 19, 2017

You need to do two things:

Add the custom line style to the SEED file (you did this part).

Define the custom line style on the object (line) before writing.

This is described in this article: Custom line styles


Forum|alt.badge.img

Thanks for the information. I did everything that the document suggested, however it still did not work. I am guessing that it is how I am setting the igds_style in the workspace.


itay
Contributor
Forum|alt.badge.img+16
  • Contributor
  • January 23, 2017
robyn_studts wrote:

Thanks for the information. I did everything that the document suggested, however it still did not work. I am guessing that it is how I am setting the igds_style in the workspace. 

0684Q00000ArKeRQAV.png

 

Not sure but can  it be that you are using the wrong value? (positive value)

 

"There is also an 
igds_style
 attribute that stores custom line style name ID (negative integer)."

 

 


Forum|alt.badge.img
  • Author
  • Best Answer
  • February 14, 2017

Thank you so much for the input. I had tried the negative but it did not seem to work, however while using the inspector I noticed that the igds_style_name and the igds_style(32 t integer) were different. The integer has a negative and the number was not the same as the style number. I tried the integer number and it worked. I also looked at line styles that were names and the integer number was the one I needed to use. So THANK YOU THANK YOU!!


itay
Contributor
Forum|alt.badge.img+16
  • Contributor
  • February 14, 2017
robyn_studts wrote:

Thank you so much for the input. I had tried the negative but it did not seem to work, however while using the inspector I noticed that the igds_style_name and the igds_style(32 t integer) were different. The integer has a negative and the number was not the same as the style number. I tried the integer number and it worked. I also looked at line styles that were names and the integer number was the one I needed to use. So THANK YOU THANK YOU!!

Glad I could help.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings