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