AutoXchange 2026 Technical Documentation

View and Size Processing

View and Size Processing Parameters
modelModelSpace
lastLast Saved View
viewSpecific View
paperFirst PaperSpace View
basicModelSpace and all Views
BNBlockName
A or USDrawing Size
EXTENTSExtents
HEIGHTHeight
WIDTHWidth
LAYLayout Name
SIZESize
SPDrawing Space Mode
VWViews
IBIgnoring AutoCAD-Blocks

Model

PARAMETERModel
PurposeSelects the Model Space of the Input drawing
Example-model
JSON{“SpaceMode”: “Model”}
AliasSee View section
UseDWG/DXF/DGN Only

Last

PARAMETERLast
PurposeConverts the last saved view.
Example-last
JSON{“SpaceMode”: “Last”}
AliasSee View section
UseDWG/DXF/DGN Only

View

PARAMETERView
PurposeConverts a named paperspace view
Example-view=“my view”
JSON{“View”: “My View”}
Alias-vn=“my view”, See View section
UseDWG/DXF/DGN Only

Paper

PARAMETERPaper
PurposeConverts the first paperspace Layout in the drawing
Example-paper
JSON{“SpaceMode”: “Paper”}
AliasSee View section
UseDWG/DXF/DGN Only

Basic

PARAMETERBasic
PurposeConverts the the modelspace and all layout views
Example-basic
JSON{“SpaceMode”: “Basic”}
AliasSee View section
UseDWG/DXF/DGN Only

Block Name

PARAMETERBLOCKNAME
PurposeIf the block named by this parameter is processed, then the AutoCAD Handle is output on the SVG Group (<g>) command using the tag “cvjs:handle”.
Example-BN=THISBLOCK
JSON{“BlockName”: “ThisBlock”}
Alias-BN
UseSVG Only

Drawing Size

PARAMETERA or US
PurposeThese parameters control the output drawing size for PDF documents.
ValuesA:     0: A0 to 5: A5
US:   A: ANSI A to E: ANSI E
NoteIf only A or US is used, then Drawing Size Mode is ignored
Example-A=2
JSON{“DIN”: “A0”}
{“ANSI”: “A”}
{“ARCH”: “A”}
Alias-A0:  DIN A0
-A1:  DIN A1
-A2:  DIN A2
-A3:  DIN A3
-A4:  DIN A4
-A5:  DIN A5
-UA: ANSI A
-UB:  ANSI B
-UC:  ANSI C
-UD:  ANSI D
-UE:  ANSI E
UseWith all graphic formats

 

Extents

PARAMETEREXTENTS
PurposeThis parameter forces the entire extents (all of the graphics) in the current “space” (Model Space or Paper Space) to be converted, not just the graphics in the current view.
Example-EXTENTS
JSON{“EXTENTS”: “TRUE”}
{“EXTENTS”: true}
AliasNone
UseWith all graphic formats

Height

PARAMETERHEIGHT
PurposeThis parameter sets the height of the output drawing. The size is given in the default units of the output format (pixels for SVG and points (1/72nd of an inch) for PDF).
Example-HEIGHT 792
JSON{“Height”: “792”}
{“Height”: 792}
Alias-HGT
UseWith all graphic formats
NoteThe drawing width is not affected

Layout Name

PARAMETERLAY
PurposeThis parameter controls which Paperspace Layout is converted. The default is “Layout1”.
NotesThe Layout must exist in the drawing or nothing will be converted and an error message will be output. If a Layout Name is listed, Paperspace Mode will be automatically selected.
Example-LAY=Layout30
JSON{“Layout”: “Layout30”}
Alias-LAYOUT
UseWith all graphic formats

 

Size

PARAMETERSIZE
PurposeThis parameter sets both the height and the width of the output drawing to the same value. The size is given in the default units of the output format (pixels for SVG and points (1/72nd of an inch) for PDF).
Example-SIZE 792
JSON{“Size”: “792”}
{“Size”: 792}
Alias-SZ
UseWith all graphic formats

Space Mode

PARAMETERSP[ACE]
PurposeThis parameter controls whether the Paperspace or Modelspace portion of the AutoCAD drawing is converted.
Values0 – Last Saved View
1 – Modelspace
2 – Paperspace
L[AST] – Last Saved View
M[ODEL]  – Modelspace
P[APER]   – Paperspace
NoteIf Layout Name (-L) is used, then Space Mode is ignored. If Space Mode is set to Paperspace without using the Layout Name command, then “Layout1” is used as the Layout Name.
Example-SP=1
-SP=M
JSON{“SpaceMode”:“Model”}
Alias-LAST      – Last Saved View
-MODEL  – Modelspace
-PAPER   – Paperspace
UseWith all graphic formats

Views

PARAMETERVIEW
PurposeThis parameter controls which Modelspace View is converted.
NotesThe View must exist in the drawing or nothing will be converted and an error message will be output
Example-VIEW=Model1
JSON{“View”: “Model1”}
Alias-VN
UseWith all graphic formats

The following define the modes for the multiple view conversions:

VIEW NAME COMMANDPARAMETER ALIAS
-VN=*ALL*-allConvert all views including ModelSpace, PaperSpace Layouts and ModelSpaceViews plus Paperspace default and Last Saved View
-VN=*BASIC*-basicConvert ModelSpace and all Layouts Views
-VN=*NOLAST*-nolastConvert all views including ModelSpace, PaperSpace Layouts and ModelSpace Views plus Paperspace default but not Last Saved View
-VN=*ALLPAPER*-allpaperConverts all PaperSpace Layouts plus PaperSpace default
-VN=*ALLMODEL*-allmodelConverts all ModelSpace Views plus ModelSpace
-VN=*VIEWSONLY*-viewsonlyConverts all ModelSpace Views but not ModelSpace
-VN=*LAYOUTSONLY*-layoutsonlyConverts all PaperSpace Layouts but not PaperSpace default
-VN=*FIRSTLAYOUT*-firstlayoutConverts the first PaperSpace Layout only

Multiple View Conversion

The following define the modes for the multiple view conversions:

VIEW NAME COMMANDPARAMETER ALIAS
-VN=*ALL*-allConvert all views including ModelSpace, PaperSpace Layouts and ModelSpaceViews plus Paperspace default and Last Saved View
-VN=*BASIC*-basicConvert all views except ModelSpace, so PaperSpace Layouts and ModelSpace Views
-VN=*NOLAST*-nolastConvert all views including ModelSpace, PaperSpace Layouts and ModelSpace Views plus Paperspace default but not Last Saved View
-VN=*ALLPAPER*-allpaperConverts all PaperSpace Layouts plus PaperSpace default
-VN=*ALLMODEL*-allmodelConverts all ModelSpace Views plus ModelSpace
-VN=*VIEWSONLY*-viewsonlyConverts all ModelSpace Views but not ModelSpace
-VN=*LAYOUTSONLY*-layoutsonlyConverts all PaperSpace Layouts but not PaperSpace default
-VN=*FIRSTLAYOUT"-firstlayoutConverts the first PaperSpace Layout only

All

PARAMETERALL
PurposeThis parameter forces all views including ModelSpace, PaperSpace Layouts and ModelSpaceViews plus Paperspace default and Last Saved View to be converted.
Example-all
Alias-VN=*ALL*
JSON{“SpaceMode”:“All”}
UseWith all graphic formats

Basic

PARAMETERBASIC
PurposeThis parameter forces conversion of all views except ModelSpace, so PaperSpace Layouts and ModelSpace Views are converted.
Example-basic
Alias-VN=*BASIC*
JSON{“SpaceMode”:“Basic”}
UseWith all graphic formats

NoLast

PARAMETERNOLAST
PurposeThis parameter forces conversion of all views including ModelSpace, PaperSpace Layouts and ModelSpace Views plus Paperspace default but not Last Saved View.
Example-nolast
Alias-VN=*NOLAST*
JSON{“SpaceMode”:“NoLast”}
UseWith all graphic formats

AllPaper

PARAMETERALLPAPER
PurposeThis parameter forces all PaperSpace Layouts plus PaperSpace default to be converted.
Example-allpaper
Alias-VN=*ALLPAPER*
JSON{“SpaceMode”:“AllPaper”}
UseWith all graphic formats

AllModel

PARAMETERALLMODEL
PurposeThis parameter forces all ModelSpace Views plus ModelSpace default to be converted.
Example-allmodel
Alias-VN=*ALLMODEL*
JSON{“SpaceMode”: “AllModel”}
UseWith all graphic formats

LayoutsOnly

PARAMETERLAYOUTSONLY
PurposeThis parameter forces all PaperSpace Layouts but not PaperSpace default to be converted.
Example-layoutsonly
Alias-VN=*LAYOUTSONLY*
JSON{“SpaceMode”:“LayoutsOnly”}
UseWith all graphic formats

ViewsOnly

PARAMETERVIEWSONLY
PurposeThis parameter forces all ModelSpace Views but not ModelSpace default to be converted.
Example-viewsonly
Alias-VN=*VIEWSONLY*
JSON{“SpaceMode”:“ViewsOnly”}
UseWith all graphic formats

FirstLayout

PARAMETERFIRSTLAYOUT
PurposeThis parameter converts the first PaperSpace Layout only.
Example-first
Alias-VN=*FIRSTLAYOUT*
JSON{“SpaceMode”,“FirstLayer”}
UseWith all graphic formats

Width

PARAMETERWIDTH
PurposeThis parameter sets the width of the output drawing. The size is given in the default units of the output format (pixels for SVG and points (1/72nd of an inch) for PDF).
Example-WIDTH 792
JSON{“Width”:“792”}
{“Width”:792}
Alias-WID
UseWith all graphic formats
NoteThe drawing height is not affected.

Ignore Blocks

PARAMETERIgnore Blocks
PurposeBecause AutoCAD Blocks tend to be placed on the special layer, 0, decluttering by simply turning layers off is not always sufficient. The Ignore Blocks (IB, BO, IGNORE_BLOCK[S]) parameter allows you to turn off processing of individual types of blocks. Block Names are seperated by a semi-colon.
Example-IB=“WOODEN” , -IB=“WOODEN;CEMENT;HEAD”
JSON{“IgnoreBlocks”: “WOODEN;CEMENT;HEAD”}
Alias-IGNORE_BLOCK[S], -BO
UseWith DWG/DXF Input Only
Last updated on 26 Sep 2022
Published on 22 Mar 2020