CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 5762:

Question

CAD 
 %  platform  category 
A
If you want to store user data within an AutoCAD drawing, there are several places you can use:
  1. Integer and real values (numbers) can be stored in the user variables USERI1-USERI5 and USERR1-USERR5 (please note that USERS1-USERS5 values are not stored)
  2. Entity-releated data can be stored in XData records of the individual drawing objects
  3. All types of data (incl. binary) can be saved with a drawing using Dictionaries (XRecords) - this is the right place to store user data
  4. String data can be also stored in the drawing properties (user values)
  5. You can also store data in attributes of an inserted block with a fixed name (not recommended)
  6. Session user data (PC-specific) can be stored in the Windows Registry or in the environment variables
All these places are accessible through VisualLISP, VBA, ARX and .NET.
ACAD
100% *CAD
23.9.2007    9496×  
applies to: AutoCAD ·

See also:
Tip 14593:Revit is slow on a new workstation on structural and steel connections projects.
Tip 14560:JobTime for Autodesk Fusion - tracking time spent on a job.
Tip 14555:How to disable or expire a public link to my Fusion design?
Tip 14549:How to reduce PDF document size in Bluebeam Revu?
Tip 14500:Autodesk starts using OTP (One-Time Passcode) verification on user accounts.


Back    All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD: 
OS: 
Categ: 
Text:
 FAQ
  



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist