Jump to content

Lookup and Modify Dictionaries


MastroLube

Recommended Posts

Hi guys!

 

I've something to ask about dictionaries in autocad.

 

I'm using an addon that draw steel bars for slubs. Unfortunately it has some bugs and has created some void items so when i've to enumerate it gives wrong numbers.

 

It stores data in dictionaries and i wanted to delete these items "by hand".

 

How can i lookup and modify these informations?

 

(defun C:LISTDICTS (/ )

 (setq maindict (namedobjdict))

 (while (setq adict (dictnext maindict (not adict)))

   (princ (cdr (assoc -1 adict)))

   (princ (strcat "\t(type = " (cdr (assoc 0 adict)) ")\n")

   )

 )

 (princ)

)

 

7aT0g0i.png

5Uzgl9a.png

Maybe inside that entity name i'll find my object.. maybe..

Can someone help me please? :)

 

Thanks, Dennis

Link to comment
Share on other sites

Can you post a dwg you need to know name of dictionary and then name of items within that dictionary then you can add and subtract etc.

Link to comment
Share on other sites

  • 2 weeks later...

I was trying using Superpurge, but i don't think it fits my needs.

 

Can someone give me an advice?

Link to comment
Share on other sites

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