Jump to content

Recommended Posts

Posted

Dear friends,

 

Can we unload lisp files from dwg?

 

Yours,

Muthu.

Posted

No, but you can redefine the functions ....

Posted
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

Posted

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,

Posted
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.

Posted

You welcome!

In order to discard a user function definition can assign nil to his symbol (name).

 

Regards,

Posted
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.

Posted

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,

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...