%CAD
and %CADView
areas put on
form page 0.
thePrintSizeTypeToUse to CADGetPrintSpecs
and
CADSetPrintSpecs
. This parameter can be one of two new constants
kCADPrintSizeUseScopeBounds = 1; kCADPrintSizeUseDrawSize = 2;
where kCADPrintSizeUseScopeBounds is the default (and what 4D CAD used until this
version).
The kCADPrintSizeUseDrawSize setting is useful when printing graphical designs, as
it respects the placement of objects relative to the drawing board (when combined with
print margins 0).
The setting is stored in CAD drawings.
CADGetDisplay
and CADSetDisplay
to use bit masks
rather than separate flag parameters. Defined kCADDisplay display constants, including kCADDisplayDefault
.
Please note that the kCADDisplayHasAutoResize
display flag now is off by
default.
theModalToolsMask to CADGetDisplay and CADSetDisplay.
Defined kCADModeMask mode mask constants as bitmasks of equivalent
kCADMode mode constants.
Modes that are not in theModalToolsMask are not available on the modal tools palette
and are disabled as modifier-key mode. Hiding a mode makes the mode unavailable for the
user through the user interface. The programmer can still set any mode through
CADSetMode
.
Setting a hidden mode through CADSetMode will have the effect that no mode is
visibly selected on the modal tools palette. The same can happen if the current mode is
not in theModalToolsMask. Neither situation triggers an error, it is up to the
programmer to decide whether he wants it.