CFx SDK Documentation  2023 SP0
FxSysVarDefs.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #include "FxPragmaPush.h"
18 
19 #include <TDVersion.h>
20 //Description:
21 // FX_REGVAR_DEF - User can change the variable + variable does save
22 // FX_REGVAR_DEF_RO - User can't change the variable + variable doesn't save
23 // FX_REGVAR_DEF_NO_SAVE - User can change the variable + variable doesn't save
24 // FX_REGVAR_DEF_RO_SAVE - User can't change the variable + variable does save
25 
26 //Supports backward functionality
27 #if !defined(FX_REGVAR_DEF_NO_SAVE) && defined(FX_REGVAR_DEF)
28  #define FX_REGVAR_DEF_NO_SAVE FX_REGVAR_DEF
29 #endif
30 
31 #if !defined(FX_REGVAR_DEF_RO_SAVE) && defined(FX_REGVAR_DEF_RO)
32  #define FX_REGVAR_DEF_RO_SAVE FX_REGVAR_DEF_RO
33 #endif
34 
35 // Type Name Default Filer Type ResBuf Type Range
36 
37 #if defined( FX_REGVAR_DEF )
38  // 3D Connexion mouse system variables.
39  FX_REGVAR_DEF( OdInt16, 3DMSENSITIVITY, (60), Int16, kRtInt16, ValidateRange(0,100) )
40  FX_REGVAR_DEF( OdInt16, 3DMVELOCITY, (60), Int16, kRtInt16, ValidateRange(1,100) )
41  FX_REGVAR_DEF( OdInt16, 3DMOPTIONS, (19), Int16, kRtInt16, ValidateRange(0,31) )
42 
43  FX_REGVAR_DEF( OdInt16, ABORTINTERVALMIN, (5), Int16, kRtInt16, ValidateRange(0,10000) )
44  FX_REGVAR_DEF( OdInt16, ABORTINTERVALMAX, (50), Int16, kRtInt16, ValidateRange(0,10000) )
45  //FX_REGVAR_DEF( bool, ACADLSPASDOC, (true), Bool, kRtBool, ValidateNone() )
46  FX_REGVAR_DEF( OdInt16, ACISOUTVER, (70), Int16, kRtInt16, ValidateACISOUTVER() )
47  FX_REGVAR_DEF( OdInt16, AFLAGS, (16), Int16, kRtInt16, ValidateRange(0,63) )
48  FX_REGVAR_DEF( OdInt16, ANNOAUTOSCALE, (-4), Int16, kRtInt16, ValidateRange(-4,4) )
49 #if TD_VERSION < 40301
50  FX_REGVAR_DEF( OdInt16, APERTURE, (10), Int16, kRtInt16, ValidateRange(1,50) )
51 #endif
52  FX_REGVAR_DEF( bool, APBOX, (false), Bool, kRtBool, ValidateNone() )
53  FX_REGVAR_DEF( OdInt16, ARLINEDISP, ( 0 ), Int16, kRtInt16, ValidateRange(0,2) )
54  FX_REGVAR_DEF( OdInt16, AUDITCTL, (0), Int16, kRtInt16, ValidateRange(0,1) )
55  FX_REGVAR_DEF( bool, AUTONEW, (true), Bool, kRtBool, ValidateNone() )
56  FX_REGVAR_DEF( OdString, AUTONEWNAME, ("NONAME_"), String, kRtString, ValidateNone() )
57 
58  FX_REGVAR_DEF( OdInt16, BACKGROUNDPLOT, (2), Int16, kRtInt16, ValidateRange(0, 3) )
59  FX_REGVAR_DEF( OdString, BACTIONCOLOR, (""), String, kRtString, ValidateNone() )
60  FX_REGVAR_DEF( OdInt16, BDEPENDENCYHIGHLIGHT, (1), Int16, kRtInt16, ValidateRange(0,1) )
61  FX_REGVAR_DEF( OdString, BGRIPOBJCOLOR, ("141"), String, kRtString, ValidateNone() )
62  FX_REGVAR_DEF( OdInt16, BGRIPOBJSIZE, (8), Int16, kRtInt16, ValidateRange(1,255) )
63  FX_REGVAR_DEF( OdString, BIGFONTALT, (""), String, kRtString, ValidateNone() )
64  FX_REGVAR_DEF( OdInt16, BLOCKEDITLOCK, (0), Int16, kRtInt16, ValidateRange(0,1) )
65  FX_REGVAR_DEF( OdString, BPARAMETERCOLOR, ("7"), String, kRtString, ValidateNone() )
66  FX_REGVAR_DEF( OdString, BPARAMETERFONT, ("simplex.shx"), String, kRtString, ValidateNone() )
67  FX_REGVAR_DEF( OdInt16, BPARAMETERSIZE, (12), Int16, kRtInt16, ValidateRange(1,255) )
68  FX_REGVAR_DEF( OdInt16, BTMARKDISPLAY, (1), Int16, kRtInt16, ValidateRange(0,1) )
69  FX_REGVAR_DEF( OdInt16, BVMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
70  FX_REGVAR_DEF( OdInt16, BPTEXTHORIZONTAL, (1), Int16, kRtInt16, ValidateRange(0,1) )
71 
72  FX_REGVAR_DEF( OdInt16, CALCINPUT, (1), Int16, kRtInt16, ValidateRange(0,1) )
73  FX_REGVAR_DEF( OdInt16, CHAMMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
74  FX_REGVAR_DEF( OdInt16, CENTERMT, (0), Int16, kRtInt16, ValidateRange(0,1) )
75  FX_REGVAR_DEF( OdInt16, CMDDIA, (0), Int16, kRtInt16, ValidateRange(0,1) )
76 #if defined(_CO_VERSION) || defined(_SW_VERSION)
77  FX_REGVAR_DEF( OdInt16, COLORTHEME, (0), Int16, kRtInt16, ValidateRange(0, 1))
78 #else
79  FX_REGVAR_DEF( OdInt16, COLORTHEME, (1), Int16, kRtInt16, ValidateRange(0,1) )
80 #endif
81  FX_REGVAR_DEF( OdInt16, COMPASS, (0), Int16, kRtInt16, ValidateRange(0,1) )
82 
83  // Constraints:
84  FX_REGVAR_DEF( OdInt16, CCONSTRAINTFORM, (0), Int16, kRtInt16, ValidateRange(0,1) )
85  FX_REGVAR_DEF( OdInt16, CONSTRAINTBARDISPLAY, (3), Int16, kRtInt16, ValidateRange(0,3) )
86  FX_REGVAR_DEF( OdInt16, CONSTRAINTBARMODE, (4095), Int16, kRtInt16, ValidateRange(0,4095) )
87  FX_REGVAR_DEF( OdInt16, CONSTRAINTNAMEFORMAT, (2), Int16, kRtInt16, ValidateRange(0,2) )
88  FX_REGVAR_DEF( OdInt16, CONSTRAINTSOLVEMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
89  FX_REGVAR_DEF( OdInt16, DIMCONSTRAINTICON, (3), Int16, kRtInt16, ValidateRange(0,3) )
90  FX_REGVAR_DEF( OdInt16, DYNCONSTRAINTMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
91 #if TD_VERSION < 40301
92  FX_REGVAR_DEF( OdInt16, PARAMETERCOPYMODE, (1), Int16, kRtInt16, ValidateRange(0,4) )
93 #endif
94 
95  FX_REGVAR_DEF( OdInt16, COPYMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
96  FX_REGVAR_DEF( OdInt16, CROSSINGAREACOLOR, (3), Int16, kRtInt16, ValidateRange(1, 255) )
97  FX_REGVAR_DEF( OdInt16, CURSORSIZE, (5), Int16, kRtInt16, ValidateRange(1,100) )
98  FX_REGVAR_DEF( OdInt16, CMDINPUTHISTORYMAX, (5), Int16, kRtInt16, ValidateNone() )
99  FX_REGVAR_DEF( OdInt16, CURSORMODE, (1), Int16, kRtInt16, ValidateRange(0,2) )
100  FX_REGVAR_DEF( OdInt32, CDEFAULTCOLOR, (0xF89828), Int32, kRtInt32, ValidateRange(0, 0xFFFFFF) )
101  FX_REGVAR_DEF( OdInt32, COPTIONSCOLOR, (0x056CB6), Int32, kRtInt32, ValidateRange(0, 0xFFFFFF) )
102 #if TD_VERSION < 40301
103  FX_REGVAR_DEF( OdInt16, DEFAULTLIGHTING, (1), Int16, kRtInt16, ValidateRange(0,1) )
104  FX_REGVAR_DEF( OdInt16, DEFAULTLIGHTINGTYPE, (1), Int16, kRtInt16, ValidateRange(0,1) )
105 #endif
106  FX_REGVAR_DEF( OdInt32, DEVOPTIONS, (1), Int32, kRtInt32, ValidateNone() )
107  FX_REGVAR_DEF( OdInt16, DBLCLKEDIT, (1), Int16, kRtInt16, ValidateRange(0,1) )
108  FX_REGVAR_DEF( OdString, DCTCUST, (""), String, kRtString, ValidateNone() )
109  FX_REGVAR_DEF( OdString, DCTMAIN, (""), String, kRtString, ValidateNone() )
110  FX_REGVAR_DEF( OdString, DEFPLSTYLE, ("ByLayer"), String, kRtString, ValidateNone() )
111  FX_REGVAR_DEF( OdString, DEFLPLSTYLE, ("Normal"), String, kRtString, ValidateNone() )
112  FX_REGVAR_DEF( OdString, DEFPLSTYLETABLE, (""), String, kRtString, ValidateNone() )
113 #if TD_VERSION < 40101
114  FX_REGVAR_DEF( OdInt16, DEMANDLOAD, (3), Int16, kRtInt16, ValidateRange(0,3) )
115 #endif
116  FX_REGVAR_DEF( OdInt16, DIMFIT, (3), Int16, kRtInt16, ValidateRange(0,5) )
117 
118  // Controls whether dynamic dimension preview is used.
119  FX_REGVAR_DEF( bool, DIMENSIONPREVIEW, (true), Bool, kRtBool, ValidateNone() )
120 
121  FX_REGVAR_DEF( OdInt16, DTEXTED, (2), Int16, kRtInt16, ValidateRange(0,2) )
122  FX_REGVAR_DEF( OdInt16, TEXTED, (2), Int16, kRtInt16, ValidateRange(0,2) )
123  FX_REGVAR_DEF( OdInt16, DRAGP1, (10), Int16, kRtInt16, ValidateNone() )
124  FX_REGVAR_DEF( OdInt16, DRAGP2, (25), Int16, kRtInt16, ValidateNone() )
125  FX_REGVAR_DEF( OdInt16, DTTOOLAREA, (0), Int16, kRtInt16, ValidateRange(0,0) )
126  FX_REGVAR_DEF( OdInt16, DTTOOLAREASTYLE, (0), Int16, kRtInt16, ValidateRange(0,0) )
127  FX_REGVAR_DEF( OdInt16, DXFPREC, (16), Int16, kRtInt16, ValidateRange(0,16) )
128  FX_REGVAR_DEF( OdInt16, AUTOSNAP, (63), Int16, kRtInt16, ValidateRange(0,63) )
129  FX_REGVAR_DEF( OdInt16, DYNASNAP, (63), Int16, kRtInt16, ValidateRange(0,63) )
130  FX_REGVAR_DEF( OdInt16, DYNASNAPPOLARMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
131  FX_REGVAR_DEF( OdInt16, DYNASNAPSIZE, (10), Int16, kRtInt16, ValidateRange(1, 20) )
132  //Controls which dynamic dimensions are displayed during grip stretch editing
133  FX_REGVAR_DEF( OdInt16, DYNDIGRIP, (31), Int16, kRtInt16, ValidateRange(0,31) )
134  //Controls how many dynamic dimensions are displayed during grip stretch editing
135  FX_REGVAR_DEF( OdInt16, DYNDIVIS, (1), Int16, kRtInt16, ValidateRange(0,2) )
136  //Turns Dynamic Input features on and off
137  FX_REGVAR_DEF( OdInt16, DYNMODE, (3), Int16, kRtInt16, ValidateRange(-3,3) )
138  //Controls whether pointer input uses relative or absolute format for coordinates
139  FX_REGVAR_DEF( OdInt16, DYNPICOORDS, (0), Int16, kRtInt16, ValidateRange(0,1) )
140  //Controls whether pointer input uses polar or Cartesian format for coordinates
141  FX_REGVAR_DEF( OdInt16, DYNPIFORMAT, (0), Int16, kRtInt16, ValidateRange(0,1) )
142  //Controls when pointer input is displayed
143  FX_REGVAR_DEF( OdInt16, DYNPIVIS, (1), Int16, kRtInt16, ValidateRange(0,2) )
144  //Controls display of prompts in Dynamic Input tooltips
145  FX_REGVAR_DEF( OdInt16, DYNPROMPT, (1), Int16, kRtInt16, ValidateRange(0,1) )
146  //Controls which tooltips are affected by tooltip appearance settings
147  FX_REGVAR_DEF( OdInt16, DYNTOOLTIPS, (1), Int16, kRtInt16, ValidateRange(0,1) )
148 
149  FX_REGVAR_DEF( OdInt16, EDGEMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
150  FX_REGVAR_DEF( OdInt16, EXPLMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
151 
152  FX_REGVAR_DEF( OdInt16, FACETRATIO, (0), Int16, kRtInt16, ValidateRange(0,1) )
153  FX_REGVAR_DEF( OdString, FCTEMPLATE, ("standard.dwt"), String, kRtString, ValidateNone() )
154  FX_REGVAR_DEF( OdInt16, FILETABPREVIEW, (1), Int16, kRtInt16, ValidateRange(0,1) )
155  FX_REGVAR_DEF( OdInt16, FILETABSTATE, (1), Int16, kRtInt16, ValidateRange(0,1) )
156  FX_REGVAR_DEF( OdString, FONTMAP, (""), String, kRtString, ValidateNone() )
157  FX_REGVAR_DEF( OdInt16, FULLPLOTPATH, (0), Int16, kRtInt16, ValidateRange(0,1) )
158  FX_REGVAR_DEF( OdInt16, FCMULTISEL, (0), Int16, kRtInt16, ValidateRange(0,1) )
159 
160  FX_REGVAR_DEF( OdInt16, GFANG, (0), Int16, kRtInt16, ValidateRange(0,1) )
161  FX_REGVAR_DEF( OdString, GFCLR1, (""), String, kRtString, ValidateNone() )
162  FX_REGVAR_DEF( OdString, GFCLR2, (""), String, kRtString, ValidateNone() )
163  FX_REGVAR_DEF( double, GFCLRLUM, (1.0), Double, kRtDouble, ValidateRange(0,1) )
164  FX_REGVAR_DEF( OdInt16, GFCLRSTATE, (1), Int16, kRtInt16, ValidateRange(0,1) )
165  FX_REGVAR_DEF( OdInt16, GFNAME, (1), Int16, kRtInt16, ValidateRange(0,1) )
166  FX_REGVAR_DEF( OdInt16, GFSHIFT, (0), Int16, kRtInt16, ValidateRange(0,1) )
167  FX_REGVAR_DEF( OdInt16, GTAUTO, (1), Int16, kRtInt16, ValidateRange(0,1) )
168  FX_REGVAR_DEF( OdInt16, GTDEFAULT, (0), Int16, kRtInt16, ValidateRange(0,1) )
169  FX_REGVAR_DEF( OdInt16, GTLOCATION, (0), Int16, kRtInt16, ValidateRange(0,1) )
170  FX_REGVAR_DEF( OdString, GRAEBERTSTORAGESERVER, (""), String, kRtString, ValidateNone() )
171 #if TD_VERSION < 30901
172  FX_REGVAR_DEF( OdInt16, GRIDDISPLAY, (3), Int16, kRtInt16, ValidateRange(0,15) )
173  FX_REGVAR_DEF( OdInt16, GRIDMAJOR, (3), Int16, kRtInt16, ValidateRange(1,100) )
174 #endif
175  FX_REGVAR_DEF( OdInt32, HEADUPTIME, ( 3000 ), Int32, kRtInt32, ValidateNone( ) )
176  FX_REGVAR_DEF( OdInt32, CONTEXTUALHELPDELAY, ( 3 ), Int32, kRtInt32, ValidateNone( ) )
177  FX_REGVAR_DEF( bool, CONTEXTUALHELPENABLED, (true), Bool, kRtBool, ValidateNone() )
178  FX_REGVAR_DEF( OdInt32, CONTEXTUALHELPCMDFINISH,( 2 ), Int32, kRtInt32, ValidateRange(0,2) )
179 #if defined(_SW_VERSION)
180  FX_REGVAR_DEF( OdInt16, GRIPMULTIFUNCTIONAL, (2), Int16, kRtInt16, ValidateRange(0,3) )
181 #else
182  FX_REGVAR_DEF( OdInt16, GRIPMULTIFUNCTIONAL, (0), Int16, kRtInt16, ValidateRange(0,3) )
183 #endif
184  FX_REGVAR_DEF( OdInt16, HIDEPRECISION, (0), Int16, kRtInt16, ValidateRange(0,1) )
185  FX_REGVAR_DEF( OdInt16, HIGHLIGHT, (1), Int16, kRtInt16, ValidateRange(0,1) )
186  FX_REGVAR_DEF( OdInt16, HIGHLIGHTCOLOR, (0), Int16, kRtInt16, ValidateRange(0,254) )
187 
188  FX_REGVAR_DEF( OdInt16, HPANNOTATIVE, (0), Int16, kRtInt16, ValidateRange(0,1) )
189  FX_REGVAR_DEF( double, HPGAPTOL, (0.0), Double, kRtDouble, ValidateRange(0.0,5000.0) )
190  FX_REGVAR_DEF( OdInt32, HPOBJWARNING, (10000), Int32, kRtInt32, ValidateNone() )
191  FX_REGVAR_DEF( OdInt16, HPORIGINMODE, (0), Int16, kRtInt16, ValidateRange(0,15) )
192  FX_REGVAR_DEF( OdInt16, HPSEPARATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
193  FX_REGVAR_DEF( OdInt16, HPQUICKPREVIEW, (1), Int16, kRtInt16, ValidateRange(0,1) )
194 
195  FX_REGVAR_DEF( OdInt16, IMPLIEDFACE, (1), Int16, kRtInt16, ValidateRange(0,1) )
196  FX_REGVAR_DEF( OdString, INETLOCATION, (""), String, kRtString, ValidateNone() )
197  FX_REGVAR_DEF( OdString, INIFILENAME, ("APPLICATION.INI"),String, kRtString, ValidateNone() )
198  FX_REGVAR_DEF( OdInt16, INPUTHISTORYMODE, (15), Int16, kRtInt16, ValidateRange(0,15) )
199  FX_REGVAR_DEF( OdInt16, INSUNITSDEFSOURCE, (0), Int16, kRtInt16, ValidateRange(0,20) )
200  FX_REGVAR_DEF( OdInt16, INSUNITSDEFTARGET, (0), Int16, kRtInt16, ValidateRange(0,20) )
201  FX_REGVAR_DEF( OdInt16, INTELLIGENTUPDATE, (20), Int16, kRtInt16, ValidateRange(0,100) )
202 #if TD_VERSION < 220400
203  FX_REGVAR_DEF( bool, IMAGEHLT, (true), Bool, kRtBool, ValidateNone() )
204 #endif
205 #if TD_VERSION < 40101
206  FX_REGVAR_DEF( OdInt16, ISAVEPERCENT, (50), Int16, kRtInt16, ValidateRange(0,100) )
207 #endif
208  FX_REGVAR_DEF( bool, ISAVEBAK, (true), Bool, kRtBool, ValidateNone() )
209 
210  FX_REGVAR_DEF( OdInt32, LAYERFILTERALERT, (2), Int32, kRtInt32, ValidateRange(0,3) )
211 #if TD_VERSION < 40301
212  FX_REGVAR_DEF( OdInt16, LAYLOCKFADECTL, (50), Int16, kRtInt16, ValidateRange(-90,90))
213 #endif
214  FX_REGVAR_DEF( OdInt32, LAYOUTREGENCTL, (2), Int32, kRtInt32, ValidateRange(0,2) )
215  FX_REGVAR_DEF( OdInt32, LANGUAGE, (0), Int32, kRtInt32, ValidateRange(0,24) )
216  FX_REGVAR_DEF( OdInt16, LISPINIT, (1), Int16, kRtInt16, ValidateRange(0,1) )
217  FX_REGVAR_DEF( OdInt16, LWUNITS, (1), Int16, kRtInt16, ValidateRange(0,1) )
218  FX_REGVAR_DEF( OdString, LOGFILEPATH, (""), String, kRtString, ValidateDirPath() )
219  FX_REGVAR_DEF( OdInt16, LOCKUI, (0), Int16, kRtInt16, ValidateRange(0,15) )
220 
221  FX_REGVAR_DEF( OdInt16, MAXSORT, (1000), Int16, kRtInt16, ValidatePositive() )
222  FX_REGVAR_DEF( OdInt16, MBUTTONPAN, (1), Int16, kRtInt16, ValidateRange(0,1) )
223  FX_REGVAR_DEF( OdInt16, MEASUREINIT, (1), Int16, kRtInt16, ValidateRange(0,1) )
224  FX_REGVAR_DEF( OdInt16, MENUBAR, (0), Int16, kRtInt16, ValidateRange(0,1) )
225  FX_REGVAR_DEF( OdInt16, MENUCTL, (1), Int16, kRtInt16, ValidateRange(0,1) )
226  FX_REGVAR_DEF( OdInt16, MENUECHO, (0), Int16, kRtInt16, ValidateRange(0,16) )
227  FX_REGVAR_DEF( OdString, MODEMACRO, (""), String, kRtString, ValidateNone() )
228  FX_REGVAR_DEF( OdString, MTEXTED, ("Internal"), String, kRtString, ValidateNone() )
229  FX_REGVAR_DEF( bool, MSTOPONERR, (true), Bool, kRtBool, ValidateNone() )
230  FX_REGVAR_DEF( OdInt16, MTEXTFIXED, (2), Int16, kRtInt16, ValidateRange(0,2) )
231  FX_REGVAR_DEF( OdString, MTJIGSTRING, ("abc"), String, kRtString, ValidateNone() )
232 
233  FX_REGVAR_DEF( OdInt16, NOMUTT, (0), Int16, kRtInt16, ValidateRange(0,1) )
234 
235  FX_REGVAR_DEF( OdInt16, NOTIFYDATALINK, (2), Int16, kRtInt16, ValidateRange(0,2) )
236 
237  FX_REGVAR_DEF( OdInt16, OFFSETGAPTYPE, (0), Int16, kRtInt16, ValidateRange(0, 2) )
238 #if TD_VERSION > 30901
239 #else
240  FX_REGVAR_DEF( OdInt16, OLEHIDE, (0), Int16, kRtInt16, ValidateRange(0,3) )
241  FX_REGVAR_DEF( OdInt16, OLEQUALITY, (3), Int16, kRtInt16, ValidateRange(0,3) )
242 #endif
243  FX_REGVAR_DEF( OdInt32, OPENFILTERINDEX, (0), Int32, kRtInt32, ValidateRange(0,6) )
244  FX_REGVAR_DEF( OdInt32, OPENGLTEXTURESIZEMAX, (1024), Int32, kRtInt32, ValidateRange(512,32768) )
245  FX_REGVAR_DEF( OdInt16, ORBITAUTOTARGET, (1), Int16, kRtInt16, ValidateRange(0,1) )
246  FX_REGVAR_DEF(OdInt16, LAYERDLGMODE, (1), Int16, kRtInt16, ValidateRange(0, 1))
247  FX_REGVAR_DEF( OdInt32, OSNAPCOORD, (2), Int32, kRtInt32, ValidateRange(0,2) )
248  FX_REGVAR_DEF( OdInt32, OSNAPNODELEGACY, (0), Int32, kRtInt32, ValidateRange(0,1) )
249  FX_REGVAR_DEF( OdInt32, OSNAPOVERRIDE, (0), Int32, kRtInt32, ValidateRange(0,1) )
250  FX_REGVAR_DEF( OdInt32, OSNAPHATCH, (0), Int32, kRtInt32, ValidateRange(0,1) )
251  FX_REGVAR_DEF( OdInt32, OSNAPZ, (0), Int32, kRtInt32, ValidateNone() )
252  FX_REGVAR_DEF( OdInt32, OSOPTIONS, (7), Int32, kRtInt32, ValidateRange(0,7) )
253  FX_REGVAR_DEF( OdInt16, 3DOSMODE, (11), Int16, kRtInt16, ValidateRange(1, 127))
254 
255  FX_REGVAR_DEF( OdInt16, PALETTEOPAQUE, (0), Int16, kRtInt16, ValidateRange(0,3) )
256  FX_REGVAR_DEF( double, PANSCALE, (0.5), Double, kRtDouble, ValidatePositive() )
257  FX_REGVAR_DEF( OdInt16, PAPERUPDATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
258  FX_REGVAR_DEF( OdInt16, PEDITACCEPT, (0), Int16, kRtInt16, ValidateRange(0,1) )
259 
260  FX_REGVAR_DEF( OdInt16, PROPOBJLIMIT, (25000), Int16, kRtInt16, ValidateRange(0,32767))
261 
262 #if !defined(_SW_VERSION)
263  FX_REGVAR_DEF( OdInt32, PICKAUTO, (5), Int32, kRtInt32, ValidateRange(-7,7) )
264  FX_REGVAR_DEF( OdInt32, PICKDRAG, (2), Int32, kRtInt32, ValidateRange(0,2) )
265 #else
266  FX_REGVAR_DEF( OdInt32, PICKAUTO, (1), Int32, kRtInt32, ValidateRange(0,1) )
267  FX_REGVAR_DEF( OdInt32, PICKDRAG, (0), Int32, kRtInt32, ValidateRange(0,1) )
268 #endif
269 
270  FX_REGVAR_DEF( OdInt16, PLOTROTMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
271  FX_REGVAR_DEF( OdInt16, PLOTOFFSET, (0), Int16, kRtInt16, ValidateRange(0,1) )
272 #if TD_VERSION < 40301
273  FX_REGVAR_DEF( OdInt32, PLOTTRANSPARENCYOVERRIDE,(1), Int32, kRtInt32, ValidateRange(0,2) )
274 #endif
275  FX_REGVAR_DEF( OdString, PLOTTER, (""), String, kRtString, ValidateNone() )
276  FX_REGVAR_DEF( OdInt32, PLQUIET, (0), Int32, kRtInt32, ValidateRange(0,1) )
277  FX_REGVAR_DEF( double, POLARDIST, (0.0), Double, kRtDouble, ValidatePositive() )
278  FX_REGVAR_DEF( OdInt16, POLARMODE, (0), Int16, kRtInt16, ValidateRange(0,15) )
279  FX_REGVAR_DEF( OdInt16, POLYSIDES, (4), Int16, kRtInt16, ValidateRange(3,1024) )
280  FX_REGVAR_DEF( OdInt16, PRESELECTIONEFFECT, (1), Int16, kRtInt16, ValidateRange(0, 1) )
281  FX_REGVAR_DEF( OdInt32, PREVIEWCREATIONTRANSPARENCY,(60), Int32, kRtInt32, ValidateRange(0,90) )
282  FX_REGVAR_DEF( OdInt16, PREVIEWFILTER, (7), Int16, kRtInt16, ValidateRange(0, 63) )
283  FX_REGVAR_DEF( OdInt16, PREVIEWEFFECT, (2), Int16, kRtInt16, ValidateRange(0, 3) )
284  FX_REGVAR_DEF( OdInt16, PROJMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
285  FX_REGVAR_DEF( OdInt16, PROXYWEBSEARCH, (0), Int16, kRtInt16, ValidateRange(0,1) )
286  FX_REGVAR_DEF( bool, PROXYNOTICE, (true), Bool, kRtBool, ValidateNone() )
287  FX_REGVAR_DEF( OdInt16, PSQUALITY, (2), Int16, kRtInt16, ValidateRange(0,2) )
288  FX_REGVAR_DEF( OdString, PSPROLOG, (""), String, kRtString, ValidateNone() )
289  FX_REGVAR_DEF( OdInt32, PSTYLEPOLICY, (0), Int32, kRtInt32, ValidateRange(0,1) )
290  FX_REGVAR_DEF( OdInt16, PUBLISHALLSHEETS, (1), Int16, kRtInt16, ValidateRange(0,1) )
291  FX_REGVAR_DEF( OdInt16, QAFLAGS, (0), Int16, kRtInt16, ValidateRange(0,32767) )
292 
293  FX_REGVAR_DEF( OdInt16, RASTERDPI, (300), Int16, kRtInt16, ValidateRange(100, 32767) )
294  FX_REGVAR_DEF( OdInt16, RASTERTHRESHOLD, (0), Int16, kRtInt16, ValidateRange(0, 2000) )
295  FX_REGVAR_DEF( bool, RASTERPREVIEW, (true), Bool, kRtBool, ValidateNone() )
296  FX_REGVAR_DEF( OdInt16, RCLICKCONTEXTMENUTIME, (250), Int16, kRtInt16, ValidateRange(100,10000) )
297  FX_REGVAR_DEF( OdInt16, RENDERENGINE, (2), Int16, kRtInt16, ValidateRange(0, 5) )
298  FX_REGVAR_DEF( OdInt16, RE_INIT, (0), Int16, kRtInt16, ValidateRange(0, 16) )
299  FX_REGVAR_DEF( OdInt16, RECOVERYMODE, (2), Int16, kRtInt16, ValidateRange(0, 2) )
300  FX_REGVAR_DEF( OdInt16, REMEMBERFOLDERS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
301  FX_REGVAR_DEF( OdInt16, REPORTERROR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
302  FX_REGVAR_DEF( bool, RTDISPLAY, (false), Bool, kRtBool, ValidateNone() )
303 
304  FX_REGVAR_DEF( OdString, SAVEFILEPATH, (""), String, kRtString, ValidateDirPath() )
305  FX_REGVAR_DEF( OdInt32, SAVEFILTERINDEX, (0), Int32, kRtInt32, ValidateRange(0,29) )
306  FX_REGVAR_DEF( OdInt32, SAVETIME, (10), Int32, kRtInt32, ValidateRange(0,600) )
307  FX_REGVAR_DEF( bool, SDI, (false), Bool, kRtBool, ValidateRange(0, 1) )
308  FX_REGVAR_DEF( OdInt32, SELECTBOX, (3), Int32, kRtInt32, ValidateNone() )
309  FX_REGVAR_DEF( OdInt16, SELECTIONANNODISPLAY, (1), Int16, kRtInt16, ValidateRange(0, 1) )
310  FX_REGVAR_DEF( OdInt16, SELECTIONCYCLING, (2), Int16, kRtInt16, ValidateRange(-2, 2) )
311  FX_REGVAR_DEF( OdInt16, SELECTIONPREVIEW, (3), Int16, kRtInt16, ValidateRange(0, 3) )
312  FX_REGVAR_DEF( OdInt16, SELECTIONAREA, (1), Int16, kRtInt16, ValidateRange(0, 1) )
313  FX_REGVAR_DEF( OdInt16, SELECTIONAREAOPACITY, (25), Int16, kRtInt16, ValidateRange(0, 100) )
314 #if TD_VERSION < 220400
315  FX_REGVAR_DEF( OdInt16, SELECTIONEFFECT, (1), Int16, kRtInt16, ValidateRange(0, 1) )
316 #endif
317  FX_REGVAR_DEF( OdInt16, SELECTSIMILARMODE, (130), Int16, kRtInt16, ValidateNone() )
318  FX_REGVAR_DEF( OdInt16, SETBYLAYERMODE, (255), Int16, kRtInt16, ValidateRange(0, 255) )
319  FX_REGVAR_DEF( OdString, SHAPEALT, (""), String, kRtString, ValidateNone() )
320  FX_REGVAR_DEF( OdString, SHPNAME, (""), String, kRtString, ValidateNone() )
321  FX_REGVAR_DEF( OdInt16, SHOWLAYERUSAGE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
322  FX_REGVAR_DEF( bool, SHOWHYPERLINKCURSOR, (true), Bool, kRtBool, ValidateNone() )
323  FX_REGVAR_DEF( OdInt16, SIGWARN, (1), Int16, kRtInt16, ValidateRange(0, 1) )
324  //Sets the type of snap for the current viewport.
325  FX_REGVAR_DEF( OdInt16, SNAPTYPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
326  //Controls whether Default, Edit, and Command mode shortcut menus are available in the drawing area.
327  FX_REGVAR_DEF( OdInt16, SHORTCUTMENU, (11), Int16, kRtInt16, ValidateRange(0,63) )
328  // For Contextual ribbons
329  FX_REGVAR_DEF(OdInt16, RIBBONSELECTMODE, ( 1 ), Int16, kRtInt16, ValidateRange(0, 1))
330  FX_REGVAR_DEF(OdInt16, RIBBONCONTEXTSELLIM, ( 2500 ), Int16, kRtInt16, ValidateRange(0, 32767))
331  FX_REGVAR_DEF( bool, SOLIDCHECK, (true), Bool, kRtBool, ValidateNone() )
332  FX_REGVAR_DEF( OdInt16, SPACESWITCH, (1), Int16, kRtInt16, ValidateRange(0, 1) )
333  FX_REGVAR_DEF( bool, SPLPERIODIC, (false), Bool, kRtBool, ValidateNone() )
334  FX_REGVAR_DEF( OdInt16, STARTUP, (1), Int16, kRtInt16, ValidateRange(0, 1) )
335  FX_REGVAR_DEF( OdInt16, SSLOCATE, (1), Int16, kRtInt16, ValidateRange(0, 1) )
336  FX_REGVAR_DEF( OdInt16, SSMAUTOOPEN, (1), Int16, kRtInt16, ValidateRange(0, 1) )
337  FX_REGVAR_DEF( OdInt16, SSMPOLLTIME, (60), Int16, kRtInt16, ValidateRange(20, 600) )
338  FX_REGVAR_DEF( OdInt16, SSMSHEETSTATUS, (2), Int16, kRtInt16, ValidateRange(0, 2) )
339  FX_REGVAR_DEF( OdInt16, STANDARDSVIOLATION, (1), Int16, kRtInt16, ValidateRange(0, 2) )
340  FX_REGVAR_DEF( OdInt16, SUNSTATUS, (0), Int16, kRtInt16, ValidateRange(0, 1) )
341 
342  FX_REGVAR_DEF( OdInt16, TABLEINDICATOR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
343  FX_REGVAR_DEF( OdInt16, TABLETOOLBAR, (2), Int16, kRtInt16, ValidateRange(0, 2) )
344 
345  FX_REGVAR_DEF( OdInt16, TABMODE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
346  FX_REGVAR_DEF( OdInt16, TABDEVICEMODE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
347  FX_REGVAR_DEF( OdInt16, TASKBAR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
348  FX_REGVAR_DEF( OdInt16, TBCUSTOMIZE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
349  //Turns temporary override keys on and off
350  FX_REGVAR_DEF( OdInt16, TEMPOVERRIDES, (1), Int16, kRtInt16, ValidateRange(0,1) )
351  FX_REGVAR_DEF( OdInt16, TEXTEVAL, (0), Int16, kRtInt16, ValidateRange(0, 1) )
352  //Combines drafting tooltips into a single tooltip
353  FX_REGVAR_DEF( OdInt16, TOOLTIPS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
354  FX_REGVAR_DEF( OdInt16, TOOLTIPMERGE, (0), Int16, kRtInt16, ValidateRange(0,1) )
355  FX_REGVAR_DEF( bool, TOUCHSCREENMODE, (false), Bool, kRtBool, ValidateNone() )
356  FX_REGVAR_DEF( OdInt16, TRACKPATH, (0), Int16, kRtInt16, ValidateRange(0,3) )
357  FX_REGVAR_DEF( OdInt32, TRANSPARENCYDISPLAY, (1), Int32, kRtInt32, ValidateRange(0, 1) )
358  FX_REGVAR_DEF( OdInt16, TRAYICONS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
359  FX_REGVAR_DEF( OdInt16, TRAYNOTIFY, (1), Int16, kRtInt16, ValidateRange(0, 1) )
360  FX_REGVAR_DEF( OdInt16, TRAYTIMEOUT, (0), Int16, kRtInt16, ValidateRange(0, 10) )
361  FX_REGVAR_DEF( OdInt32, TREEMAX, (10000000), Int32, kRtInt32, ValidateNone() )
362  FX_REGVAR_DEF( OdInt16, TRIMMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
363  FX_REGVAR_DEF( double, TSPACEFAC, (1.0), Double, kRtDouble, ValidateRange(0.25,4.0) )
364  FX_REGVAR_DEF( OdInt16, TSPACETYPE, (1), Int16, kRtInt16, ValidateRange(1, 2) )
365 
366  FX_REGVAR_DEF( OdInt16, UCSAXISANG, (90), Int16, kRtInt16, ValidateNone() )
367  FX_REGVAR_DEF( OdInt16, UCSDETECT, (1), Int16, kRtInt16, ValidateRange(0,1) )
368  FX_REGVAR_DEF( OdInt16, UCSORTHO, (1), Int16, kRtInt16, ValidateRange(0,1) )
369  FX_REGVAR_DEF( bool, UNDOZOOMPANGROUPING, (true), Bool, kRtBool, ValidateNone() )
370 #if TD_VERSION > 30901
371 #else
372  FX_REGVAR_DEF( OdInt16, VSBACKGROUNDS, (1), Int16, kRtInt16, ValidateRange(0,1) )
373  FX_REGVAR_DEF( OdString, VSEDGECOLOR , ("7"), String, kRtString, ValidateNone() )
374  FX_REGVAR_DEF( OdInt16, VSEDGEJITTER, (-2), Int16, kRtInt16, ValidateRange(-3,3) )
375  FX_REGVAR_DEF( OdInt16, VSEDGEOVERHANG, (-6), Int16, kRtInt16, ValidateRange(-100,100) )
376  FX_REGVAR_DEF( OdInt16, VSEDGES, (1), Int16, kRtInt16, ValidateRange(0,2) )
377  FX_REGVAR_DEF( OdInt16, VSEDGESMOOTH, (1), Int16, kRtInt16, ValidateRange(0,180) )
378  FX_REGVAR_DEF( OdInt16, VSFACECOLORMODE, (0), Int16, kRtInt16, ValidateRange(0,3) )
379  FX_REGVAR_DEF( OdInt16, VSFACEHIGHLIGHT, (-30), Int16, kRtInt16, ValidateRange(-100,100) )
380  FX_REGVAR_DEF( OdInt16, VSFACEOPACITY, (-60), Int16, kRtInt16, ValidateRange(-100,100) )
381  FX_REGVAR_DEF( OdInt16, VSFACESTYLE, (1), Int16, kRtInt16, ValidateRange(0,2) )
382  FX_REGVAR_DEF( OdInt16, VSHALOGAP, (0), Int16, kRtInt16, ValidateRange(0,100) )
383 #endif
384  FX_REGVAR_DEF( OdInt16, VSHIDEPRECISION, (0), Int16, kRtInt16, ValidateNone() )
385 #if TD_VERSION > 30901
386 #else
387  FX_REGVAR_DEF( OdString, VSINTERSECTIONCOLOR , ("7"), String, kRtString, ValidateNone() )
388  FX_REGVAR_DEF( OdInt16, VSINTERSECTIONEDGES, (0), Int16, kRtInt16, ValidateRange(0,1) )
389  FX_REGVAR_DEF( OdInt16, VSINTERSECTIONLTYPE, (1), Int16, kRtInt16, ValidateRange(1,11) )
390  FX_REGVAR_DEF( OdInt16, VSISOONTOP, (0), Int16, kRtInt16, ValidateRange(0,1) )
391  FX_REGVAR_DEF( OdInt16, VSLIGHTINGQUALITY, (1), Int16, kRtInt16, ValidateRange(0,1) )
392  FX_REGVAR_DEF( OdInt16, VSMATERIALMODE, (0), Int16, kRtInt16, ValidateRange(0,2) )
393  FX_REGVAR_DEF( OdString, VSMONOCOLOR , ("RGB:255,255,255"),String, kRtString, ValidateNone() )
394  FX_REGVAR_DEF( OdString, VSOBSCUREDCOLOR , ("BYENTITY"), String, kRtString, ValidateNone() )
395  FX_REGVAR_DEF( OdInt16, VSOBSCUREDEDGES, (1), Int16, kRtInt16, ValidateRange(0,1) )
396  FX_REGVAR_DEF( OdInt16, VSOBSCUREDLTYPE, (1), Int16, kRtInt16, ValidateRange(0,11) )
397  FX_REGVAR_DEF( OdInt16, VSSHADOWS, (0), Int16, kRtInt16, ValidateRange(0,2) )
398  FX_REGVAR_DEF( OdInt16, VSSILHEDGES, (0), Int16, kRtInt16, ValidateRange(0,1) )
399  FX_REGVAR_DEF( OdInt16, VSSILHWIDTH, (5), Int16, kRtInt16, ValidateRange(1,25) )
400 #endif
401  FX_REGVAR_DEF( OdInt16, VTDURATION, (750), Int16, kRtInt16, ValidateRange(0,5000) )
402  FX_REGVAR_DEF( OdInt16, VTENABLE, (3), Int16, kRtInt16, ValidateRange(0,7) )
403  FX_REGVAR_DEF( OdInt16, VTFPS, (7), Int16, kRtInt16, ValidateRange(1,30) )
404 
405  FX_REGVAR_DEF( OdInt16, WHIPARC, (1), Int16, kRtInt16, ValidateRange(0,1) )
406  FX_REGVAR_DEF( OdInt16, WHIPTHREAD, (1), Int16, kRtInt16, ValidateRange(0,3) )
407  FX_REGVAR_DEF( OdInt16, WINDOWAREACOLOR, (5), Int16, kRtInt16, ValidateRange(1, 255) )
408  FX_REGVAR_DEF( OdInt16, WMFFOREGND, (0), Int16, kRtInt16, ValidateRange(0,1) )
409  FX_REGVAR_DEF( OdInt16, WMFBKGND, (0), Int16, kRtInt16, ValidateRange(0,1) )
410 #if TD_VERSION < 40301
411  FX_REGVAR_DEF( OdInt16, XDWGFADECTL, (50), Int16, kRtInt16, ValidateRange(-90,90) )
412 #endif
413  // removed with DD 3.5
414  //FX_REGVAR_DEF( OdInt16, XFADECTL, (50), Int16, kRtInt16, ValidateRange(1,90))
415  FX_REGVAR_DEF( OdInt16, XLOADCTL, (2), Int16, kRtInt16, ValidateRange(0,2) )
416  FX_REGVAR_DEF( OdString, XLOADPATH , (""), String, kRtString, ValidateNone() )
417  FX_REGVAR_DEF( OdInt16, XREFCTL, (0), Int16, kRtInt16, ValidateRange(0,1) )
418  FX_REGVAR_DEF( OdInt16, XREFTYPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
419  FX_REGVAR_DEF( OdInt16, XREFNOTIFY, (2), Int16, kRtInt16, ValidateRange(0,2) )
420 
421  FX_REGVAR_DEF( double, ZINSCALE, (0.5), Double, kRtDouble, ValidatePositive() )
422  FX_REGVAR_DEF( OdInt16, ZOOMFACTOR, (60), Int16, kRtInt16, ValidateRange(3,100) )
423  FX_REGVAR_DEF( OdInt16, ZOOMWHEEL, (0), Int16, kRtInt16, ValidateRange(0,1) )
424  FX_REGVAR_DEF( double, ZOUTSCALE, (2.0), Double, kRtDouble, ValidatePositive() )
425 
426  FX_REGVAR_DEF( OdInt32, DEBUGMODE, (0), Int32, kRtInt32, ValidateNone() )
427  FX_REGVAR_DEF( OdInt32, DEBUGMODE2, (0), Int32, kRtInt32, ValidateNone() )
428  FX_REGVAR_DEF( OdInt32, DISPLAYOPTIONS, (0), Int32, kRtInt32, ValidateNone() )
429 
430  FX_REGVAR_DEF( bool, PAGESETUPMANAGER, (false), Bool, kRtBool, ValidateNone() )
431 
432  //RGRAEBERT: these two variables are off-limits. do not use them in code: #5424
433  FX_REGVAR_DEF( double, POLARANG, (90.0), Double, kRtDouble, ValidateRange(0.0,360.0) )
434  FX_REGVAR_DEF( OdString, POLARADDANG, (""), String, kRtString, ValidateNone() )
435  FX_REGVAR_DEF( OdString, CMDLNTEXT, (""), String, kRtString, ValidateNone() )
436 
437  FX_REGVAR_DEF( OdInt16, INITGETFLAG, (0), Int16, kRtInt16, ValidateRange(0,2) )
438 
439  FX_REGVAR_DEF( OdInt16, UOSNAP, (0), Int16, kRtInt16, ValidateRange(0,1) )
440 
441  FX_REGVAR_DEF( OdString, APIPATH, (""), String, kRtString, ValidateNone() )
442  FX_REGVAR_DEF( OdInt16, APILANGUAGE, (0), Int16, kRtInt16, ValidatePositive() )
443  FX_REGVAR_DEF( OdInt16, APILEVEL, (0), Int16, kRtInt16, ValidatePositive() )
444 
445  FX_REGVAR_DEF( OdInt16, VSTALANGUAGE, (0), Int16, kRtInt16, ValidatePositive() )
446 
447  FX_REGVAR_DEF( OdString, ACTPATH, (""), String, kRtString, ValidateNone() )
448  FX_REGVAR_DEF( OdInt16, GROUPDISPLAYMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
449 #if TD_VERSION > 30901
450 #else
451  FX_REGVAR_DEF( OdInt16, OBJECTISOLATIONMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
452 #endif
453  FX_REGVAR_DEF( OdInt16, ATTIPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
454  FX_REGVAR_DEF( OdInt16, ATTMULTI, (1), Int16, kRtInt16, ValidateRange(0,1) )
455 
456  //FX_REGVAR_DEF( OdInt16, AUTOCOMPLETEMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
457  FX_REGVAR_DEF( OdInt16, INPUTSEARCHDELAY, (400), Int16, kRtInt16, ValidateRange(100,10000) )
458 
459  //FX_REGVAR_DEF( OdInt16, DWGCHECK, (1), Int16, kRtInt16, ValidateNone() )
460  //FX_REGVAR_DEF( double, ANGBASE, (0.0), Double, kRtDouble, ValidateNone() )
461  //FX_REGVAR_DEF( OdString, CTAB, (""), String, kRtString, ValidateNone() )
462  // removed with DD 3.5
463  //FX_REGVAR_DEF( OdInt16, DIMUNIT, (2), Int16, kRtInt16, ValidateRange(0,3) )
464  //FX_REGVAR_DEF( OdInt32, OLEFRAME, (0), Int32, kRtInt32, ValidateRange(0,1) )
465  //FX_REGVAR_DEF( OdInt16, PERSPECTIVE, (0), Int16, kRtInt16, ValidateRange(0,1) )
466 
467  //SECURITY OPTIONS
468  FX_REGVAR_DEF( OdInt16, SECURELOAD, ( 1 ), Int16, kRtInt16, ValidateRange( 0, 2 ) )
469  FX_REGVAR_DEF( OdString, TRUSTEDPATHS, ( "" ), String, kRtString, ValidateNone() )
470  FX_REGVAR_DEF( bool, LEGACYCODESEARCH, ( false ), Bool, kRtBool, ValidateRange( 0, 1 ) )
471  FX_REGVAR_DEF( bool, ACADLSPASDOC, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
472  FX_REGVAR_DEF( bool, SECUREREMOTEACCESS, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
473 
474  FX_REGVAR_DEF( bool, FILEPREVIEW, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
475 
476  //Drawing Compare
477  FX_REGVAR_DEF( OdString, COMPARECOLOR1, (OD_T("82")), String, kRtString, ValidateStringColor() )
478  FX_REGVAR_DEF( OdString, COMPARECOLOR2, (OD_T("1")), String, kRtString, ValidateStringColor() )
479  FX_REGVAR_DEF( OdString, COMPARECOLORCOMMON, (OD_T("253")), String, kRtString, ValidateStringColor() )
480  FX_REGVAR_DEF( OdInt8, COMPAREPROPS, (0), Int8, kRtInt8, ValidateRange(0, 127) )
481  FX_REGVAR_DEF( OdInt16, COMPARESHOWRC, (1), Int16, kRtInt16, ValidateRange(0, 1))
482 
483  //View Cube
484  FX_REGVAR_DEF( OdInt16, DISPLAYVIEWCUBEIN2D, (1), Int16, kRtInt16, ValidateRange(0, 1) )
485  FX_REGVAR_DEF( OdInt16, DISPLAYVIEWCUBEIN3D, (1), Int16, kRtInt16, ValidateRange(0, 1) )
486  FX_REGVAR_DEF( OdInt16, NAVVCUBELOCATION, (0), Int16, kRtInt16, ValidateRange(0, 3) )
487  FX_REGVAR_DEF( OdInt16, NAVVCUBEOPACITY, (50), Int16, kRtInt16, ValidateRange(0, 100))
488 
489 #endif //FX_REGVAR_DEF
490 
491 
492 #if defined( FX_REGVAR_DEF_RO )
493 
494  FX_REGVAR_DEF_RO( OdString, _PKSER, ("999-00000000000"), String, kRtString, ValidateNone() )
495  FX_REGVAR_DEF_RO( OdString, ACADPREFIX, (""), String, kRtString, ValidateNone() )
496  FX_REGVAR_DEF_RO( OdString, ACADVER, ("17.0"), String, kRtString, ValidateNone() )
497  FX_REGVAR_DEF_RO( OdInt16, ACTDB, (-1), Int16, kRtInt16, ValidateNone() )
498 
499  FX_REGVAR_DEF_RO( OdInt16, BLOCKEDITOR, (0), Int16, kRtInt16, ValidateNone() )
500 
501  FX_REGVAR_DEF_RO( OdInt16, CLEANSCREENSTATE, (0), Int16, kRtInt16, ValidateNone() )
502  FX_REGVAR_DEF_RO( OdString, CPROFILE, ("<<Unnamed Profile>>"), String, kRtString, ValidateNone() )
503 
504  // Constraints:
505  FX_REGVAR_DEF_RO( OdInt16, CONSTRAINTRELAX, (0), Int16, kRtInt16, ValidateRange(0,1) )
506  FX_REGVAR_DEF_RO( OdInt16, PARAMETERSSTATUS, (0), Int16, kRtInt16, ValidateRange(0,1) )
507 #if TD_VERSION > 30901
508 #else
509  FX_REGVAR_DEF_RO( OdInt16, DIMANNO, (0), Int16, kRtInt16, ValidateRange(0,1) )
510 #endif
511 
512  FX_REGVAR_DEF_RO( OdString, ENTERPRISEMENU, ("."), String, kRtString, ValidateNone() )
513  FX_REGVAR_DEF_RO( OdInt16, ERSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
514 
515  FX_REGVAR_DEF_RO( OdString, FCVERSION, ("8.00"), String, kRtString, ValidateNone() )
516  FX_REGVAR_DEF_RO( OdInt16, FULLOPEN, (0), Int16, kRtInt16, ValidateNone() )
517 
518  FX_REGVAR_DEF_RO( OdString, LASTPROMPT, (""), String, kRtString, ValidateNone() )
519  FX_REGVAR_DEF_RO( OdInt16, LIGHTLISTSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
520  FX_REGVAR_DEF_RO( OdString, LOCALE, (""), String, kRtString, ValidateNone() )
521 
522  FX_REGVAR_DEF_RO( OdInt32, MEMORYSIZE, (0), Int32, kRtInt32, ValidateNone() )
523  FX_REGVAR_DEF_RO( OdString, MYDOCUMENTSPREFIX, ("pathname"), String, kRtString, ValidateNone() )
524 
525  FX_REGVAR_DEF_RO( OdInt16, OPMSTATE, (0), Int16, kRtInt16, ValidateRange(0,2) )
526  FX_REGVAR_DEF_RO( OdInt16, CLOUDSTORAGESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
527  FX_REGVAR_DEF_RO( OdInt16, COMMENTSPALETTESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
528  FX_REGVAR_DEF_RO( OdInt16, DRAWINGCOMPARESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
529 
530  FX_REGVAR_DEF_RO( OdInt16, PFACEVMAX, (4), Int16, kRtInt16, ValidateNone() )
531  FX_REGVAR_DEF_RO( OdString, PLATFORM, (""), String, kRtString, ValidateNone() )
532  FX_REGVAR_DEF_RO( OdInt16, POPUPS, (1), Int16, kRtInt16, ValidateNone() )
533 
534  FX_REGVAR_DEF_RO( OdString, REFEDITNAME, (""), String, kRtString, ValidateNone() )
535  FX_REGVAR_DEF_RO( OdString, BEDITNAME, (""), String, kRtString, ValidateNone() )
536  FX_REGVAR_DEF_RO( OdString, ROAMABLEROOTPREFIX, ("pathname"), String, kRtString, ValidateNone() )
537 
538  FX_REGVAR_DEF_RO( OdString, SAVEFILE, (""), String, kRtString, ValidateNone() )
539  FX_REGVAR_DEF_RO( OdString, SAVENAME, (""), String, kRtString, ValidateNone() )
540  FX_REGVAR_DEF_RO( OdGePoint2d, SCREENSIZE, (0,0), Point2d, kRtPoint2d, ValidateNone() )
541  FX_REGVAR_DEF_RO( OdString, SERNUMBER, ("999-00000000000"), String, kRtString, ValidateNone() )
542 
543  FX_REGVAR_DEF_RO( OdInt16, SCREENBOXES, (0), Int16, kRtInt16, ValidateNone() )
544  FX_REGVAR_DEF_RO( OdInt16, SCREENMODE, (3), Int16, kRtInt16, ValidateNone() )
545  FX_REGVAR_DEF_RO( OdString, SSFOUND, (""), String, kRtString, ValidateNone() )
546 
547  FX_REGVAR_DEF_RO( OdString, TEMPPREFIX, ("pathname"), String, kRtString, ValidateNone() )
548 
549  FX_REGVAR_DEF_RO( OdInt16, VPMAXIMIZEDSTATE, (0), Int16, kRtInt16, ValidateNone() )
550 
551  FX_REGVAR_DEF_RO( OdInt16, ADCSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
552  FX_REGVAR_DEF_RO( OdInt16, APSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
553  FX_REGVAR_DEF_RO( OdInt16, ASSISTSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
554  FX_REGVAR_DEF_RO( OdInt16, CLISTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
555  FX_REGVAR_DEF_RO( OdInt16, DASHBOARDSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
556  FX_REGVAR_DEF_RO( OdInt16, DRSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
557  FX_REGVAR_DEF_RO(OdInt16, LAYERMANAGERSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1))
558  FX_REGVAR_DEF_RO(OdInt16, VPLAYEROVERRIDESMODE, (0), Int16, kRtInt16, ValidateRange(0, 1))
559  FX_REGVAR_DEF_RO( OdInt16, MATSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
560  FX_REGVAR_DEF_RO( OdInt16, MSMSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
561  FX_REGVAR_DEF_RO( OdString, PRODUCT, (""), String, kRtString, ValidateNone() )
562  FX_REGVAR_DEF_RO( OdString, PROGRAM, (""), String, kRtString, ValidateNone() )
563  FX_REGVAR_DEF_RO( OdInt16, QCSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
564  FX_REGVAR_DEF_RO( OdInt16, RENDERPREFSSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
565  FX_REGVAR_DEF_RO( OdInt16, SSMSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
566  FX_REGVAR_DEF_RO( OdInt16, SUNPROPERTIESSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
567  FX_REGVAR_DEF_RO( OdInt16, TPSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
568  FX_REGVAR_DEF_RO( OdInt16, VSSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
569  FX_REGVAR_DEF_RO( OdInt16, ACTRECORDERSTATE, (0), Int16, kRtInt16, ValidateRange(0,2) )
570  FX_REGVAR_DEF_RO( OdInt16, VSTAVISIBLE, (0), Int16, kRtInt16, ValidateRange(0,1) )
571  FX_REGVAR_DEF_RO( OdInt16, VSTASTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
572  FX_REGVAR_DEF_RO( OdInt16, VERSIONHISTORYSTATE,(0), Int16, kRtInt16, ValidateRange(0,1) )
573  FX_REGVAR_DEF_RO( OdString, BUILDVERSION, (""), String, kRtString, ValidateNone() )
574  //FX_REGVAR_DEF_RO( OdString, LOCALROOTPREFIX, ("pathname"), String, kRtString, ValidateNone() )
575  //FX_REGVAR_DEF_RO( double, DATE, (0.0), Double, ValidatePositive() )
576  //FX_REGVAR_DEF_RO( OdInt16, UNDOMARKS, (0), Int16, kRtInt16, ValidateNone() )
577 #endif // FX_REGVAR_DEF_RO
578 
579 #if defined( FX_REGVAR_DEF_NO_SAVE )
580 
581  FX_REGVAR_DEF_NO_SAVE( OdInt32, EXPERT, (0), Int32, kRtInt32, ValidateRange(0,5) )
582  FX_REGVAR_DEF_NO_SAVE( OdString, WSCURRENT, (""), String, kRtString, ValidateNone() )
583 
584  FX_REGVAR_DEF_NO_SAVE( OdInt16, SPLDEGREE, (3), Int16, kRtInt16, ValidateRange( 1, 5 ) )
585  FX_REGVAR_DEF_NO_SAVE( OdInt16, SPLMETHOD, (0), Int16, kRtInt16, ValidateRange( 0, 1 ) )
586  FX_REGVAR_DEF_NO_SAVE( OdInt16, SPLKNOTS, (0), Int16, kRtInt16, ValidateRange( 0, 2 ) )
587 
588  #undef FX_REGVAR_DEF_NO_SAVE
589 
590 #endif // FX_REGVAR_DEF_NO_SAVE
591 
592 #if defined( FX_REGVAR_DEF_RO_SAVE )
593 
594  FX_REGVAR_DEF_RO_SAVE( OdString, LASTATTACHFOLDER, (""), String, kRtString, ValidateNone() )
595  FX_REGVAR_DEF_RO_SAVE( OdString, LASTOPENFOLDER, (""), String, kRtString, ValidateNone() )
596  FX_REGVAR_DEF_RO_SAVE( OdString, LASTINSERTFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
597  FX_REGVAR_DEF_RO_SAVE( OdString, LASTSHAPEFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
598  FX_REGVAR_DEF_RO_SAVE( OdString, LASTSCRIPTFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
599  FX_REGVAR_DEF_RO_SAVE( OdString, LASTLISPFOLDER, (""), String, kRtString, ValidateNone() ) //#13744
600  FX_REGVAR_DEF_RO_SAVE( OdString, LASTAPPLOADFOLDER, (""), String, kRtString, ValidateNone() )
601  FX_REGVAR_DEF_RO_SAVE( OdString, TABMENUNAME, (""), String, kRtString, ValidateNone() )
602  FX_REGVAR_DEF_RO_SAVE( OdInt16, RIBBONSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) ) //#56307
603 
604  #undef FX_REGVAR_DEF_RO_SAVE
605 
606 #endif // FX_REGVAR_DEF_RO_SAVE
607 
608 #include "FxPragmaPop.h"
ValidateRange(0, 8)) VAR_DEF(double
ValidateNone()) VAR_DEF(OdUInt16
ValidatePositive()) VAR_DEF(ODTDECSEP
true
Definition: DimVarDefs.h:2046
false
Definition: DimVarDefs.h:165
#define FX_REGVAR_DEF_RO(type, name, def_val, filerType, rbType, validation)
Definition: FxDatabase.h:244
#define FX_REGVAR_DEF(type, name, def_val, filerType, rbType, validation)
Definition: FxDatabase.h:243
#define OD_T(x)
short OdInt16
signed char OdInt8
int OdInt32
@ String
Definition: Tf.h:402
@ Double
Definition: Tf.h:400
@ Bool
Definition: Tf.h:392
@ Point2d
Definition: Tf.h:408