CFx SDK Documentation  2022 SP0
FxSysVarDefs.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2021 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 #if defined(_SW_VERSION)
177  FX_REGVAR_DEF( OdInt16, GRIPMULTIFUNCTIONAL, (2), Int16, kRtInt16, ValidateRange(0,3) )
178 #else
179  FX_REGVAR_DEF( OdInt16, GRIPMULTIFUNCTIONAL, (0), Int16, kRtInt16, ValidateRange(0,3) )
180 #endif
181  FX_REGVAR_DEF( OdInt16, HIDEPRECISION, (0), Int16, kRtInt16, ValidateRange(0,1) )
182  FX_REGVAR_DEF( OdInt16, HIGHLIGHT, (1), Int16, kRtInt16, ValidateRange(0,1) )
183  FX_REGVAR_DEF( OdInt16, HIGHLIGHTCOLOR, (0), Int16, kRtInt16, ValidateRange(0,254) )
184 
185  FX_REGVAR_DEF( OdInt16, HPANNOTATIVE, (0), Int16, kRtInt16, ValidateRange(0,1) )
186  FX_REGVAR_DEF( double, HPGAPTOL, (0.0), Double, kRtDouble, ValidateRange(0.0,5000.0) )
187  FX_REGVAR_DEF( OdInt32, HPOBJWARNING, (10000), Int32, kRtInt32, ValidateNone() )
188  FX_REGVAR_DEF( OdInt16, HPORIGINMODE, (0), Int16, kRtInt16, ValidateRange(0,15) )
189  FX_REGVAR_DEF( OdInt16, HPSEPARATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
190  FX_REGVAR_DEF( OdInt16, HPQUICKPREVIEW, (1), Int16, kRtInt16, ValidateRange(0,1) )
191 
192  FX_REGVAR_DEF( OdInt16, IMPLIEDFACE, (1), Int16, kRtInt16, ValidateRange(0,1) )
193  FX_REGVAR_DEF( OdString, INETLOCATION, (""), String, kRtString, ValidateNone() )
194  FX_REGVAR_DEF( OdString, INIFILENAME, ("APPLICATION.INI"),String, kRtString, ValidateNone() )
195  FX_REGVAR_DEF( OdInt16, INPUTHISTORYMODE, (15), Int16, kRtInt16, ValidateRange(0,15) )
196  FX_REGVAR_DEF( OdInt16, INSUNITSDEFSOURCE, (0), Int16, kRtInt16, ValidateRange(0,20) )
197  FX_REGVAR_DEF( OdInt16, INSUNITSDEFTARGET, (0), Int16, kRtInt16, ValidateRange(0,20) )
198  FX_REGVAR_DEF( OdInt16, INTELLIGENTUPDATE, (20), Int16, kRtInt16, ValidateRange(0,100) )
199  FX_REGVAR_DEF( bool, IMAGEHLT, (true), Bool, kRtBool, ValidateNone() )
200 #if TD_VERSION < 40101
201  FX_REGVAR_DEF( OdInt16, ISAVEPERCENT, (50), Int16, kRtInt16, ValidateRange(0,100) )
202 #endif
203  FX_REGVAR_DEF( bool, ISAVEBAK, (true), Bool, kRtBool, ValidateNone() )
204 
205  FX_REGVAR_DEF( OdInt32, LAYERFILTERALERT, (2), Int32, kRtInt32, ValidateRange(0,3) )
206 #if TD_VERSION < 40301
207  FX_REGVAR_DEF( OdInt16, LAYLOCKFADECTL, (50), Int16, kRtInt16, ValidateRange(-90,90))
208 #endif
209  FX_REGVAR_DEF( OdInt32, LAYOUTREGENCTL, (2), Int32, kRtInt32, ValidateRange(0,2) )
210  FX_REGVAR_DEF( OdInt32, LANGUAGE, (0), Int32, kRtInt32, ValidateRange(0,23) )
211  FX_REGVAR_DEF( OdInt16, LISPINIT, (1), Int16, kRtInt16, ValidateRange(0,1) )
212  FX_REGVAR_DEF( OdInt16, LWUNITS, (1), Int16, kRtInt16, ValidateRange(0,1) )
213  FX_REGVAR_DEF( OdString, LOGFILEPATH, (""), String, kRtString, ValidateDirPath() )
214  FX_REGVAR_DEF( OdInt16, LOCKUI, (0), Int16, kRtInt16, ValidateRange(0,15) )
215 
216  FX_REGVAR_DEF( OdInt16, MAXSORT, (1000), Int16, kRtInt16, ValidatePositive() )
217  FX_REGVAR_DEF( OdInt16, MBUTTONPAN, (1), Int16, kRtInt16, ValidateRange(0,1) )
218  FX_REGVAR_DEF( OdInt16, MEASUREINIT, (1), Int16, kRtInt16, ValidateRange(0,1) )
219  FX_REGVAR_DEF( OdInt16, MENUCTL, (1), Int16, kRtInt16, ValidateRange(0,1) )
220  FX_REGVAR_DEF( OdInt16, MENUECHO, (0), Int16, kRtInt16, ValidateRange(0,16) )
221  FX_REGVAR_DEF( OdString, MODEMACRO, (""), String, kRtString, ValidateNone() )
222  FX_REGVAR_DEF( OdString, MTEXTED, ("Internal"), String, kRtString, ValidateNone() )
223  FX_REGVAR_DEF( bool, MSTOPONERR, (true), Bool, kRtBool, ValidateNone() )
224  FX_REGVAR_DEF( OdInt16, MTEXTFIXED, (2), Int16, kRtInt16, ValidateRange(0,2) )
225  FX_REGVAR_DEF( OdString, MTJIGSTRING, ("abc"), String, kRtString, ValidateNone() )
226 
227  FX_REGVAR_DEF( OdInt16, NOMUTT, (0), Int16, kRtInt16, ValidateRange(0,1) )
228 
229  FX_REGVAR_DEF( OdInt16, OFFSETGAPTYPE, (0), Int16, kRtInt16, ValidateRange(0, 2) )
230 #if TD_VERSION > 30901
231 #else
232  FX_REGVAR_DEF( OdInt16, OLEHIDE, (0), Int16, kRtInt16, ValidateRange(0,3) )
233  FX_REGVAR_DEF( OdInt16, OLEQUALITY, (3), Int16, kRtInt16, ValidateRange(0,3) )
234 #endif
235  FX_REGVAR_DEF( OdInt32, OPENFILTERINDEX, (0), Int32, kRtInt32, ValidateRange(0,6) )
236  FX_REGVAR_DEF( OdInt32, OPENGLTEXTURESIZEMAX, (1024), Int32, kRtInt32, ValidateRange(512,32768) )
237  FX_REGVAR_DEF( OdInt16, ORBITAUTOTARGET, (1), Int16, kRtInt16, ValidateRange(0,1) )
238  FX_REGVAR_DEF(OdInt16, LAYERDLGMODE, (1), Int16, kRtInt16, ValidateRange(0, 1))
239  FX_REGVAR_DEF( OdInt32, OSNAPCOORD, (2), Int32, kRtInt32, ValidateRange(0,2) )
240  FX_REGVAR_DEF( OdInt32, OSNAPNODELEGACY, (0), Int32, kRtInt32, ValidateRange(0,1) )
241  FX_REGVAR_DEF( OdInt32, OSNAPOVERRIDE, (0), Int32, kRtInt32, ValidateRange(0,1) )
242  FX_REGVAR_DEF( OdInt32, OSNAPHATCH, (0), Int32, kRtInt32, ValidateRange(0,1) )
243  FX_REGVAR_DEF( OdInt32, OSNAPZ, (0), Int32, kRtInt32, ValidateNone() )
244  FX_REGVAR_DEF( OdInt32, OSOPTIONS, (7), Int32, kRtInt32, ValidateRange(0,7) )
245  FX_REGVAR_DEF( OdInt16, 3DOSMODE, (11), Int16, kRtInt16, ValidateRange(1, 127))
246 
247  FX_REGVAR_DEF( OdInt16, PALETTEOPAQUE, (0), Int16, kRtInt16, ValidateRange(0,3) )
248  FX_REGVAR_DEF( double, PANSCALE, (0.5), Double, kRtDouble, ValidatePositive() )
249  FX_REGVAR_DEF( OdInt16, PAPERUPDATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
250  FX_REGVAR_DEF( OdInt16, PEDITACCEPT, (0), Int16, kRtInt16, ValidateRange(0,1) )
251 
252 #if !defined(_SW_VERSION)
253  FX_REGVAR_DEF( OdInt32, PICKAUTO, (5), Int32, kRtInt32, ValidateRange(-7,7) )
254  FX_REGVAR_DEF( OdInt32, PICKDRAG, (2), Int32, kRtInt32, ValidateRange(0,2) )
255 #else
256  FX_REGVAR_DEF( OdInt32, PICKAUTO, (1), Int32, kRtInt32, ValidateRange(0,1) )
257  FX_REGVAR_DEF( OdInt32, PICKDRAG, (0), Int32, kRtInt32, ValidateRange(0,1) )
258 #endif
259 
260  FX_REGVAR_DEF( OdInt16, PLOTROTMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
261  FX_REGVAR_DEF( OdInt16, PLOTOFFSET, (0), Int16, kRtInt16, ValidateRange(0,1) )
262 #if TD_VERSION < 40301
263  FX_REGVAR_DEF( OdInt32, PLOTTRANSPARENCYOVERRIDE,(1), Int32, kRtInt32, ValidateRange(0,2) )
264 #endif
265  FX_REGVAR_DEF( OdString, PLOTTER, (""), String, kRtString, ValidateNone() )
266  FX_REGVAR_DEF( OdInt32, PLQUIET, (0), Int32, kRtInt32, ValidateRange(0,1) )
267  FX_REGVAR_DEF( double, POLARDIST, (0.0), Double, kRtDouble, ValidatePositive() )
268  FX_REGVAR_DEF( OdInt16, POLARMODE, (0), Int16, kRtInt16, ValidateRange(0,15) )
269  FX_REGVAR_DEF( OdInt16, POLYSIDES, (4), Int16, kRtInt16, ValidateRange(3,1024) )
270  FX_REGVAR_DEF( OdInt16, PRESELECTIONEFFECT, (1), Int16, kRtInt16, ValidateRange(0, 1) )
271  FX_REGVAR_DEF( OdInt32, PREVIEWCREATIONTRANSPARENCY,(60), Int32, kRtInt32, ValidateRange(0,90) )
272  FX_REGVAR_DEF( OdInt16, PREVIEWFILTER, (7), Int16, kRtInt16, ValidateRange(0, 63) )
273  FX_REGVAR_DEF( OdInt16, PREVIEWEFFECT, (2), Int16, kRtInt16, ValidateRange(0, 3) )
274  FX_REGVAR_DEF( OdInt16, PROJMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
275  FX_REGVAR_DEF( OdInt16, PROXYWEBSEARCH, (0), Int16, kRtInt16, ValidateRange(0,1) )
276  FX_REGVAR_DEF( bool, PROXYNOTICE, (true), Bool, kRtBool, ValidateNone() )
277  FX_REGVAR_DEF( OdInt16, PSQUALITY, (2), Int16, kRtInt16, ValidateRange(0,2) )
278  FX_REGVAR_DEF( OdString, PSPROLOG, (""), String, kRtString, ValidateNone() )
279  FX_REGVAR_DEF( OdInt32, PSTYLEPOLICY, (0), Int32, kRtInt32, ValidateRange(0,1) )
280  FX_REGVAR_DEF( OdInt16, PUBLISHALLSHEETS, (1), Int16, kRtInt16, ValidateRange(0,1) )
281  FX_REGVAR_DEF( OdInt16, QAFLAGS, (0), Int16, kRtInt16, ValidateRange(0,32767) )
282 
283  FX_REGVAR_DEF( OdInt16, RASTERDPI, (300), Int16, kRtInt16, ValidateRange(100, 32767) )
284  FX_REGVAR_DEF( OdInt16, RASTERTHRESHOLD, (0), Int16, kRtInt16, ValidateRange(0, 2000) )
285  FX_REGVAR_DEF( bool, RASTERPREVIEW, (true), Bool, kRtBool, ValidateNone() )
286  FX_REGVAR_DEF( OdInt16, RCLICKCONTEXTMENUTIME, (250), Int16, kRtInt16, ValidateRange(100,10000) )
287  FX_REGVAR_DEF( OdInt16, RENDERENGINE, (2), Int16, kRtInt16, ValidateRange(0, 5) )
288  FX_REGVAR_DEF( OdInt16, RE_INIT, (0), Int16, kRtInt16, ValidateRange(0, 16) )
289  FX_REGVAR_DEF( OdInt16, RECOVERYMODE, (2), Int16, kRtInt16, ValidateRange(0, 2) )
290  FX_REGVAR_DEF( OdInt16, REMEMBERFOLDERS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
291  FX_REGVAR_DEF( OdInt16, REPORTERROR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
292  FX_REGVAR_DEF( bool, RTDISPLAY, (false), Bool, kRtBool, ValidateNone() )
293 
294  FX_REGVAR_DEF( OdString, SAVEFILEPATH, (""), String, kRtString, ValidateDirPath() )
295  FX_REGVAR_DEF( OdInt32, SAVEFILTERINDEX, (0), Int32, kRtInt32, ValidateRange(0,29) )
296  FX_REGVAR_DEF( OdInt32, SAVETIME, (10), Int32, kRtInt32, ValidateRange(0,600) )
297  FX_REGVAR_DEF( bool, SDI, (false), Bool, kRtBool, ValidateRange(0, 1) )
298  FX_REGVAR_DEF( OdInt32, SELECTBOX, (3), Int32, kRtInt32, ValidateNone() )
299  FX_REGVAR_DEF( OdInt16, SELECTIONANNODISPLAY, (1), Int16, kRtInt16, ValidateRange(0, 1) )
300  FX_REGVAR_DEF( OdInt16, SELECTIONCYCLING, (2), Int16, kRtInt16, ValidateRange(-2, 2) )
301  FX_REGVAR_DEF( OdInt16, SELECTIONPREVIEW, (3), Int16, kRtInt16, ValidateRange(0, 3) )
302  FX_REGVAR_DEF( OdInt16, SELECTIONAREA, (1), Int16, kRtInt16, ValidateRange(0, 1) )
303  FX_REGVAR_DEF( OdInt16, SELECTIONAREAOPACITY, (25), Int16, kRtInt16, ValidateRange(0, 100) )
304  FX_REGVAR_DEF( OdInt16, SELECTIONEFFECT, (1), Int16, kRtInt16, ValidateRange(0, 1) )
305  FX_REGVAR_DEF( OdInt16, SELECTSIMILARMODE, (130), Int16, kRtInt16, ValidateNone() )
306  FX_REGVAR_DEF( OdInt16, SETBYLAYERMODE, (255), Int16, kRtInt16, ValidateRange(0, 255) )
307  FX_REGVAR_DEF( OdString, SHAPEALT, (""), String, kRtString, ValidateNone() )
308  FX_REGVAR_DEF( OdString, SHPNAME, (""), String, kRtString, ValidateNone() )
309  FX_REGVAR_DEF( OdInt16, SHOWLAYERUSAGE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
310  FX_REGVAR_DEF( bool, SHOWHYPERLINKCURSOR, (true), Bool, kRtBool, ValidateNone() )
311  FX_REGVAR_DEF( OdInt16, SIGWARN, (1), Int16, kRtInt16, ValidateRange(0, 1) )
312  //Sets the type of snap for the current viewport.
313  FX_REGVAR_DEF( OdInt16, SNAPTYPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
314  //Controls whether Default, Edit, and Command mode shortcut menus are available in the drawing area.
315  FX_REGVAR_DEF( OdInt16, SHORTCUTMENU, (11), Int16, kRtInt16, ValidateRange(0,63) )
316  FX_REGVAR_DEF( bool, SOLIDCHECK, (true), Bool, kRtBool, ValidateNone() )
317  FX_REGVAR_DEF( OdInt16, SPACESWITCH, (1), Int16, kRtInt16, ValidateRange(0, 1) )
318  FX_REGVAR_DEF( bool, SPLPERIODIC, (false), Bool, kRtBool, ValidateNone() )
319  FX_REGVAR_DEF( OdInt16, STARTUP, (1), Int16, kRtInt16, ValidateRange(0, 1) )
320  FX_REGVAR_DEF( OdInt16, SSLOCATE, (1), Int16, kRtInt16, ValidateRange(0, 1) )
321  FX_REGVAR_DEF( OdInt16, SSMAUTOOPEN, (1), Int16, kRtInt16, ValidateRange(0, 1) )
322  FX_REGVAR_DEF( OdInt16, SSMPOLLTIME, (60), Int16, kRtInt16, ValidateRange(20, 600) )
323  FX_REGVAR_DEF( OdInt16, SSMSHEETSTATUS, (2), Int16, kRtInt16, ValidateRange(0, 2) )
324  FX_REGVAR_DEF( OdInt16, STANDARDSVIOLATION, (1), Int16, kRtInt16, ValidateRange(0, 2) )
325  FX_REGVAR_DEF( OdInt16, SUNSTATUS, (0), Int16, kRtInt16, ValidateRange(0, 1) )
326 
327  FX_REGVAR_DEF( OdInt16, TABLEINDICATOR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
328  FX_REGVAR_DEF( OdInt16, TABLETOOLBAR, (2), Int16, kRtInt16, ValidateRange(0, 2) )
329 
330  FX_REGVAR_DEF( OdInt16, TABMODE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
331  FX_REGVAR_DEF( OdInt16, TABDEVICEMODE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
332  FX_REGVAR_DEF( OdInt16, TASKBAR, (1), Int16, kRtInt16, ValidateRange(0, 1) )
333  FX_REGVAR_DEF( OdInt16, TBCUSTOMIZE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
334  //Turns temporary override keys on and off
335  FX_REGVAR_DEF( OdInt16, TEMPOVERRIDES, (1), Int16, kRtInt16, ValidateRange(0,1) )
336  FX_REGVAR_DEF( OdInt16, TEXTEVAL, (0), Int16, kRtInt16, ValidateRange(0, 1) )
337  //Combines drafting tooltips into a single tooltip
338  FX_REGVAR_DEF( OdInt16, TOOLTIPS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
339  FX_REGVAR_DEF( OdInt16, TOOLTIPMERGE, (0), Int16, kRtInt16, ValidateRange(0,1) )
340  FX_REGVAR_DEF( bool, TOUCHSCREENMODE, (false), Bool, kRtBool, ValidateNone() )
341  FX_REGVAR_DEF( OdInt16, TRACKPATH, (0), Int16, kRtInt16, ValidateRange(0,3) )
342  FX_REGVAR_DEF( OdInt32, TRANSPARENCYDISPLAY, (1), Int32, kRtInt32, ValidateRange(0, 1) )
343  FX_REGVAR_DEF( OdInt16, TRAYICONS, (1), Int16, kRtInt16, ValidateRange(0, 1) )
344  FX_REGVAR_DEF( OdInt16, TRAYNOTIFY, (1), Int16, kRtInt16, ValidateRange(0, 1) )
345  FX_REGVAR_DEF( OdInt16, TRAYTIMEOUT, (0), Int16, kRtInt16, ValidateRange(0, 10) )
346  FX_REGVAR_DEF( OdInt32, TREEMAX, (10000000), Int32, kRtInt32, ValidateNone() )
347  FX_REGVAR_DEF( OdInt16, TRIMMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
348  FX_REGVAR_DEF( double, TSPACEFAC, (1.0), Double, kRtDouble, ValidateRange(0.25,4.0) )
349  FX_REGVAR_DEF( OdInt16, TSPACETYPE, (1), Int16, kRtInt16, ValidateRange(1, 2) )
350 
351  FX_REGVAR_DEF( OdInt16, UCSAXISANG, (90), Int16, kRtInt16, ValidateNone() )
352  FX_REGVAR_DEF( OdInt16, UCSDETECT, (1), Int16, kRtInt16, ValidateRange(0,1) )
353  FX_REGVAR_DEF( OdInt16, UCSORTHO, (1), Int16, kRtInt16, ValidateRange(0,1) )
354  FX_REGVAR_DEF( bool, UNDOZOOMPANGROUPING, (true), Bool, kRtBool, ValidateNone() )
355 #if TD_VERSION > 30901
356 #else
357  FX_REGVAR_DEF( OdInt16, VSBACKGROUNDS, (1), Int16, kRtInt16, ValidateRange(0,1) )
358  FX_REGVAR_DEF( OdString, VSEDGECOLOR , ("7"), String, kRtString, ValidateNone() )
359  FX_REGVAR_DEF( OdInt16, VSEDGEJITTER, (-2), Int16, kRtInt16, ValidateRange(-3,3) )
360  FX_REGVAR_DEF( OdInt16, VSEDGEOVERHANG, (-6), Int16, kRtInt16, ValidateRange(-100,100) )
361  FX_REGVAR_DEF( OdInt16, VSEDGES, (1), Int16, kRtInt16, ValidateRange(0,2) )
362  FX_REGVAR_DEF( OdInt16, VSEDGESMOOTH, (1), Int16, kRtInt16, ValidateRange(0,180) )
363  FX_REGVAR_DEF( OdInt16, VSFACECOLORMODE, (0), Int16, kRtInt16, ValidateRange(0,3) )
364  FX_REGVAR_DEF( OdInt16, VSFACEHIGHLIGHT, (-30), Int16, kRtInt16, ValidateRange(-100,100) )
365  FX_REGVAR_DEF( OdInt16, VSFACEOPACITY, (-60), Int16, kRtInt16, ValidateRange(-100,100) )
366  FX_REGVAR_DEF( OdInt16, VSFACESTYLE, (1), Int16, kRtInt16, ValidateRange(0,2) )
367  FX_REGVAR_DEF( OdInt16, VSHALOGAP, (0), Int16, kRtInt16, ValidateRange(0,100) )
368 #endif
369  FX_REGVAR_DEF( OdInt16, VSHIDEPRECISION, (0), Int16, kRtInt16, ValidateNone() )
370 #if TD_VERSION > 30901
371 #else
372  FX_REGVAR_DEF( OdString, VSINTERSECTIONCOLOR , ("7"), String, kRtString, ValidateNone() )
373  FX_REGVAR_DEF( OdInt16, VSINTERSECTIONEDGES, (0), Int16, kRtInt16, ValidateRange(0,1) )
374  FX_REGVAR_DEF( OdInt16, VSINTERSECTIONLTYPE, (1), Int16, kRtInt16, ValidateRange(1,11) )
375  FX_REGVAR_DEF( OdInt16, VSISOONTOP, (0), Int16, kRtInt16, ValidateRange(0,1) )
376  FX_REGVAR_DEF( OdInt16, VSLIGHTINGQUALITY, (1), Int16, kRtInt16, ValidateRange(0,1) )
377  FX_REGVAR_DEF( OdInt16, VSMATERIALMODE, (0), Int16, kRtInt16, ValidateRange(0,2) )
378  FX_REGVAR_DEF( OdString, VSMONOCOLOR , ("RGB:255,255,255"),String, kRtString, ValidateNone() )
379  FX_REGVAR_DEF( OdString, VSOBSCUREDCOLOR , ("BYENTITY"), String, kRtString, ValidateNone() )
380  FX_REGVAR_DEF( OdInt16, VSOBSCUREDEDGES, (1), Int16, kRtInt16, ValidateRange(0,1) )
381  FX_REGVAR_DEF( OdInt16, VSOBSCUREDLTYPE, (1), Int16, kRtInt16, ValidateRange(0,11) )
382  FX_REGVAR_DEF( OdInt16, VSSHADOWS, (0), Int16, kRtInt16, ValidateRange(0,2) )
383  FX_REGVAR_DEF( OdInt16, VSSILHEDGES, (0), Int16, kRtInt16, ValidateRange(0,1) )
384  FX_REGVAR_DEF( OdInt16, VSSILHWIDTH, (5), Int16, kRtInt16, ValidateRange(1,25) )
385 #endif
386  FX_REGVAR_DEF( OdInt16, VTDURATION, (750), Int16, kRtInt16, ValidateRange(0,5000) )
387  FX_REGVAR_DEF( OdInt16, VTENABLE, (3), Int16, kRtInt16, ValidateRange(0,7) )
388  FX_REGVAR_DEF( OdInt16, VTFPS, (7), Int16, kRtInt16, ValidateRange(1,30) )
389 
390  FX_REGVAR_DEF( OdInt16, WHIPARC, (1), Int16, kRtInt16, ValidateRange(0,1) )
391  FX_REGVAR_DEF( OdInt16, WHIPTHREAD, (1), Int16, kRtInt16, ValidateRange(0,3) )
392  FX_REGVAR_DEF( OdInt16, WINDOWAREACOLOR, (5), Int16, kRtInt16, ValidateRange(1, 255) )
393  FX_REGVAR_DEF( OdInt16, WMFFOREGND, (0), Int16, kRtInt16, ValidateRange(0,1) )
394  FX_REGVAR_DEF( OdInt16, WMFBKGND, (0), Int16, kRtInt16, ValidateRange(0,1) )
395 #if TD_VERSION < 40301
396  FX_REGVAR_DEF( OdInt16, XDWGFADECTL, (50), Int16, kRtInt16, ValidateRange(-90,90) )
397 #endif
398  // removed with DD 3.5
399  //FX_REGVAR_DEF( OdInt16, XFADECTL, (50), Int16, kRtInt16, ValidateRange(1,90))
400  FX_REGVAR_DEF( OdInt16, XLOADCTL, (2), Int16, kRtInt16, ValidateRange(0,2) )
401  FX_REGVAR_DEF( OdString, XLOADPATH , (""), String, kRtString, ValidateNone() )
402  FX_REGVAR_DEF( OdInt16, XREFCTL, (0), Int16, kRtInt16, ValidateRange(0,1) )
403  FX_REGVAR_DEF( OdInt16, XREFTYPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
404  FX_REGVAR_DEF( OdInt16, XREFNOTIFY, (2), Int16, kRtInt16, ValidateRange(0,2) )
405 
406  FX_REGVAR_DEF( double, ZINSCALE, (0.5), Double, kRtDouble, ValidatePositive() )
407  FX_REGVAR_DEF( OdInt16, ZOOMFACTOR, (60), Int16, kRtInt16, ValidateRange(3,100) )
408  FX_REGVAR_DEF( OdInt16, ZOOMWHEEL, (0), Int16, kRtInt16, ValidateRange(0,1) )
409  FX_REGVAR_DEF( double, ZOUTSCALE, (2.0), Double, kRtDouble, ValidatePositive() )
410 
411  FX_REGVAR_DEF( OdInt32, DEBUGMODE, (0), Int32, kRtInt32, ValidateNone() )
412  FX_REGVAR_DEF( OdInt32, DEBUGMODE2, (0), Int32, kRtInt32, ValidateNone() )
413  FX_REGVAR_DEF( OdInt32, DISPLAYOPTIONS, (0), Int32, kRtInt32, ValidateNone() )
414 
415  FX_REGVAR_DEF( bool, PAGESETUPMANAGER, (false), Bool, kRtBool, ValidateNone() )
416 
417  //RGRAEBERT: these two variables are off-limits. do not use them in code: #5424
418  FX_REGVAR_DEF( double, POLARANG, (90.0), Double, kRtDouble, ValidateRange(0.0,360.0) )
419  FX_REGVAR_DEF( OdString, POLARADDANG, (""), String, kRtString, ValidateNone() )
420  FX_REGVAR_DEF( OdString, CMDLNTEXT, (""), String, kRtString, ValidateNone() )
421 
422  FX_REGVAR_DEF( OdInt16, INITGETFLAG, (0), Int16, kRtInt16, ValidateRange(0,2) )
423 
424  FX_REGVAR_DEF( OdInt16, UOSNAP, (0), Int16, kRtInt16, ValidateRange(0,1) )
425 
426  FX_REGVAR_DEF( OdString, APIPATH, (""), String, kRtString, ValidateNone() )
427  FX_REGVAR_DEF( OdInt16, APILANGUAGE, (0), Int16, kRtInt16, ValidatePositive() )
428  FX_REGVAR_DEF( OdInt16, APILEVEL, (0), Int16, kRtInt16, ValidatePositive() )
429 
430  FX_REGVAR_DEF( OdInt16, VSTALANGUAGE, (0), Int16, kRtInt16, ValidatePositive() )
431 
432  FX_REGVAR_DEF( OdString, ACTPATH, (""), String, kRtString, ValidateNone() )
433  FX_REGVAR_DEF( OdInt16, GROUPDISPLAYMODE, (2), Int16, kRtInt16, ValidateRange(0,2) )
434 #if TD_VERSION > 30901
435 #else
436  FX_REGVAR_DEF( OdInt16, OBJECTISOLATIONMODE, (0), Int16, kRtInt16, ValidateRange(0,1) )
437 #endif
438  FX_REGVAR_DEF( OdInt16, ATTIPE, (0), Int16, kRtInt16, ValidateRange(0,1) )
439  FX_REGVAR_DEF( OdInt16, ATTMULTI, (1), Int16, kRtInt16, ValidateRange(0,1) )
440 
441  //FX_REGVAR_DEF( OdInt16, AUTOCOMPLETEMODE, (1), Int16, kRtInt16, ValidateRange(0,1) )
442  FX_REGVAR_DEF( OdInt16, INPUTSEARCHDELAY, (400), Int16, kRtInt16, ValidateRange(100,10000) )
443 
444  //FX_REGVAR_DEF( OdInt16, DWGCHECK, (1), Int16, kRtInt16, ValidateNone() )
445  //FX_REGVAR_DEF( double, ANGBASE, (0.0), Double, kRtDouble, ValidateNone() )
446  //FX_REGVAR_DEF( OdString, CTAB, (""), String, kRtString, ValidateNone() )
447  // removed with DD 3.5
448  //FX_REGVAR_DEF( OdInt16, DIMUNIT, (2), Int16, kRtInt16, ValidateRange(0,3) )
449  //FX_REGVAR_DEF( OdInt32, OLEFRAME, (0), Int32, kRtInt32, ValidateRange(0,1) )
450  //FX_REGVAR_DEF( OdInt16, PERSPECTIVE, (0), Int16, kRtInt16, ValidateRange(0,1) )
451 
452  //SECURITY OPTIONS
453  FX_REGVAR_DEF( OdInt16, SECURELOAD, ( 1 ), Int16, kRtInt16, ValidateRange( 0, 2 ) )
454  FX_REGVAR_DEF( OdString, TRUSTEDPATHS, ( "" ), String, kRtString, ValidateNone() )
455  FX_REGVAR_DEF( bool, LEGACYCODESEARCH, ( false ), Bool, kRtBool, ValidateRange( 0, 1 ) )
456  FX_REGVAR_DEF( bool, ACADLSPASDOC, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
457  FX_REGVAR_DEF( bool, SECUREREMOTEACCESS, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
458 
459  FX_REGVAR_DEF( bool, FILEPREVIEW, ( true ), Bool, kRtBool, ValidateRange( 0, 1 ) )
460 
461  //Drawing Compare
462  FX_REGVAR_DEF( OdString, COMPARECOLOR1, (OD_T("82")), String, kRtString, ValidateStringColor() )
463  FX_REGVAR_DEF( OdString, COMPARECOLOR2, (OD_T("1")), String, kRtString, ValidateStringColor() )
464  FX_REGVAR_DEF( OdString, COMPARECOLORCOMMON, (OD_T("253")), String, kRtString, ValidateStringColor() )
465  FX_REGVAR_DEF( OdInt8, COMPAREPROPS, (0), Int8, kRtInt8, ValidateRange(0, 127) )
466  FX_REGVAR_DEF( OdInt16, COMPARESHOWRC, (1), Int16, kRtInt16, ValidateRange(0, 1))
467 
468 #endif //FX_REGVAR_DEF
469 
470 
471 #if defined( FX_REGVAR_DEF_RO )
472 
473  FX_REGVAR_DEF_RO( OdString, _PKSER, ("999-00000000000"), String, kRtString, ValidateNone() )
474  FX_REGVAR_DEF_RO( OdString, ACADPREFIX, (""), String, kRtString, ValidateNone() )
475  FX_REGVAR_DEF_RO( OdString, ACADVER, ("17.0"), String, kRtString, ValidateNone() )
476  FX_REGVAR_DEF_RO( OdInt16, ACTDB, (-1), Int16, kRtInt16, ValidateNone() )
477 
478  FX_REGVAR_DEF_RO( OdInt16, BLOCKEDITOR, (0), Int16, kRtInt16, ValidateNone() )
479 
480  FX_REGVAR_DEF_RO( OdInt16, CLEANSCREENSTATE, (0), Int16, kRtInt16, ValidateNone() )
481  FX_REGVAR_DEF_RO( OdString, CPROFILE, ("<<Unnamed Profile>>"), String, kRtString, ValidateNone() )
482 
483  // Constraints:
484  FX_REGVAR_DEF_RO( OdInt16, CONSTRAINTRELAX, (0), Int16, kRtInt16, ValidateRange(0,1) )
485  FX_REGVAR_DEF_RO( OdInt16, PARAMETERSSTATUS, (0), Int16, kRtInt16, ValidateRange(0,1) )
486 #if TD_VERSION > 30901
487 #else
488  FX_REGVAR_DEF_RO( OdInt16, DIMANNO, (0), Int16, kRtInt16, ValidateRange(0,1) )
489 #endif
490 
491  FX_REGVAR_DEF_RO( OdString, ENTERPRISEMENU, ("."), String, kRtString, ValidateNone() )
492  FX_REGVAR_DEF_RO( OdInt16, ERSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
493 
494  FX_REGVAR_DEF_RO( OdString, FCVERSION, ("8.00"), String, kRtString, ValidateNone() )
495  FX_REGVAR_DEF_RO( OdInt16, FULLOPEN, (0), Int16, kRtInt16, ValidateNone() )
496 
497  FX_REGVAR_DEF_RO( OdString, LASTPROMPT, (""), String, kRtString, ValidateNone() )
498  FX_REGVAR_DEF_RO( OdInt16, LIGHTLISTSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1) )
499  FX_REGVAR_DEF_RO( OdString, LOCALE, (""), String, kRtString, ValidateNone() )
500 
501  FX_REGVAR_DEF_RO( OdInt32, MEMORYSIZE, (0), Int32, kRtInt32, ValidateNone() )
502  FX_REGVAR_DEF_RO( OdString, MYDOCUMENTSPREFIX, ("pathname"), String, kRtString, ValidateNone() )
503 
504  FX_REGVAR_DEF_RO( OdInt16, OPMSTATE, (0), Int16, kRtInt16, ValidateRange(0,2) )
505  FX_REGVAR_DEF_RO( OdInt16, CLOUDSTORAGESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
506  FX_REGVAR_DEF_RO( OdInt16, COMMENTSPALETTESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
507  FX_REGVAR_DEF_RO( OdInt16, DRAWINGCOMPARESTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
508 
509  FX_REGVAR_DEF_RO( OdInt16, PFACEVMAX, (4), Int16, kRtInt16, ValidateNone() )
510  FX_REGVAR_DEF_RO( OdString, PLATFORM, (""), String, kRtString, ValidateNone() )
511  FX_REGVAR_DEF_RO( OdInt16, POPUPS, (1), Int16, kRtInt16, ValidateNone() )
512 
513  FX_REGVAR_DEF_RO( OdString, REFEDITNAME, (""), String, kRtString, ValidateNone() )
514  FX_REGVAR_DEF_RO( OdString, BEDITNAME, (""), String, kRtString, ValidateNone() )
515  FX_REGVAR_DEF_RO( OdString, ROAMABLEROOTPREFIX, ("pathname"), String, kRtString, ValidateNone() )
516 
517  FX_REGVAR_DEF_RO( OdString, SAVEFILE, (""), String, kRtString, ValidateNone() )
518  FX_REGVAR_DEF_RO( OdString, SAVENAME, (""), String, kRtString, ValidateNone() )
519  FX_REGVAR_DEF_RO( OdGePoint2d, SCREENSIZE, (0,0), Point2d, kRtPoint2d, ValidateNone() )
520  FX_REGVAR_DEF_RO( OdString, SERNUMBER, ("999-00000000000"), String, kRtString, ValidateNone() )
521 
522  FX_REGVAR_DEF_RO( OdInt16, SCREENBOXES, (0), Int16, kRtInt16, ValidateNone() )
523  FX_REGVAR_DEF_RO( OdInt16, SCREENMODE, (3), Int16, kRtInt16, ValidateNone() )
524  FX_REGVAR_DEF_RO( OdString, SSFOUND, (""), String, kRtString, ValidateNone() )
525 
526  FX_REGVAR_DEF_RO( OdString, TEMPPREFIX, ("pathname"), String, kRtString, ValidateNone() )
527 
528  FX_REGVAR_DEF_RO( OdInt16, VPMAXIMIZEDSTATE, (0), Int16, kRtInt16, ValidateNone() )
529 
530  FX_REGVAR_DEF_RO( OdInt16, ADCSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
531  FX_REGVAR_DEF_RO( OdInt16, APSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
532  FX_REGVAR_DEF_RO( OdInt16, ASSISTSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
533  FX_REGVAR_DEF_RO( OdInt16, CLISTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
534  FX_REGVAR_DEF_RO( OdInt16, DASHBOARDSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
535  FX_REGVAR_DEF_RO( OdInt16, DRSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
536  FX_REGVAR_DEF_RO(OdInt16, LAYERMANAGERSTATE, (0), Int16, kRtInt16, ValidateRange(0, 1))
537  FX_REGVAR_DEF_RO(OdInt16, VPLAYEROVERRIDESMODE, (0), Int16, kRtInt16, ValidateRange(0, 1))
538  FX_REGVAR_DEF_RO( OdInt16, MATSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
539  FX_REGVAR_DEF_RO( OdInt16, MSMSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
540  FX_REGVAR_DEF_RO( OdString, PRODUCT, (""), String, kRtString, ValidateNone() )
541  FX_REGVAR_DEF_RO( OdString, PROGRAM, (""), String, kRtString, ValidateNone() )
542  FX_REGVAR_DEF_RO( OdInt16, QCSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
543  FX_REGVAR_DEF_RO( OdInt16, RENDERPREFSSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
544  FX_REGVAR_DEF_RO( OdInt16, SSMSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
545  FX_REGVAR_DEF_RO( OdInt16, SUNPROPERTIESSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
546  FX_REGVAR_DEF_RO( OdInt16, TPSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
547  FX_REGVAR_DEF_RO( OdInt16, VSSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
548  FX_REGVAR_DEF_RO( OdInt16, ACTRECORDERSTATE, (0), Int16, kRtInt16, ValidateRange(0,2) )
549  FX_REGVAR_DEF_RO( OdInt16, VSTAVISIBLE, (0), Int16, kRtInt16, ValidateRange(0,1) )
550  FX_REGVAR_DEF_RO( OdInt16, VSTASTATE, (0), Int16, kRtInt16, ValidateRange(0,1) )
551  FX_REGVAR_DEF_RO( OdInt16, VERSIONHISTORYSTATE,(0), Int16, kRtInt16, ValidateRange(0,1) )
552  FX_REGVAR_DEF_RO( OdString, BUILDVERSION, (""), String, kRtString, ValidateNone() )
553  //FX_REGVAR_DEF_RO( OdString, LOCALROOTPREFIX, ("pathname"), String, kRtString, ValidateNone() )
554  //FX_REGVAR_DEF_RO( double, DATE, (0.0), Double, ValidatePositive() )
555  //FX_REGVAR_DEF_RO( OdInt16, UNDOMARKS, (0), Int16, kRtInt16, ValidateNone() )
556 #endif // FX_REGVAR_DEF_RO
557 
558 #if defined( FX_REGVAR_DEF_NO_SAVE )
559 
560  FX_REGVAR_DEF_NO_SAVE( OdInt32, EXPERT, (0), Int32, kRtInt32, ValidateRange(0,5) )
561  FX_REGVAR_DEF_NO_SAVE( OdString, WSCURRENT, (""), String, kRtString, ValidateNone() )
562 
563  FX_REGVAR_DEF_NO_SAVE( OdInt16, SPLMETHOD, (0), Int16, kRtInt16, ValidateRange( 0, 1 ) )
564  FX_REGVAR_DEF_NO_SAVE( OdInt16, SPLKNOTS, (0), Int16, kRtInt16, ValidateRange( 0, 2 ) )
565 
566  #undef FX_REGVAR_DEF_NO_SAVE
567 
568 #endif // FX_REGVAR_DEF_NO_SAVE
569 
570 #if defined( FX_REGVAR_DEF_RO_SAVE )
571 
572  FX_REGVAR_DEF_RO_SAVE( OdString, LASTATTACHFOLDER, (""), String, kRtString, ValidateNone() )
573  FX_REGVAR_DEF_RO_SAVE( OdString, LASTOPENFOLDER, (""), String, kRtString, ValidateNone() )
574  FX_REGVAR_DEF_RO_SAVE( OdString, LASTINSERTFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
575  FX_REGVAR_DEF_RO_SAVE( OdString, LASTSHAPEFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
576  FX_REGVAR_DEF_RO_SAVE( OdString, LASTSCRIPTFOLDER, (""), String, kRtString, ValidateNone() ) //#14326
577  FX_REGVAR_DEF_RO_SAVE( OdString, LASTLISPFOLDER, (""), String, kRtString, ValidateNone() ) //#13744
578  FX_REGVAR_DEF_RO_SAVE( OdString, LASTAPPLOADFOLDER, (""), String, kRtString, ValidateNone() )
579  FX_REGVAR_DEF_RO_SAVE( OdString, TABMENUNAME, (""), String, kRtString, ValidateNone() )
580  FX_REGVAR_DEF_RO_SAVE( OdInt16, RIBBONSTATE, (0), Int16, kRtInt16, ValidateRange(0,1) ) //#56307
581 
582  #undef FX_REGVAR_DEF_RO_SAVE
583 
584 #endif // FX_REGVAR_DEF_RO_SAVE
585 
586 #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