Skip to main content
Question

rotate a Autocad block so that the attributes rotate about the insertion point of the block

  • December 2, 2021
  • 3 replies
  • 170 views

Hello

I have a DWG with blocks, when i use autocad_rotation the attributes are NOT rotated.

Is it possible to roate also the attributes?

Have a good day.

 

3 replies

  • Author
  • 1 reply
  • December 5, 2021

no answer?


JennaKAtSafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 192 replies
  • December 6, 2021

Hi @alfred​, are you reprojecting the data as well? If so you might need to reproject the rotation angle as well. To check this try adding a Tester to test for fme_rotation and autocad_rotation having values. If they do, reproject them with ReprojectAngleCalculator transformers. Also, are you writing to a template .dwg or creating a new one?


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

Hi @alfred​, are you reprojecting the data as well? If so you might need to reproject the rotation angle as well. To check this try adding a Tester to test for fme_rotation and autocad_rotation having values. If they do, reproject them with ReprojectAngleCalculator transformers. Also, are you writing to a template .dwg or creating a new one?

Hi @jennaatsafe​ 

I was trying out the transformer, but I have really no idea what to fill in for the Original Line Length.

I am converting from (cells) dgn to (blocks) dwg and the blocks are unrotated. I tried autocad_rotation, but that didn't work unfortunately. So I thougt that I wanted to try out ReprojectAngleCalculator . However I have no idea how to go about it. Do you maybe an idea which autocad_attribute I would need to fill in for the orignial line length? I am not sure, but I think the other attributes are filled in correctly.

afbeelding.png