Skip to main content
Solved

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


joy
Supporter
Forum|alt.badge.img+14
  • Supporter

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

redgeographics wrote:

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.

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

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+48

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


joy
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • March 17, 2023
redgeographics wrote:

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
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • Best Answer
  • March 22, 2023
redgeographics wrote:

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.


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