Skip to main content
Solved

Why are block unrotated when converted from dgn (Microstation) to dwg (Autocad)?

  • March 16, 2023
  • 3 replies
  • 70 views

joy
Enthusiast
Forum|alt.badge.img+15
  • Enthusiast
  • 88 replies

Hello everyone,

I am trying to convert dgn (Microstation) to dwg (Autocad), but for some reason the blocks are in my dwg unrotated. In Microstation those are called cells. Does anyone know how I can get the cells rotated in the dwg file? The igds_rotation attribute does show the rotation values in case of Microstation (see below for some example values)and I read somewhere online that the attribute name that holds the rotation value in case of autocad was 50. I could be wrong though. In the output (dwg) the cells are unrotated. It might thus be due to the fact that I stored the rotation value for autocad under the wrong name.

 

afbeeldingafbeelding

Best answer by joy

If you map igds_rotation to autocad_rotation (using an AttributeManager for example), does that work?

I found the solution.

I defined the autocad_rotation in the DWGStyler instead of the Attributemanager and then it worked.

I have no idea why it works in the DWGSyler, but not with the AttributeManager.

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.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • March 16, 2023

If you map igds_rotation to autocad_rotation (using an AttributeManager for example), does that work?


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • 88 replies
  • March 17, 2023

If you map igds_rotation to autocad_rotation (using an AttributeManager for example), does that work?

Unfortunately it still doesn't work

I saw that someone had a similar problem and an employee at SAFE suggested the following transformer : ReprojectAngleCalculator

However, I have really no clue how to use the ReprojectAngleCalculator and if this might solve the problem

afbeeldingafbeelding 


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • 88 replies
  • Best Answer
  • March 22, 2023

If you map igds_rotation to autocad_rotation (using an AttributeManager for example), does that work?

I found the solution.

I defined the autocad_rotation in the DWGStyler instead of the Attributemanager and then it worked.

I have no idea why it works in the DWGSyler, but not with the AttributeManager.