Skip to main content
Question

Dwg looks different after clipping

  • November 12, 2020
  • 10 replies
  • 31 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

Hi all,

I have a huge dwg file I am clipping them by some grid. However my output get more textes than original dwg as you see in the images. I am not familiar with cad datasets. I believe it causes some sort of visibility? How can I make sure that my output is as same as the output?

Thx in advance.

oDsdl0eAeQ

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.

10 replies

david_r
Celebrity
  • November 12, 2020

First thing to check is that none of the autocad_* format attributes are getting lost before they reach the writer.

Also, which exactly of the dwg readers/writers are you using? There are several, e.g. ACAD, REALDWG, etc.


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • November 12, 2020

First thing to check is that none of the autocad_* format attributes are getting lost before they reach the writer.

Also, which exactly of the dwg readers/writers are you using? There are several, e.g. ACAD, REALDWG, etc.

@david_r​  I am useding Autodesk AutoCAD DWG/DXF for both writer & reader


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • November 12, 2020

@david_r​ 

which attributes should be selected? As you can see in the image, I am not only gaining my text but it seems I am losing the line style :/PVnsfZD0Ke


nielsgerrits
VIP
Forum|alt.badge.img+62

I believe FME can't write Layer properties or linestyles. You might have more luck using the source file as template (define in Writer). FME then copies the template and inserts you geometry in it. I think you can just use the same file, in the writer settings set "Preserve Model Space Data" to "No".


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • November 12, 2020

In my experience working with CAD data there are often lots of extra steps that need to be taken to produce output that resembles the input. It's not a as simple as reading data, clipping and writing out again. DWGs are marginally better than DGNs in this respect. But getting the right output has been mostly trial and error so it's hard to advise exactly what to try.

 

If you expose all autocad attributes and view one of the cross hairs that's now labelled (153/154 etc.) can you see anything there that specifies visibility/labelling?


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • November 12, 2020

In my experience working with CAD data there are often lots of extra steps that need to be taken to produce output that resembles the input. It's not a as simple as reading data, clipping and writing out again. DWGs are marginally better than DGNs in this respect. But getting the right output has been mostly trial and error so it's hard to advise exactly what to try.

 

If you expose all autocad attributes and view one of the cross hairs that's now labelled (153/154 etc.) can you see anything there that specifies visibility/labelling?

You mean like this?

XmShNMBfxt


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • November 12, 2020

No, inspect them within FME with the DataInspector before writing


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • November 12, 2020

I believe FME can't write Layer properties or linestyles. You might have more luck using the source file as template (define in Writer). FME then copies the template and inserts you geometry in it. I think you can just use the same file, in the writer settings set "Preserve Model Space Data" to "No".

It helped for the text but the rotations of the textes have been changed @nielsgerrits​ 

d6ATfOVKxG


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • November 12, 2020

It helped for the text but the rotations of the textes have been changed @nielsgerrits​ 

d6ATfOVKxG

Do you have an attribute called autocad_original_rotation? There's something to do with the attribute autocad_rotation not actually setting the rotation in autocad


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • November 12, 2020

No, inspect them within FME with the DataInspector before writing

Ah sorry.. Here you go. GnVPnM1Uec