muthu123 Posted May 11, 2010 Posted May 11, 2010 Dear friends, Can we unload lisp files from dwg? Yours, Muthu. Quote
Kerry Brown Posted May 11, 2010 Posted May 11, 2010 No, but you can redefine the functions .... Quote
muthu123 Posted May 11, 2010 Author Posted May 11, 2010 No, but you can redefine the functions .... Ok. But how can we know that what are the functions inside that lisp. Is there anyway to find it? yours, Muthu Quote
MSasu Posted May 11, 2010 Posted May 11, 2010 Use atoms-family function to list all existing symbols (variables and functions, both built-in and user defined) and using type function look for their type: 'USUBR = user defined routines loaded from LSP files or 'SUBR = built-in routines or user defined routines loaded from FAS/VLX files. Regards, Quote
muthu123 Posted May 11, 2010 Author Posted May 11, 2010 Use atoms-family function to list all existing symbols (variables and functions, both built-in and user defined) and using type function look for their type:'USUBR = user defined routines loaded from LSP files or 'SUBR = built-in routines or user defined routines loaded from FAS/VLX files. Regards, Thank you. I will look at it and come back to you. Quote
MSasu Posted May 11, 2010 Posted May 11, 2010 You welcome! In order to discard a user function definition can assign nil to his symbol (name). Regards, Quote
muthu123 Posted May 12, 2010 Author Posted May 12, 2010 You welcome!In order to discard a user function definition can assign nil to his symbol (name). Regards, I have used the fuction "Atoms-only". But it returns a list having length of 4930. How can i make all user defined fuctions and variables to nil? Please help. Quote
MSasu Posted May 12, 2010 Posted May 12, 2010 Not sure what you want to achieve with that… It is about a routine developed by you? In this case just declare all variables as local and set nested function to nil. If is a third-part, compiled, routine keep in mind that all symbols are discarded when the drawing is closed. Regards, Quote
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.