.NET

.NET

Reply
Contributor
12 Posts
0 Kudos
Registered: ‎09-15-2011
Post 1 of 4

Suppress Dialog Layer - Excess Layer Filters - Dialog Showing Event

296 Views, 3 Replies
04-30-2012 04:41 AM

Hello,



Any ideas how I can suppress the dialog "Layer - Excess Layer Filters". I am running a script across hundreds of drawings and many of the drawings launch this dialog. There is no option of always do this option. So I was hoping to find a dialog showing event. Similar to the one in the Revit api.



I know how to erase the layer filters. I am looking to suppress the dialog.



Thanks very much

David

 

 

*Expert Elite*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 2 of 4

Re: Suppress Dialog Layer - Excess Layer Filters - Dialog Showing Event

04-30-2012 05:13 AM in reply to: david.rock

Hi,

 

>> I am looking to suppress the dialog.
If you start the command with a leading dash, then the layerdialog will not appear:
_-LAYER

HTH,

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
753 Posts
54 Kudos
Registered: ‎02-13-2008
Post 3 of 4

Re: Suppress Dialog Layer - Excess Layer Filters - Dialog Showing Event

04-30-2012 09:16 AM in reply to: david.rock

I don't know about an event, but since you say you are scripting, you can set LAYERFILTERALERT to 0 for no action, or 1, to automatically delete layer filters without prompting.

Dave O.                                                                  Sig-Logos32.png
Contributor
11 Posts
0 Kudos
Registered: ‎04-02-2003
Post 4 of 4

Re: Suppress Dialog Layer - Excess Layer Filters - Dialog Showing Event

04-30-2012 01:57 PM in reply to: chiefbraincloud

Excelent, I didn't know the variable LAYERFILTERALER existed.

 

Thanks very much

David

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!