Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I avoid filter dialog in a script?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
293 Views, 1 Reply

Can I avoid filter dialog in a script?

I have the following script, which I'm using to prepare a drawing for
import into our desktop publishing system.

;---- Start script ----
modemacro 3... 2... 1...
qaflags 1
explode 'filter all


modemacro Kaboom!
;---- End script ----

The script, when coupled with the correct filter, explodes all leaders
and all hatch patterns except "SOLID". My problem is that the 'filter
command brings up the filter dialog, where the user needs to choose the
correct filter. I'd like to be able to run the script in hands-off
mode, but I can find no way to specify the name of the filter to use on
the command line.

My ultimate goal to to use this script together with a script generator
like Multi-Batch or Hurricane to automate the conversion of a large
number of files. But the best I can do right now is to have the user
hit "Apply" in the filter dialog box once for each file.

We are using AutoCAD LT 2002 on a Wintel PC with Windows NT 4.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: SNorton@DTIHQ.com
Arlington, VA 22206-2768 or Norton@ACM.org
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Dialog boxes do not respond to Script or toolbar button Macro
commands, and there is no other choice in LT out of the box. Only Full
AutoCAD is designed for that level of customization and entity access.

--
Dean Saadallah
www.pendean.com
--


"Scott Norton" wrote in message
news:3C8CF52B.28DFF096@DTIHQ.com...
> I have the following script, which I'm using to prepare a drawing for
> import into our desktop publishing system.
>
> ;---- Start script ----
> modemacro 3... 2... 1...
> qaflags 1
> explode 'filter all
>
>
> modemacro Kaboom!
> ;---- End script ----
>
> The script, when coupled with the correct filter, explodes all leaders
> and all hatch patterns except "SOLID". My problem is that the 'filter
> command brings up the filter dialog, where the user needs to choose the
> correct filter. I'd like to be able to run the script in hands-off
> mode, but I can find no way to specify the name of the filter to use on
> the command line.
>
> My ultimate goal to to use this script together with a script generator
> like Multi-Batch or Hurricane to automate the conversion of a large
> number of files. But the best I can do right now is to have the user
> hit "Apply" in the filter dialog box once for each file.
>
> We are using AutoCAD LT 2002 on a Wintel PC with Windows NT 4.
> --
> Scott Norton Phone: +1-703-299-1656
> DTI Associates, Inc. Fax: +1-703-706-0476
> 2920 South Glebe Road Internet: SNorton@DTIHQ.com
> Arlington, VA 22206-2768 or Norton@ACM.org

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report