CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
QuasiVarDefs.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
25
26#ifndef QVAR_DEF_RO
27#define DOUNDEF_QVAR_DEF_RO
28#define QVAR_DEF_RO QVAR_DEF
29#endif
30
31#ifndef QVAR_DEF_RO
32#define DOUNDEF_QVAR_DEF_RO
33#define QVAR_DEF_RO QVAR_DEF
34#endif
35
36
37#ifndef ODTDIST
38#define ODTDIST double
39#define DOUNDEF_ODTDIST
40#endif
41
42#ifndef ODTORIENT
43#define ODTORIENT double
44#define DOUNDEF_ODTORIENT
45#endif
46
47#ifndef ODTANGLE
48#define ODTANGLE double
49#define DOUNDEF_ODTANGLE
50#endif
51
52#ifndef ODTLAYOUTID
53#define ODTLAYOUTID OdDbObjectId
54#define DOUNDEF_ODTLAYOUTID
55#endif
56
57#ifndef ODTTEXTSTYLEID
58#define ODTTEXTSTYLEID OdDbObjectId
59#define DOUNDEF_ODTTEXTSTYLEID
60#endif
61
62#ifndef ODTBOOL
63#define ODTBOOL bool
64#define DOUNDEF_ODTBOOL
65#endif
66
67/*
68#ifdef DATE
69#define SAVED_DATE_DEFINITION
70#undef DATE
71#endif
72*/
73
74//FELIX_CHANGE_BEGIN
75// QVAR_DEF_2 is used for variables which have duplicate definition in SysVarDefs.h
76#ifndef QVAR_DEF_2
77 #define UNDEF_QVAR_DEF_2
78 #define QVAR_DEF_2 QVAR_DEF
79#endif
80
81#ifndef QVAR_DEF_RO_2
82 #define UNDEF_QVAR_DEF_RO_2
83 #define QVAR_DEF_RO_2 QVAR_DEF_RO
84#endif
85
86// Type Name
87
111//<dom_var_def>double BACKZ;
113
114
135//<dom_var_def>OdDbObjectId CTAB;
136QVAR_DEF (ODTLAYOUTID, CTAB, ValidateLayout() )
137
162//<dom_var_def>OdString CPLOTSTYLE;
163QVAR_DEF (OdString, CPLOTSTYLE, ValidateNone() )
164
186//<dom_var_def>OdInt16 CVPORT;
187QVAR_DEF (OdInt16, CVPORT, ValidateNone() )
188
214//<dom_var_def>OdString DWGNAME;
216
241//<dom_var_def>OdString DWGPREFIX;
242QVAR_DEF_RO(OdString, DWGPREFIX, ValidateNone() )
243
270//<dom_var_def>bool DWGTITLED;
271QVAR_DEF_RO(ODTBOOL, DWGTITLED, ValidateNone() )
272
276
300//<dom_var_def>double FRONTZ;
302
330//<dom_var_def>bool GRIDMODE;
331QVAR_DEF (ODTBOOL, GRIDMODE, ValidateBOOL() )
332
354//<dom_var_def>OdGePoint2d GRIDUNIT;
355QVAR_DEF (OdGePoint2d, GRIDUNIT, ValidateNone() )
356
358//QVAR_DEF_RO_2(ODTDIST, LENSLENGTH, ValidateNone() )
362
386//<dom_var_def>double SNAPANG;
387QVAR_DEF (ODTANGLE, SNAPANG, ValidateNone() )
388
410//<dom_var_def>OdGePoint2d SNAPBASE;
411QVAR_DEF (OdGePoint2d, SNAPBASE, ValidateNone() )
412
444//<dom_var_def>OdInt16 SNAPISOPAIR;
445QVAR_DEF (OdInt16, SNAPISOPAIR, ValidateNone() )
446
474//<dom_var_def>OdInt16 SNAPMODE;
475QVAR_DEF (ODTBOOL, SNAPMODE, ValidateBOOL() )
476
507//<dom_var_def>OdInt16 SNAPSTYL;
508QVAR_DEF (ODTBOOL, SNAPSTYL, ValidateBOOL() )
509
531//<dom_var_def>OdGePoint2d SNAPUNIT;
532QVAR_DEF (OdGePoint2d, SNAPUNIT, ValidateNone() )
533
608//<dom_var_def>OdCodePageId SYSCODEPAGE;
609QVAR_DEF_RO(OdCodePageId, SYSCODEPAGE, ValidateNone() )
610
632//<dom_var_def>OdGePoint3d TARGET;
634
662//<dom_var_def>bool UCSFOLLOW;
663QVAR_DEF (ODTBOOL, UCSFOLLOW, ValidateBOOL() )
664
694//<dom_var_def>OdInt16 UCSICON;
695QVAR_DEF (OdInt16, UCSICON, ValidateNone() )
696
724//<dom_var_def>bool UCSVP;
725QVAR_DEF (ODTBOOL, UCSVP, ValidateBOOL() )
726
731
752//<dom_var_def>OdGePoint3d VIEWCTR;
754
775//<dom_var_def>OdGeVector3d VIEWDIR;
777
809//<dom_var_def>OdInt16 VIEWMODE;
810QVAR_DEF_RO(OdInt16, VIEWMODE, ValidateNone() )
811
832//<dom_var_def>double VIEWSIZE;
833QVAR_DEF_RO(ODTDIST, VIEWSIZE, ValidateNone() )
834
857//<dom_var_def>double VIEWTWIST;
858QVAR_DEF_RO(ODTORIENT, VIEWTWIST, ValidateNone() )
859
886//<dom_var_def>OdInt16 WORLDUCS;
887QVAR_DEF_RO(OdInt16, WORLDUCS, ValidateNone() )
888
889QVAR_DEF_RO(OdString, LOGINNAME, ValidateNone() )
891QVAR_DEF_RO(double, CDATE, ValidateNone() )
892
893//-----------------------------------------
894// Variables added in AC 2008
895//-----------------------------------------
896
917//<dom_var_def>double CANNOSCALEVALUE;
918QVAR_DEF_RO(double, CANNOSCALEVALUE, ValidateNone() )
919//FELIX_CHANGE_BEGIN
920//QVAR_DEF (ODTBOOL, ANNOALLVISIBLE, ValidateBOOL() )
921//FELIX_CHANGE_END
951//<dom_var_def>bool DIMANNO;
952QVAR_DEF_RO(ODTBOOL, DIMANNO, ValidateNone() )
953
954/* TODO:
955 GRIDMAJOR
956*/
957
958QVAR_DEF (ODTBOOL, PERSPECTIVE, ValidateNone() )
959QVAR_DEF_2 (OdInt16, DIMUNIT, ValidateNone() )
960
961//-----------------------------------------
962// Variables added in AC 2010
963//-----------------------------------------
964
978QVAR_DEF (OdInt16, IMAGEFRAME, ValidateNone() )
983//FELIX_CHANGE_BEGIN
984//bug 39795
985QVAR_DEF_2 (OdInt8, DGNFRAME, /*ValidateNone()*/ValidateRange(0,2) )
986//FELIX_CHANGE_END
987QVAR_DEF (OdInt8, OLEFRAME, ValidateNone() )
990
992//FELIX_CHANGE_BEGIN
993//bug 31183
994QVAR_DEF_2 (double, TEXTSIZE, /*ValidateNone()*/ValidatePositiveNonZero() )
995//FELIX_CHANGE_END
996
1030//<dom_var_def>OdInt16 GRIDDISPLAY;
1031QVAR_DEF (OdInt16, GRIDDISPLAY, ValidateNone() )
1032
1068//<dom_var_def>OdInt16 GRIDMAJOR;
1069QVAR_DEF (OdInt16, GRIDMAJOR, ValidateNone() )
1070
1071QVAR_DEF (OdInt16, VSBACKGROUNDS, /*ValidateNone()*/ValidateRange( 0, 1 ) ) //FELIX_CHANGE
1072
1113//<dom_var_def>OdString VSEDGECOLOR;
1114QVAR_DEF (OdString, VSEDGECOLOR, ValidateNone() )
1115
1164//<dom_var_def>OdInt16 VSEDGEJITTER;
1165QVAR_DEF (OdInt16, VSEDGEJITTER, ValidateNone() )
1166
1206//<dom_var_def>OdInt16 VSEDGELEX;
1207QVAR_DEF (OdInt16, VSEDGELEX, ValidateNone() )
1208
1248//<dom_var_def>OdInt16 VSEDGEOVERHANG;
1249QVAR_DEF (OdInt16, VSEDGEOVERHANG, ValidateNone() )
1250
1296//<dom_var_def>OdInt16 VSEDGES;
1297QVAR_DEF (OdInt16, VSEDGES, /*ValidateNone()*/ValidateRange( 0, 2 ) ) //FELIX_CHANGE
1298
1337//<dom_var_def>OdInt16 VSEDGESMOOTH;
1338QVAR_DEF (OdInt16, VSEDGESMOOTH, /*ValidateNone()*/ValidateRange( 0, 180 ) ) //FELIX_CHANGE
1339
1386//<dom_var_def>OdInt16 VSFACECOLORMODE;
1387QVAR_DEF (OdInt16, VSFACECOLORMODE, /*ValidateNone()*/ValidateRange( 0, 3 ) ) //FELIX_CHANGE
1388
1429//<dom_var_def>OdInt16 VSFACEHIGHLIGHT;
1430QVAR_DEF (OdInt16, VSFACEHIGHLIGHT, ValidateNone() )
1431
1471//<dom_var_def>OdInt16 VSFACEOPACITY;
1472QVAR_DEF (OdInt16, VSFACEOPACITY, ValidateNone() )
1473
1519//<dom_var_def>OdInt16 VSFACESTYLE;
1520QVAR_DEF (OdInt16, VSFACESTYLE, /*ValidateNone()*/ValidateRange( 0, 2 ) ) //FELIX_CHANGE
1521
1560//<dom_var_def>OdInt16 VSHALOGAP;
1561QVAR_DEF (OdInt16, VSHALOGAP, /*ValidateNone()*/ValidateRange( 0, 100 ) ) //FELIX_CHANGE
1562
1603//<dom_var_def>OdString VSINTERSECTIONCOLOR;
1604QVAR_DEF (OdString, VSINTERSECTIONCOLOR, ValidateNone() )
1605
1650//<dom_var_def>OdInt16 VSINTERSECTIONEDGES;
1651QVAR_DEF (OdInt16, VSINTERSECTIONEDGES, /*ValidateNone()*/ValidateRange( 0, 1 ) ) //FELIX_CHANGE
1652
1706//<dom_var_def>OdInt16 VSINTERSECTIONLTYPE;
1707QVAR_DEF (OdInt16, VSINTERSECTIONLTYPE, /*ValidateNone()*/ValidateRange( 0, 11 ) ) //FELIX_CHANGE
1708
1753//<dom_var_def>OdInt16 VSISOONTOP;
1754QVAR_DEF (OdInt16, VSISOONTOP, /*ValidateNone()*/ValidateRange( 0, 1 ) ) //FELIX_CHANGE
1755
1801//<dom_var_def>OdInt16 VSLIGHTINGQUALITY;
1802QVAR_DEF (OdInt16, VSLIGHTINGQUALITY, /*ValidateNone()*/ValidateRange( 0, 2 ) ) //FELIX_CHANGE
1803
1849//<dom_var_def>OdInt16 VSMATERIALMODE;
1850QVAR_DEF (OdInt16, VSMATERIALMODE, /*ValidateNone()*/ValidateRange( 0, 2 ) ) //FELIX_CHANGE
1851
1891//<dom_var_def>OdString VSMONOCOLOR;
1892QVAR_DEF (OdString, VSMONOCOLOR, ValidateNone() )
1893
1934//<dom_var_def>OdString VSOBSCUREDCOLOR;
1935QVAR_DEF (OdString, VSOBSCUREDCOLOR, ValidateNone() )
1936
1981//<dom_var_def>OdInt16 VSOBSCUREDEDGES;
1982QVAR_DEF (OdInt16, VSOBSCUREDEDGES, ValidateNone() )
1983
2053//<dom_var_def>OdInt16 VSOBSCUREDLTYPE;
2054QVAR_DEF (OdInt16, VSOBSCUREDLTYPE, ValidateNone() )
2055
2096//<dom_var_def>OdString VSOCCLUDEDCOLOR;
2097QVAR_DEF (OdString, VSOCCLUDEDCOLOR, ValidateNone() )
2098
2143//<dom_var_def>OdInt16 VSOCCLUDEDEDGES;
2144QVAR_DEF (OdInt16, VSOCCLUDEDEDGES, /*ValidateNone()*/ValidateRange( 0, 1 ) ) //FELIX_CHANGE
2145
2218//<dom_var_def>OdInt16 VSOCCLUDEDLTYPE;
2219QVAR_DEF (OdInt16, VSOCCLUDEDLTYPE, /*ValidateNone()*/ValidateRange( 0, 11 ) ) //FELIX_CHANGE
2220
2269//<dom_var_def>OdInt16 VSSHADOWS;
2270QVAR_DEF (OdInt16, VSSHADOWS, /*ValidateNone()*/ValidateRange( 0, 2 ) ) //FELIX_CHANGE
2271
2335//<dom_var_def>OdInt16 VSSILHEDGES;
2336QVAR_DEF (OdInt16, VSSILHEDGES, /*ValidateNone()*/ValidateRange( 0, 1 ) ) //FELIX_CHANGE
2337
2379//<dom_var_def>OdInt16 VSSILHWIDTH;
2380QVAR_DEF (OdInt16, VSSILHWIDTH, /*ValidateNone()*/ValidateRange( 1, 25 ) ) //FELIX_CHANGE
2381
2437//<dom_var_def>OdInt16 NAVVCUBEDISPLAY;
2438QVAR_DEF (OdInt16, NAVVCUBEDISPLAY, ValidateRange(0, 3))
2439
2482//<dom_var_def>OdInt16 DEFAULTLIGHTING;
2483QVAR_DEF (OdInt16, DEFAULTLIGHTING, ValidateRange(0, 1))
2484
2528//<dom_var_def>OdInt16 DEFAULTLIGHTINGTYPE;
2529QVAR_DEF (OdInt16, DEFAULTLIGHTINGTYPE, ValidateRange(0, 1))
2530
2531#ifdef UNDEF_QVAR_DEF_2
2532 #undef QVAR_DEF_2
2533#endif
2555//<dom_var_def>OdString CGEOCS;
2557
2558// Variables added in 2019
2587//<dom_var_def>bool STUDENTDRAWING;
2588QVAR_DEF_RO(ODTBOOL, STUDENTDRAWING, ValidateNone() )
2589#ifdef UNDEF_QVAR_DEF_RO_2
2590 #undef QVAR_DEF_RO_2
2591#endif
2592//FELIX_CHANGE_END
2593
2594#ifdef DOUNDEF_ODTDIST
2595#undef ODTDIST
2596#undef DOUNDEF_ODTDIST
2597#endif
2598
2599#ifdef DOUNDEF_ODTORIENT
2600#undef ODTORIENT
2601#undef DOUNDEF_ODTORIENT
2602#endif
2603
2604#ifdef DOUNDEF_ODTANGLE
2605#undef ODTANGLE
2606#undef DOUNDEF_ODTANGLE
2607#endif
2608
2609#ifdef DOUNDEF_ODTLAYOUTID
2610#undef ODTLAYOUTID
2611#undef DOUNDEF_ODTLAYOUTID
2612#endif
2613
2614#ifdef DOUNDEF_ODTTEXTSTYLEID
2615#undef ODTTEXTSTYLEID
2616#undef DOUNDEF_ODTTEXTSTYLEID
2617#endif
2618
2619#ifdef DOUNDEF_QVAR_DEF_RO
2620#undef QVAR_DEF_RO
2621#undef DOUNDEF_QVAR_DEF_RO
2622#endif
2623
2624#ifdef DOUNDEF_ODTBOOL
2625#undef ODTBOOL
2626#undef DOUNDEF_ODTBOOL
2627#endif
ValidateBOOL()) VAR_DEF(ODTORIENT
ValidateNone()) VAR_DEF(OdUInt16
#define ODTUCSNAME
Definition: FxDatabase.h:223
#define QVAR_DEF(type, name, validator)
Definition: FxDatabase.h:247
OdCodePageId
Definition: OdCodePage.h:31
short OdInt16
signed char OdInt8
VSINTERSECTIONEDGES
ValidatePositiveNonZero()) QVAR_DEF(OdInt16
#define QVAR_DEF_RO_2
Definition: QuasiVarDefs.h:83
VSINTERSECTIONLTYPE
VSISOONTOP
VSEDGESMOOTH
#define QVAR_DEF_RO
Definition: QuasiVarDefs.h:28
#define ODTORIENT
Definition: QuasiVarDefs.h:43
VSLIGHTINGQUALITY
VSSILHWIDTH
#define QVAR_DEF_2
Definition: QuasiVarDefs.h:78
VSOCCLUDEDLTYPE
#define ODTDIST
Definition: QuasiVarDefs.h:38
VSFACESTYLE
TEXTSIZE
Definition: QuasiVarDefs.h:994
VSMATERIALMODE
#define ODTLAYOUTID
Definition: QuasiVarDefs.h:53
VSOCCLUDEDEDGES
ValidateRange(0, 1)) QVAR_DEF(OdInt16
VSEDGES
VSSHADOWS
VSHALOGAP
VSBACKGROUNDS
#define ODTTEXTSTYLEID
Definition: QuasiVarDefs.h:58
VSSILHEDGES
VSFACECOLORMODE
#define ODTANGLE
Definition: QuasiVarDefs.h:48
#define ODTBOOL
Definition: QuasiVarDefs.h:63
EXTMIN
Definition: SysVarDefs.h:422
UCSNAME
Definition: SysVarDefs.h:2881
XCLIPFRAME
Definition: SysVarDefs.h:6962
LIMMIN
Definition: SysVarDefs.h:498
LIMCHECK
Definition: SysVarDefs.h:1645
TEXTSTYLE
Definition: SysVarDefs.h:861
PDFFRAME
Definition: SysVarDefs.h:6926
const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency POINTCLOUDCLIPFRAME
Definition: SysVarDefs.h:7353
const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency WIPEOUTFRAME
Definition: SysVarDefs.h:7318
EXTMAX
Definition: SysVarDefs.h:452
ValidateTextStyle()) VAR_DEF(ODTLAYERID
DWFFRAME
Definition: SysVarDefs.h:6563
DGNFRAME
Definition: SysVarDefs.h:6599
LIMMAX
Definition: SysVarDefs.h:544
INSBASE
Definition: SysVarDefs.h:389
UCSORG
Definition: SysVarDefs.h:3971
ELEVATION
Definition: SysVarDefs.h:1541
UCSXDIR
Definition: SysVarDefs.h:4002
UCSYDIR
Definition: SysVarDefs.h:4034
FRAME
Definition: SysVarDefs.h:6877