Question

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


Badge

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

Badge +2

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

Badge +3

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.

Badge +3

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

Badge +5

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.

Reply