.NET

.NET

Reply
Active Member
david.rock
Posts: 8
Registered: ‎09-15-2011
Message 1 of 4 (253 Views)

Suppress Dialog Layer - Excess Layer Filters - Dialog Showing Event

253 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*
Alfred.NESWADBA
Posts: 8,962
Registered: ‎06-29-2007
Message 2 of 4 (250 Views)

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*
chiefbraincloud
Posts: 752
Registered: ‎02-13-2008
Message 3 of 4 (237 Views)

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
david.rock
Posts: 11
Registered: ‎04-02-2003
Message 4 of 4 (225 Views)

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

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.