Skip to main content
Question

Vertical text in dwg export?

  • September 18, 2019
  • 5 replies
  • 27 views

krisvesweco
Contributor
Forum|alt.badge.img+4

Does anyone know which attribute (s) you have to work with if you want to be able to get to standing(vertical) text in a dwg export?

 

I have a workspace where I load text (regular text in plan) from a autocad dwg. I want to rotate the text 90 degrees around the x-axis so that it becomes upright (this so that it can be better consumed in eg Navisworks)

 

I have tried with 3D rotator which usually works but it does not seem to work for Text objects.

My workaround is the moment to use a Textstroker and then to rotate the polygon objects it creates. The polygon objects rotate just fine with the 3D rotator. However, I would like to have the vertical text as text objects rather than polygons.

I know that FME can handle vertical text objects because i tried importing a file with vertical text and export it to a new dwg, the text i still standing.

There must be a way:)

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

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • 177 replies
  • September 18, 2019

Set the attribute

autocad_rotation


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • September 18, 2019

For text you need to set the attribute "autocad_original_rotation"


krisvesweco
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 27 replies
  • September 18, 2019

Set the attribute

autocad_rotation

Thanks for your suggestion! Looking at the attribute from an imported dwg containing two text objects, one vertical and one horizontal the attribute i set to 0 for both of them so it does not seem to be this attribute. Maybe you have more information on how to set it?


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • 956 replies
  • September 19, 2019

I think the clue is to get hold of the Orientation perameter of the IFMEPoint - however I cant seem to get to change this?

 

Also the TextPropertyExtractor only extracts _text_rotation = 0 - even though its 90.


krisvesweco
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 27 replies
  • September 19, 2019

For text you need to set the attribute "autocad_original_rotation"

Thanks! How do you define which axis this attribute rotate around? When setting the attribute the text rotates, but only in planar mode. See this image.

https://www.researchgate.net/profile/Jorma_Laaksonen/publication/305684696/figure/fig1/AS:391458059243523@1470342282144/The-yaw-pitch-and-roll-angles-in-the-human-head-motion-11.png

I get the text to rotate in the yaw direction but I'm really after the pitch direction.