Function Entry: DICTADD

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: DICTADD

Name

dictadd

Class

Host Function

Syntax

(dictadd ename symbol newobj)

Arguments and Values

  • ename: dictionary entity name
  • symbol: entry name
  • newobj: entity name of the object to add

Autodesk documents symbol as a string naming a unique key in the dictionary.

Description

Adds an object to a dictionary under the given name.

Return Values

Entity name of the object added to the dictionary.

Side Effects

Modifies the dictionary object in the drawing database.

Exceptional Situations

Erroneous for invalid dictionaries, invalid object references, or illegal naming collisions according to host rules.

Compatibility

Part of the named-object and extension-dictionary manipulation model.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents a general uniqueness rule for objects within a dictionary.