span8
span4
span8
span4
Hi
i want to reproject a DWG with dimensions and write to a new DWG.(RealDWG)
I use the CsmapReprojector and the Data Inspector Shows that all coordinates are reprojected,but in the DWG the dimensions remain at the old coordinates.Polygon is projected and written to the new coordinates,as it should be.
Does anybody know why?Did i forgot any Option on writing?
Template is attached.
Workspace is FME 2017.1 but 2018 produces the same result.
Thanks
Hi@hansgm,
Some dimensions in AutoCAD have a text override set on them,usually to force the dimension to a limited number of decimal places.
This override is carried through the FME conversion,preventing the reprojected dimension from showing the new distance.You can fix this by exposing and removing the attribute 'autocad_orig_dim_text'.
When writing back to DWG,dimension features are controlled more by a set of feature attributes rather than the geometry,so the reprojection may not be effective.Instead,you will need to use CsmapAttributeReprojectors to reproject the following attribute pairs:
autocad_alignment_x,autocad_alignment_y
autocad_defpt2.x,autocad_defpt2.y
autocad_defpt3.x,autocad_defpt3.y
autocad_defpt4.x ,autocad_defpt4.y
autocad_line_defpoint.x ,autocad_line_defpoint.y
autocad_text_midpoint.x,autocad_text_midpoint.y
autocad_text_x_pos,autocad_text_y_pos
I am attaching an updated workspace with these changes made for you.
© 2019 亚搏在线Safe Software Inc |Legal