Skip to main content
Question

Vertical text in dwg export?

  • September 18, 2019
  • 5 replies
  • 7 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:)

5 replies

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

Set the attribute

autocad_rotation


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • September 18, 2019

For text you need to set the attribute "autocad_original_rotation"


krisvesweco
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 18, 2019
tomfriedl wrote:

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
Contributor
Forum|alt.badge.img+24
  • Contributor
  • 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
  • September 19, 2019
ebygomm wrote:

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.


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