Discussion:
Some commands don't run command-line !!!
(too old to reply)
Mihai Popescu
2006-11-26 16:21:43 UTC
Permalink
I'm using Intellicad 2001 by CADopia and I realized that some
commands doesn't have a command line based running environment. I wrote
some small programs in AutoLISP and the execution halts when a modal
dialog is displayed.
eg.: style, mtext, insert browse

How can I get rid of the windows ?

I know that in AutoCAD the user can select between commands with
dialogs and those without. If you don't want to see any dialogs you
just prefix your command with -. IntelliCAD make no distinction.

Maybe there is an advanced method in AutoLISP which can send to the
window the information needed.

How can I send information to a command dialog from an AutoLISP
application ?
CW
2006-11-26 23:11:13 UTC
Permalink
I don't know a thing about LISP but, the - works in Intellicad 6.2. Think
maybe it's upgrade time? There are many improvements that make the upgrade
worthwhile.
Post by Mihai Popescu
I'm using Intellicad 2001 by CADopia and I realized that some
some small programs in AutoLISP and the execution halts when a modal
dialog is displayed.
eg.: style, mtext, insert browse
How can I get rid of the windows ?
I know that in AutoCAD the user can select between commands with
dialogs and those without. If you don't want to see any dialogs you
just prefix your command with -. IntelliCAD make no distinction.
Maybe there is an advanced method in AutoLISP which can send to the
window the information needed.
How can I send information to a command dialog from an AutoLISP
application ?
jg
2006-11-27 00:33:11 UTC
Permalink
It works on most cases but not all for me. Using Bricscad v7 but not much
has ever changed in this regard. In some cases it works (or is simpler) to
apply it to the alias for the command. Mtext has to be added to the database
if you want to create it through lisp, and I can't do it off hand without a
lot of experiment and "research". In any case I get what I want and can't
think of an instance right now, of a routine failed because of an inability
to access the command line instance of a command (if that makes sense). But
hey if Acad works better for you............
Post by CW
I don't know a thing about LISP but, the - works in Intellicad 6.2. Think
maybe it's upgrade time? There are many improvements that make the upgrade
worthwhile.
Post by Mihai Popescu
I'm using Intellicad 2001 by CADopia and I realized that some
some small programs in AutoLISP and the execution halts when a modal
dialog is displayed.
eg.: style, mtext, insert browse
How can I get rid of the windows ?
I know that in AutoCAD the user can select between commands with
dialogs and those without. If you don't want to see any dialogs you
just prefix your command with -. IntelliCAD make no distinction.
Maybe there is an advanced method in AutoLISP which can send to the
window the information needed.
How can I send information to a command dialog from an AutoLISP
application ?
Karlheinz Boehme
2006-11-27 15:14:34 UTC
Permalink
Post by Mihai Popescu
I'm using Intellicad 2001 by CADopia and I realized that some
some small programs in AutoLISP and the execution halts when a modal
dialog is displayed.
eg.: style, mtext, insert browse
How can I get rid of the windows ?
I know that in AutoCAD the user can select between commands with
dialogs and those without. If you don't want to see any dialogs you
just prefix your command with -. IntelliCAD make no distinction.
I only know BricsCad, but I don't think the differences are too
big. For some commands, it is sufficient to set the lisp variables
CMDDIA and FILEDIA to zero before executing the command (i.e.
the "menu" command). Besides this it is very handy to set EXPERT to
5 when running lisp programs.

HTH
Karlheinz
--
design idiotproof software, and evolution will design a better idiot.
Continue reading on narkive:
Loading...