Skip to main content
Question

Writing to AutoCAD DWG - set layer visibilty to "off"

  • November 15, 2013
  • 9 replies
  • 79 views

Forum|alt.badge.img
Hi

 

 

Does anyone know how I can set a specific DWG layer visibility to be "off" by default? I have 100's of layers and would like to set some to be "on" and some to be "off".

 

 

I can "freeze", "hide" or "lock" the layer via the format parameters section for the feature type properties - is their a way to switch visibility off?

 

 

Thanks,

 

 

Mike 
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.

9 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 15, 2013
Hi,

 

How about Layer On: no (also in the writer feature type properties)?

 

 

Itay

Forum|alt.badge.img
  • Author
  • November 15, 2013
Hi

 

 

The only options I have are:

 

 

 

Default Layer color

 

 

Default Layer Linetype

 

 

Layer Frozen

 

 

Layer Hidden

 

 

Layer Locked

 

 

Am I looking in the right place?

 

 


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 15, 2013
Possibly a different FME build I am working with FME 2013 SP4 Build 13545.

 

 

Yes you are.

 

 

Itay

Forum|alt.badge.img
  • Author
  • November 15, 2013
I'm on 2013 - build 13264

 

 

If you can definitely see the "Layer on" option I'll have to look into getting the service packs installed.

 

 

Thanks.

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 15, 2013
you can try to manipulate the autocad_layer_on

 

 


Forum|alt.badge.img
  • Author
  • November 15, 2013
Hi Itay

 

 

I Installed SP4 and the option is still not there.

 

 

So I've tried the other method - but it doesn't seem to be working. I'm relatively new to FME so may be making a mistake - but I added the following to my mapping file header:

 

 

REALDWG_1_DEF Building_Area \\ autocad_color 41 \\ autocad_linetype CONTINUOUS \\       autocad_layer_on no

 

 

Any ideas?

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 15, 2013
Hi Mike,

 

 

This is strange since I see the option in all but one Autocad writer (Autodesk AutoCAD DWF)

 

 

https://www.dropbox.com/s/i7gxrevahvw9ibc/Autodesk%20AutoCAD%20DWG_DXF%20writer%20feature%20type%20parameters.JPG

 

 

The only other way I can think of is by using a template file.

 

 

Itay

Forum|alt.badge.img
  • Author
  • November 18, 2013
Right, found the problem.

 

 

The option was not available when I originaly created the dwg layers in FME 2013 - so these layers were not offering the switch even when loaded up in the new FME version.

 

 

When I now create a new writer DWG layer with 2013 SP4 the option is available.

 

 

So I transfered all the layers to the new Writer and the option is available.

 

 

All sorted!!

 

 

Thanks Itay.

 

 

Mike

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • November 18, 2013
Good to know, glad I could be of assistance.

 

 

Itay