Community
refreshLists() needs to be called at least once before using
functions like getCanonicalMediaNames() or a crash can occur.
Cheers,
Varadan
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"pickwick" <Calling
href="mailto:breed@nordined.nl">breed@nordined.nl> wrote in message
href="news:f10b2c1.-1@WebX.maYIadrTaRb">news:f10b2c1.-1@WebX.maYIadrTaRb...
AcDbPlotSettingsValidator::refreshLists in order to initialise the
AcDbPlotSettingsValidator object sets the unprintable margins to 0 and sets
the physical papersizes to standard values if the selected plotting device is
not a .pc3 file but a system device added with printer setup of windows. Using
a .pc3 file only helps if the margins are changed with respect to the default
values from the plotting device itself.
Manually setting a medium size
with the pagesetup command of autocad keeps the real margins en sizes and can
even set them back after resetting by AcDbPlotSettingsValidator::refreshLists.
Has anyone experienced this effect and/or knows a
remedy.