BIGAL Posted September 19, 2015 Share Posted September 19, 2015 (edited) Going back to your first post a simple method to load a lisp rather than autoloading is to just check if the defun exists and if not load the lisp. (setq sel5 (ssget "X" '((0 . "INSERT")))) (if (not c:blockchangeentitiestolayer0)(load "blockchangeentitiestolayers0")) (c:blockchangeentitiestolayer0 sel5 "") Edited September 19, 2015 by BIGAL Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 19, 2015 Share Posted September 19, 2015 Going back to your first post a simple method to load a lisp rather than autoloading is to just check if the defun exists and if not load the lisp. What's if the lisp is not existed at all ? (setq sel5 (ssget "X" '((0 . [color=red]"BLOCK"[/color])))) Re-look at the name of the entity again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.