ajs
29th Oct 2007, 02:25 pm
Hello,
Newbie here---I'm trying to write a script that performs selection using one of these four combinations:
1) Line and color
2) Text and color
3) Polyline and color
4) Text rotation
(I can get away without text rotation but not the first three)
The 'filter command works fine for this but a script (in 2004 anyway) cannot navigate a dialog box.
Doe anyone have any ideas on how to structure a selection using the command line only?
I searched on the web and from what I can tell, in versions prior to 2000, there used to be alternate commands to bypass the dialog box.
Are there "legacy" commands that still work with 2004 that I could use and if so, where would I find them?
I am transferring to Autocad from another program and over the years I have developed many selection scripts and I tend to approach problems (especially 3rd party dxf import/export problems) by using automated selection
If it is possible to automate these type of selections LISP I'd be happy to take a crack at that.
This response from Autodesk however gives me pause:
Re: Navigate through a dialog box via Lisp
As far as I know, you can not drive a dialog box through LISP, so unless there is a Command: line equivalent or this is exposed in Active X [and therefore in VLSIP], you will need to use another customization language.
Thanks so much for looking at this for me: I am transferring to Autocad from another program and over the years I have developed many selection scripts and I tend to approach problems (especially 3rd party dxf import/export problems) by using automated selection so understanding this will really help move me along
---Tony
Newbie here---I'm trying to write a script that performs selection using one of these four combinations:
1) Line and color
2) Text and color
3) Polyline and color
4) Text rotation
(I can get away without text rotation but not the first three)
The 'filter command works fine for this but a script (in 2004 anyway) cannot navigate a dialog box.
Doe anyone have any ideas on how to structure a selection using the command line only?
I searched on the web and from what I can tell, in versions prior to 2000, there used to be alternate commands to bypass the dialog box.
Are there "legacy" commands that still work with 2004 that I could use and if so, where would I find them?
I am transferring to Autocad from another program and over the years I have developed many selection scripts and I tend to approach problems (especially 3rd party dxf import/export problems) by using automated selection
If it is possible to automate these type of selections LISP I'd be happy to take a crack at that.
This response from Autodesk however gives me pause:
Re: Navigate through a dialog box via Lisp
As far as I know, you can not drive a dialog box through LISP, so unless there is a Command: line equivalent or this is exposed in Active X [and therefore in VLSIP], you will need to use another customization language.
Thanks so much for looking at this for me: I am transferring to Autocad from another program and over the years I have developed many selection scripts and I tend to approach problems (especially 3rd party dxf import/export problems) by using automated selection so understanding this will really help move me along
---Tony