CFx SDK Documentation
2023 SP0
|
Go to the source code of this file.
Macros | |
#define | DOUNDEF_QVAR_DEF_RO |
#define | QVAR_DEF_RO QVAR_DEF /*!DOM*/ |
#define | ODTDIST double /*!DOM*/ |
#define | DOUNDEF_ODTDIST |
#define | ODTORIENT double /*!DOM*/ |
#define | DOUNDEF_ODTORIENT |
#define | ODTANGLE double /*!DOM*/ |
#define | DOUNDEF_ODTANGLE |
#define | ODTLAYOUTID OdDbObjectId /*!DOM*/ |
#define | DOUNDEF_ODTLAYOUTID |
#define | ODTTEXTSTYLEID OdDbObjectId /*!DOM*/ |
#define | DOUNDEF_ODTTEXTSTYLEID |
#define | ODTBOOL bool /*!DOM*/ |
#define | DOUNDEF_ODTBOOL |
#define | UNDEF_QVAR_DEF_2 |
#define | QVAR_DEF_2 QVAR_DEF |
#define | UNDEF_QVAR_DEF_RO_2 |
#define | QVAR_DEF_RO_2 QVAR_DEF_RO |
Functions | |
QVAR_DEF_2 (OdInt8, DGNFRAME, ValidateRange(0, 2)) QVAR_DEF_2(double | |
Variables | |
TEXTSIZE | |
#define DOUNDEF_ODTANGLE |
Definition at line 49 of file QuasiVarDefs.h.
#define DOUNDEF_ODTBOOL |
Definition at line 64 of file QuasiVarDefs.h.
#define DOUNDEF_ODTDIST |
Definition at line 39 of file QuasiVarDefs.h.
#define DOUNDEF_ODTLAYOUTID |
Definition at line 54 of file QuasiVarDefs.h.
#define DOUNDEF_ODTORIENT |
Definition at line 44 of file QuasiVarDefs.h.
#define DOUNDEF_ODTTEXTSTYLEID |
Definition at line 59 of file QuasiVarDefs.h.
#define DOUNDEF_QVAR_DEF_RO |
Definition at line 27 of file QuasiVarDefs.h.
#define ODTANGLE double /*!DOM*/ |
Definition at line 48 of file QuasiVarDefs.h.
#define ODTBOOL bool /*!DOM*/ |
Definition at line 63 of file QuasiVarDefs.h.
#define ODTDIST double /*!DOM*/ |
Definition at line 38 of file QuasiVarDefs.h.
#define ODTLAYOUTID OdDbObjectId /*!DOM*/ |
Definition at line 53 of file QuasiVarDefs.h.
#define ODTORIENT double /*!DOM*/ |
Definition at line 43 of file QuasiVarDefs.h.
#define ODTTEXTSTYLEID OdDbObjectId /*!DOM*/ |
Definition at line 58 of file QuasiVarDefs.h.
#define QVAR_DEF_2 QVAR_DEF |
Definition at line 78 of file QuasiVarDefs.h.
#define QVAR_DEF_RO QVAR_DEF /*!DOM*/ |
Definition at line 28 of file QuasiVarDefs.h.
#define QVAR_DEF_RO_2 QVAR_DEF_RO |
Definition at line 83 of file QuasiVarDefs.h.
#define UNDEF_QVAR_DEF_2 |
Definition at line 77 of file QuasiVarDefs.h.
#define UNDEF_QVAR_DEF_RO_2 |
Definition at line 82 of file QuasiVarDefs.h.
QVAR_DEF_2 | ( | OdInt8 | , |
DGNFRAME | , | ||
ValidateRange(0, 2) | |||
) |
<title BACKZ> <toctitle BACKZ>
Type double Initial value 0.0 Read-Only Yes Saved In Database Versions R12+
BACKZ specifies the back clipping distance for the current viewport.
Access Methods OdDbDatabase::getSysVar()
Type OdDbObjectId Initial value Model Layout Id Read-Only No Saved In Database Versions 2000+
CTAB specifies the current tab (model or layout) in the database.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_C> <title CPLOTSTYLE> <toctitle CPLOTSTYLE>
Type OdString Initial value "ByColor" Read-Only No Saved In Database Versions 2000+
CPLOTSTYLE specifies the default plot style for new entities.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
Type OdInt16 Initial value 2 Read-Only No Saved In Database Versions R12+
CVPORT specifies the ID of the current viewport. CVPORT == 1 specifies the current overall paper space viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_C> <title DWGNAME> <toctitle DWGNAME>
Type OdString Initial value "" Read-Only Yes Saved In Not saved Versions R12+
DWGNAME specifies the name of the file associated with this database. The path is not returned. The extension is returned.
Access Methods OdDbDatabase::getSysVar()
Type OdString Initial value "" Read-Only Yes Saved In Not saved Versions R12+
DWGPREFIX specifies the folder of the file associated with this database. The returned string, if not empty, ends in a delimiter ('/' or '\').
Access Methods OdDbDatabase::getSysVar()
Type bool Initial value false Read-Only Yes Saved In Not saved Versions R12+
DWGTITLED specifies whether a filename has been assigned to the database.
Value Description false Not assigned true Assigned
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_D> <title FRONTZ> <toctitle FRONTZ>
Type double Initial value 0.0 Read-Only Yes Saved In Database Versions R12+
FRONTZ specifies the front clipping distance for the current viewport.
Access Methods OdDbDatabase::getSysVar()
Type bool Initial value false Read-Only No Saved In Database Versions R12+
GRIDMODE controls the display of the grid in the current viewport.
Value Description false Not displayed true Displayed
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_G> <title GRIDUNIT> <toctitle GRIDUNIT>
Type OdGePoint2d Initial value (0.5, 0.5) | (10.0, 10.0) Read-Only No Saved In Database Versions R12+
GRIDUNIT specifies the XY grid spacing in the current viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_G> <title SNAPANG> <toctitle SNAPANG>
Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+
SNAPANG controls the rotation in the current UCS of the snap and grid in the current viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
Note: All angles are expressed in radians. <group TD_SysVars_S> <title SNAPBASE> <toctitle SNAPBASE>
Type OdGePoint2d Initial value (0.0, 0.0) Read-Only No Saved In Database Versions R12+
SNAPBASE controls the origin in the current UCS of the snap and grid in the current viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_S> <title SNAPISOPAIR> <toctitle SNAPISOPAIR>
Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+
SNAPISOPAIR specifies the isometric plane for the current viewport.
Value Description 0 Left 1 Top 2 Bottom
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+
SNAPMODE controls the snap mode in the current viewport.
Value Description 0 Disabled 1 Enabled
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_S> <title SNAPSTYL> <toctitle SNAPSTYL>
Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+
SNAPSTYL controls the snap style in the current viewport.
Value Description 0 Rectangular snap 1 Isometric snap
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
Type OdGePoint2d Initial value (0.5, 0.5) | (10.0, 10.0) Read-Only No Saved In Database Versions R12+
SNAPUNIT specifies the XY snap spacing in the current viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_S> <title SYSCODEPAGE> <toctitle SYSCODEPAGE>
Type OdCodePageId Initial value Varies Read-Only Yes Saved In Nondatabase, Quasi variable Versions R12+
The SYSCODEPAGE variable specifies the operating system's code page. The value can be:
Name Value Description CP_UNDEFINED 0 undefined CP_ASCII 1 ascii CP_8859_1 2 iso8859-1 CP_8859_2 3 iso8859-2 CP_8859_3 4 iso8859-3 CP_8859_4 5 iso8859-4 CP_8859_5 6 iso8859-5 CP_8859_6 7 iso8859-6 CP_8859_7 8 iso8859-7 CP_8859_8 9 iso8859-8 CP_8859_9 10 iso8859-9 CP_DOS437 11 dos437 CP_DOS850 12 dos850 CP_DOS852 13 dos852 CP_DOS855 14 dos855 CP_DOS857 15 dos857 CP_DOS860 16 dos860 CP_DOS861 17 dos861 CP_DOS863 18 dos863 CP_DOS864 19 dos864 CP_DOS865 20 dos865 CP_DOS869 21 dos869 CP_DOS932 22 dos932 CP_MACINTOSH 23 mac-roman CP_BIG5 24 big5 CP_KSC5601 25 ksc5601 CP_JOHAB 26 johab CP_DOS866 27 dos866 CP_ANSI_1250 28 ansi 1250 CP_ANSI_1251 29 ansi 1251 CP_ANSI_1252 30 ansi 1252 CP_GB2312 31 gb2312 CP_ANSI_1253 32 ansi 1253 CP_ANSI_1254 33 ansi 1254 CP_ANSI_1255 34 ansi 1255 CP_ANSI_1256 35 ansi 1256 CP_ANSI_1257 36 ansi 1257 CP_ANSI_874 37 ansi 874 CP_ANSI_932 38 ansi 932 CP_ANSI_936 39 ansi 936 CP_ANSI_949 40 ansi 949 CP_ANSI_950 41 ansi 950 CP_ANSI_1361 42 ansi 1361 CP_ANSI_1200 43 ansi 1200 CP_ANSI_1258 44 ansi 1258
Access Methods OdDbDatabase::getSysVar() OdDbHostAppServices::setSystemCodePage()
Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only Yes Saved In Database Versions R12+
TARGET specifies the target point for the current viewport.
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_T> <title UCSFOLLOW> <toctitle UCSFOLLOW>
Type bool Initial value false Read-Only No Saved In Database Versions R12+
UCSFOLLOW controls the generation of plan views in the current viewport whenever the UCS changes.
Value Description false View unchanged true View changes to plan view in the new UCS
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_U> <title UCSICON> <toctitle UCSICON>
Type OdInt16 Initial value 3 Read-Only No Saved In Database Versions R12+
UCSICON controls the display of the UCS icon.
Value At Origin On 0 No No 1 No Yes 2 Yes No 3 Yes Yes
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_U> <title UCSVP> <toctitle UCSVP>
Type bool Initial value false Read-Only No Saved In Database Versions 2000+
UCSVP controls the saving of the current UCS with the current viewport.
Value Description false UCS associated with the current viewport is unchanged. true Saves the UCS with the current viewport.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()
<group TD_SysVars_U>
<title VIEWCTR> <toctitle VIEWCTR>
Type OdGePoint3d Initial value Varies Read-Only Yes Saved In Database Versions R12+
VIEWCTR specifies the UCS center of the view for the current viewport.
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_V> <title VIEWDIR> <toctitle VIEWDIR>
Type OdGePoint3d Initial value (0.0, 0.0, 1.0) Read-Only Yes Saved In Database Versions R12+
VIEWDIR specifies the vector from the target point for the current viewport to the camera point.
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_V> <title VIEWMODE> <toctitle VIEWMODE>
Type OdInt16 Initial value 0 Read-Only Yes Saved In Database Versions R12+
VIEWMODE specifies the view mode for the current viewport. VIEWMODE will be the sum of zero or more of the following:
Value Description 0x00 Disabled 0x01 Perspective enabled 0x02 Front clip enabled 0x04 Back clip enabled 0x08 UCS follow enabled 0x10 Front clipping plane not at eye
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_V> <title VIEWSIZE> <toctitle VIEWSIZE>
Type double Initial value Varies Read-Only Yes Saved In Database Versions R12+
VIEWSIZE specifies the UCS height of the view for the current viewport.
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_V> <title VIEWTWIST> <toctitle VIEWTWIST>
Type double Initial value 0.0 Read-Only Yes Saved In Database Versions R12+
VIEWTWIST specifies the view twist for the current viewport.
Access Methods OdDbDatabase::getSysVar()
Note: All angles are expressed in radians. <group TD_SysVars_V> <title WORLDUCS> <toctitle WORLDUCS>
Type OdInt16 Initial value 1 Read-Only Yes Saved In Not saved Versions R12+
WORLDUCS indicates if the current UCS is the same as the WCS.
Value Description 0 Different 1 Same
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_W> <title CANNOSCALEVALUE> <toctitle CANNOSCALEVALUE>
Type double Initial value 1.0 Read-Only Yes Saved In Drawing Versions 2008+
The CANNOSCALEVALUE variable stores a default value of the annotation scale to be used in the current drawing.
Access Methods OdDbDatabase::getSysVar()
<group TD_SysVars_C> <title DIMANNO> <toctitle DIMANNO>
Type bool Initial value false Read-Only Yes Saved In Database Versions 2008+
DIMANNO indicates whether or not the current dimension style is annotative.
Value Description false Current dimension style is not annotative. true Current dimension style is annotative.
Access Methods OdDbDatabase::getSysVar() OdDbDatabase::getDIMANNO()
<group TD_SysVars_D>
"\n IMAGEFRAME Controls whether image frames are displayed and plotted" "\n" "\n @table" "\n Value Description" "\n 0 Invisible" "\n 1 Is displayed and plotted" "\n 2 Is displayed but not plotted"
</properties>
TEXTSIZE |
Definition at line 994 of file QuasiVarDefs.h.