Message 1 of 1
About the system varibles

Not applicable
12-04-2003
10:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In my VBA program with AutoCAD R14,I want to use system varibles to control the Dimension.I wrote the codes as bellow:
AcadApp.ActiveDocument.SetVariable "DIMASZ", 2.5
AcadApp.ActiveDocument.SetVariable "DIMTXT", 3.5
AcadApp.ActiveDocument.SetVariable "DIMTIH", False
AcadApp.ActiveDocument.SetVariable "DIMTOH", False
AcadApp.ActiveDocument.SetVariable "DIMTAD", 1
but I don't know where I can use them ,before I dimensioning or open a file or others.
AcadApp.ActiveDocument.SetVariable "DIMASZ", 2.5
AcadApp.ActiveDocument.SetVariable "DIMTXT", 3.5
AcadApp.ActiveDocument.SetVariable "DIMTIH", False
AcadApp.ActiveDocument.SetVariable "DIMTOH", False
AcadApp.ActiveDocument.SetVariable "DIMTAD", 1
but I don't know where I can use them ,before I dimensioning or open a file or others.