Skip to main content
Question

How to define the rotation angle of annotation? (SHP to CAD)


Forum|alt.badge.img

Hello,

(FME 2014) I have a shp containing the annotations of my project. 4 attributs:

- gid / text / rotation / police

I am using labelPointReplacer and then DWG Styler to convert the shp in DWG.

Though I've declared wich attribute to use for the rotation of the text, the annotations remain

oriented to 90° .

I am sure I'm doing it wrong, so any suggestions? :)

4 replies

pratap
Contributor
Forum|alt.badge.img+11
  • Contributor
  • June 8, 2016

Hi,

Since you are translating from shape is there any need to select Multi-Text?

I suggest to

1. check it once with text option

2. define the rotation through autocad_rotation attribute instead dwgstyler

3. check whether UCS is rotated in autocad


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 8, 2016

Aren't annotations stored in (geo)databases (not in shapefiles)?

When you create an annotation layer you store it in a (geo)databse. (storing inside the map won't make it accesible ..afaik..i did try, i admit)

It is also possible to use a tool called FeatureOutlineMask to get the approximate ..outline of the annotations.

Or create a boundingbox to get a insertion point.

Shaperader does not read annotation (afaik) as these are not in the shapefile.

If you are reading a shapefile, you are reading the features. In wich case you have to estimate or calculate a tekst insertionpoint for you labels.

You can read the default.gdb with fme. Wich is in your home\\documents\\ArcGis folder.

Any annotationlayer you created is easily selected. There is full info on the annotation in there.

I the text was rotated before the angle is the info.

rename rotation to autocad_rotation

Expose the autocad_rotation attribute on the writer.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 8, 2016

if you did not store it in default.gddb, then ofcourse extract it from wichever one you store it in...


Forum|alt.badge.img+5
pratap wrote:

Hi,

Since you are translating from shape is there any need to select Multi-Text?

I suggest to

1. check it once with text option

2. define the rotation through autocad_rotation attribute instead dwgstyler

3. check whether UCS is rotated in autocad

I agree. Also try setting rotation with autocad_original_rotation, instead of autocad_rotation, as that might have an effect when there is a UCS being applied.


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