Skip to main content
Question

Dwg looks different after clipping


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

10 replies

david_r
Evangelist
  • 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
david_r wrote:

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+54

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+32
  • 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
ebygomm wrote:

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+32
  • 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
nielsgerrits wrote:

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+32
  • Influencer
  • November 12, 2020
jugoslaviaa wrote:

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
ebygomm wrote:

No, inspect them within FME with the DataInspector before writing

Ah sorry.. Here you go. GnVPnM1Uec


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