

This way I have the least problems when autocad is re-installed or other stuff IT hits me with. Most routines are loaded though on demand from one of my toolbars in the old way (if (not (c:mylisp))(load "mylisp")). I have my own lisp folder, c:/temp/lisp and put it on top in my support path and also have my own acad.lsp which load a few routines in the startup. I guess I'll just have to load them manually when I want to use them, which is basically every drawing I work on. I'm not really sure what the problem is, they worked fine in 2014 which is supposedly when all this secureload stuff started. I have also tried using the startup suite, but these particular routines won't load automatically. Also, the ApplicationPlugins folder is supposed to be a Trusted Folder, so I shouldn't have to set permissions for it. However, they will load and run fine if I manually load them. If the file specification is not complete and both a source file and a compiled file exist which might match, then which of those files load selects is implementation. The manner in which a source file is distinguished from a compiled file is implementation-dependent.

Other lisp routines, saved to the same location, load from the acaddoc file and work fine, but the routines like the one attached, which have a bunch of command calls inside, will not load automatically. Description: load loads the file named by filespec into the Lisp environment. I tried changing secureload to 1 but the routines still don't load. Now these routines will not load automatically. It's only the ones like the one I attached that won't load. Testing will tell.I have secureload set to 0, but all the other lisp routines that I call from the acaddoc file load fine. You may need to put "(command)" after the command calls. I don't know if it will work, but I've seen commands and arguments split up like that before. Without actually being able to test it, I would try this:

I know 3dto2d is a valid command in Carlson, so I assume I'm missing something in my code to make it look there. However, every time I try to call the LISP in the command line, it says "unknown command '3dto2d'". I'm working in Carlson/Civil 3D and I'm trying to write a LISP that lets me select some polylines and then it sets them to the zero elevation and reduces the vertices. I'm brand new to the forums and to Visual LISP, so forgive me if this is in the wrong area or if I seem a bit lost.
