3DARRAY
3DARRAY
(OP)
Hi
I have been using AutoCAD 2000 for designing. I have written lisp files to generate 3D objects. I have the following problem:
I need to use 3DARRAY command. This is a lisp file. (3DARRAY.lsp). At AutoCAD console, this command works fine.
But in lisp file when I use this command (command "3DARRAY" .....), I get an error message "3DARRAY command unknown". I tried loading this lisp file explicitly by writing (load "3DARRAY") but without any success.
This file is in search path (c:\AutoCAD 2000\Support).
Could any one help me?
Thanking you
Vijayendra
I have been using AutoCAD 2000 for designing. I have written lisp files to generate 3D objects. I have the following problem:
I need to use 3DARRAY command. This is a lisp file. (3DARRAY.lsp). At AutoCAD console, this command works fine.
But in lisp file when I use this command (command "3DARRAY" .....), I get an error message "3DARRAY command unknown". I tried loading this lisp file explicitly by writing (load "3DARRAY") but without any success.
This file is in search path (c:\AutoCAD 2000\Support).
Could any one help me?
Thanking you
Vijayendra





RE: 3DARRAY
(C:3darray .........)
RE: 3DARRAY
BU
RE: 3DARRAY
To use it in lisp you need to add an underscore at the front of it like this command "_3DARRAY"
RE: 3DARRAY
Thanks to Estassoc, Borgunit, Blueprint for the tips. I tried all of them without any success:
In lisp console:
(command "C:3DARRAY", ....options)
(command "_3DARRAY", ....options)
(command "3DARRAY", ....options)
Instead if I type in lisp console : (C:3DARRAY)
It recognizes the command but asks for options at AutoCAD console. I tried to pass on the options this way:
(C:3DARRAY (ssget get_the_object) .......). I get an error
message: "too many parameters"
My intention is to give all the options in my lisp file. So that I don't have to do anything at AucoCAD console.
Thanks once again for the tips
Vijayendra
RE: 3DARRAY
I am sorry, I did not realize 3darray was an ACAD command (shows you how much I use it). You may try using a vlisp call to get your call i.e.
(vl-load-com)
(vl-cmdf "3darray" (ssget.....))