Guest
|
Posted:
Wed Apr 13, 2005 11:42 am Post subject:
command line parameter for ADS function. |
|
|
Hi EB,
Can anybody please tell me that, is there any way to pass the command
line parameter to an ADS function. What I mean by this is, suppose I
have an ADS function called "MyCircle()" to draw a circle. I can
directly call this function from AutoCAD command prompt saying
'MyCircle' and there after it will ask for the required data from the
user to draw a circle.
But now, What I want to do is, to have such a function in which I will
provide the parameters at command line only. for ex. now, instead of
calling 'mycircle' and the giving center and radius etc., I want to
call 'mycircle(center, radius)' on the AutoCAD command prompt.
I have to do this because, I want to call this ADS functiona from a
LISP or other ADS program.
Thanks in advance for help.
~Bhushan.
|
|