Author Topic: What is DICTIONARY?  (Read 2187 times)

0 Members and 1 Guest are viewing this topic.

HasanCAD

  • Swamp Rat
  • Posts: 1421
What is DICTIONARY?
« on: June 07, 2012, 05:17:16 AM »
Refer to this thread, I am studying, I stuck with the dictionary
SO
What is DICTIONARY?
How to deal with DICTIONARY?
How to read contents of DICTIONARY?
What is vailability of writing to DICTIONARY?

Thanks

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: What is DICTIONARY?
« Reply #1 on: June 07, 2012, 05:30:14 AM »
A dictionary in ACad is a way of saving settings or data into the drawing or attaching to an object. The dictionary is similar to the table objects (like DimStyle/Blocks/etc.) but can be attached to anything else in the drawing, e.g. to a line or a layer or whatever you want. Main difference is you use the dict* functions to access/modify them instead of the tbl* functions. And unlike table you can create your own custom dictionary and call it what you like.

E.g. the new Annotative Scales are saved as a dictionary of the drawing, then they are attached to various objects through attached dictionaries. As a sample to show all dictionaries inside a drawing (but not attached to anything) see my code (DictEdit) here: http://forums.augi.com/showthread.php?78139-remove-data-link-from-drawing

As a sample to see dictionaries attached to objects: http://forums.augi.com/showthread.php?126661-Annotation-scales-to-list-Change-annotation-scale-from-paperspace
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.

HasanCAD

  • Swamp Rat
  • Posts: 1421
Re: What is DICTIONARY?
« Reply #2 on: June 07, 2012, 07:28:09 AM »
A dictionary in ACad is a way of saving settings or data into the drawing or attaching to an object.
...

Thanks