Jump to content

Recommended Posts

Posted (edited)

Hi again.
There's something I can't seem to find a clear answer to.
Maybe someone here can give me that answer.

I'm experimenting with the use of dynamic variables, created in real-time.
However, there's something that often makes me doubt whether it's advisable to use them.
And that's where my question lies:
If my code creates thousands of variables to avoid having to store data in a structure (lists or arrays)... when at the end of the code I cancel each of those variables with (set 'v nil), do the names of those variables really disappear from AutoCAD's symbol table, or only their content?

 

I know about the atoms-family function and that it returns the value of a symbol if it exists.
But the AI says that a negative response from atoms-family is not a guarantee that the symbol no longer exists in AutoCAD's internal symbol table.

 

Thanks in advance.

Edited by PGia

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