PDS Batch Commands

Check out the list of batch commands available for automation of various routine tasks in PDS.

Click on a link to view more information about each batch command.

Keywords and text appearing below in square brackets is optional.

@!

End of batch-file performing.

Alias: @EOF

@PAUSE

Pauses the batch execution and displays the optional message. Use File>Batch>Continue command to continue the execution of the paused batch file.

Format: @PAU[SE]

Alias: @-

Keywords:

[/MSG=<message text>]

Optional message.

Using ',' and '>' symbols in the message is prohibited.

@SET

Sets preference value stored in the value to OPTITEX.INI file.

Keywords:

/SEC[TION]=<Section name>

 

/KEY[WORD]=<Keyword>

 

/VAL[UE]=<Value>

 

@UNIT

Sets working units.

Format: @UNI[T]

Keywords:

/CM

 

/MM

 

/ME[TER]

 

/IN[CH]

 

/FE[ET]

 

/YA[RD]

 

@NEW

Closes the current PDS file and starts new clean pattern.

@OPEN

Opens PDS files

Format: @OPE[N]

Keywords:

/FI[LE]=<file-name>

Specify the name of *pds, *.dsn or *.cus file

[[/CU[S]]

Open cus file

@MERGE

Merges PDS files

Format: @MER[GE]

Keywords:

/FI[LE]=<file-name>

 

 [/S[IZES]={C[UR] | M[ER] | B[OTH]}

CUR - Use current sizes ( default )

MER - Use merged sizes  

BOTH - Use both current and merged sizes  

[/DELVAR or /DV]

Delete Variation Grading sizes

[/PRE[FIX]=<prefix>]   

Prefix for all names of new pieces :

                            <new name> = <prefix>_<old name>  

@SAVE

Save Style as pds, dsn, pdml or cus file.

Alias: @SAV[E]

Keywords:

[/FI[LE]=<file-name>]

Name for saved file

[/FO[RMAT]= <save-format>]

      PDS, PDML, DSN ( format version 9 ), or CUS ( format version 9 modulate )

      by default save-format is determined by file extention:

      ".pds", "*.pdml", "*.dsn", "*.cus"

(save to DSN and CUS formats is discontinued starting from Optitex 19SP6)

[/CU[S]]

Obsolete. Substituted by /FORMAT=CUS

(save to this format is discontinued starting from Optitex 19SP6)

[/XM[L]={NO | YES}]    

Use XML-style header ( for pds save-format only )

[/SEP]  

Save all pieces in separately pds or dsn files

(for /FORMAT=PDS or /FORMAT=DSN only)

@IMPORT

Import one file

Format: @IMP[ORT]

Keywords:

/FI[LE]=<file-name>

 

/FO[RMAT]=<file-format>

DXF, AAMA, ASTM, IGES, CADL(CadKey), DFT(cncKad), SPF,

        GERB(Gerber Cutter), HPGL, DMPL, MIC[ROJET], AI(Adobe Illustrator), TIIP

[/ME[RGE] | MR[G]]        

Must be non cleare style before Import

[/UN[IT]=<Units>]  

CM, MM, ME[TER], IN[CH], FE[ET], YA[RD]

[/SI[ZES]={NO | YES}]

"Use Sizes" (as button in Import dialog)

[/GB[UF]=<buffer size>]

Sets buffer size

[/GD[IR]=<rotation allows>]

1(None), 2(PI), 4(PI/2), 8(PI/4), 0(All enable)

[/Q[U[A[NTITY]]]=<quantity>]

 

[/SC[ALE]=<scale>]

 

 [/NN={NO | YES}]

Use ( or no ) block number as piece name in Gerber Cutter Import ( By default last value )

[/M[A[TERIAL]] or /MT = <material>]

 

[/CD or /CO[DE] = <code>]

 

[/{NR or NUMRULES}={NO | YES}]  

Create numerical grade rule names or use @ in name before number

[/BOX or /BX = { Y or N }]

Import in Box ( or not ) mode

[/GR[UL]=<extension>]  

File extension for Grading Rule Tables using in ASTM and AAMA Import. By default system preference file extension is used.

@EXPORT

Export PDS file

Format: @EXP[ORT]

Keywords:

[/FI[LE]=<file-name>]

 

/FO[RMAT]=<file-format>

DXF, AAMA, ASTM, CADL, IGES, XML, LEATHER, VIRTEK, AI(Adobe Illustrator)

[/SEP]  

Export all pieces in separately files

[/ST[YLE]SET=<Style Set Name>

 

[/X[SC]=<X-scale>]

 

 

[/Y[SC]=<Y-scale>]

 

[/NS[PLINE]={NO | YES}]

Using splines and polylines

[/SP[ST]=<spline step>]

Step for spline line export (only if /NS=YES)

[/NA[RC]={NO | YES}]

Using arcs

[/ARCN[UM]=<Lines>]

Max no.of lines for arc (only if /NARC=YES)

[/ARCB[ULGE]=<bulge>]

Bulge for arc lines (only if /NARC=YES)

 [/CGR[UL]={YES | NO}]

Create Grading Table in case AAMA and ASTM

By default Grading Table created or not by system preference

[/NGR[UL]=<name>]

Name of Grading Table in case AAMA and ASTM. By default export file-name is used as of created Grading Table Name.

[/GR[UL]=<extension>]

File extension for Grading Rule Tables created in ASTM and AAMA Export. By default system preference file extension is used.

[/DE[SCRBASE]={YES | NO}]   

Base Size Descriptions. Only for AI format.

[{/LS | /LAYBYSIZES}={YES | NO}]

Use Layers according Sizes. Only for AI format.

[{/LT | /LAYBYTABLE}={YES | NO}]

Use Layers according Layers Table.

[/SZ={VIS[IBLE] | ALL }]    

Export visible sizes only or all sizes.

@PLOTTER

Plotting to file.

Format: @PLO[TTER]

Alias: @PLT

Keywords:

[/FI[LE]=<file-name>]     

 

[/[USE]OCC={Y[ES] | N[O]}]

using OCC Outman program  

[/NA[ME]={<plotter name(case OCC)> | <plotter number(1-8)>}

USEOCC must be placed before Name parameter

/FO[RMAT]=<file-format>

DMPL, CYBCUT(Cybrid Cutter/Plotter), CYBPL(Cybrid Plotter), IOLS, HPGL, HP2(HPGL/2), HPTEC(HPGL PlotTec), HPGEN(HPGL Generic), HPLR(HPGL Laser), HP[GL]BAR( HPGL Bar Code ), ARISTO (Aristomat Cutter), ZUND(Zund (PN, LC) Cutter), IEA, WILD(Wild Cutter/Plotter), WLDPL(Wild Plotter), EAST(Eastman Cutter), APGL(Gerber Plotter), AP700(AP 700 PLOTTER), MICRO(MicroJet Plotter), GERBER(Gerber Cutter), CEDGE(Cutting Edge), TAKA(Takaoka Cutter), LECTRA(Lectra Flat Bed Plotter), LECFP(Lectra FlyPen), Mutoh,         GERBCP(Gerber Cutter for Plotter), OptiJet(OptiJet Printer/Plotter), LECTCT(Lectra ISO Cut)

[/X[SC]=<X-scale>]

 

[/Y[SC]=<Y-scale>]

 

[/PGX=<Page size X>]

 

[/PGY=<Page size Y>]

 

[/SIMP[LE[ST]][PAGE]]={Y[ES] | N[O]}]

Set Port View to Image Size - By Default - NO

[/SP[ST]=<spline step>]

Step for spline line plotting

[/ARCB[ULGE]=<bulge>]

Bulge for arc lines

[/FONT[FILE]=<font file name>]

 

[/F[ONT]SIZE=<font size>]

 

[/BIF={Y[ES] | N[O]}]

Using built-in font for plotter

[/PEN[NUM]=<No.of pens>]

No.of heads

[/[MIN]LINE=<min line length for plotter>]

Min. Plot/Cut Line

[/MINCIRCLE[RAD]=<min circle radius for plotter>]

Minimal Circle Radius

[/GAP=<Gap after plotting length>]          

Gap after Plotting           

[/ONEP[AGE]={Y[ES] | N[O]}]

One Frame Only

[/CEN0={Y[ES] | N[O]}]

Is (0, 0) of Plotter in center of Page

[/CENFLIP={Y[ES] | N[O]}]

Flip coordinates by (0, 0) center

[/MAN[FF]={Y[ES] | N[O]}]

Using manual Page Advance

[/OVER[LAP]={Y[ES] | N[O]}]

Continuous Plot

[/[AUTO]MOT[ION]={Y[ES] | N[O]}]

Order according tools (all internals on Marker first)

[/OPT={Y[ES] | N[O] | S[HARED]}]

Prepare Moving Optimization (Calculate Shared Lines)

[/OUTM[AN]={Y[ES] | N[O]}]

Using Output Manager   

[/COP[IES]=<No.of copies>]

No.of copies for Output Manager

[/ALS[TART]={Y[ES] | N[O]}]

Alert on Start in Output Manager

[/ALE[ND]={Y[ES] | N[O]}]

Alert on End in Output Manager

[/RME[ND]={Y[ES] | N[O]}]

Remove file on End in Output Manager

[/NET[WORK]={Y[ES] | N[O]}]

 

[/STAT[US]={Y[ES] | N[O]}]

 

[/CR[LF]={Y[ES] | N[O]}]

 

[/HPOPT[PAGESIZE]={Y[ES] | N[O]}]

Page Size optomization for HPGL/2 and HPGL PlotTec

[/LAST[FA]={Y[ES] | N[O]}]

Frame Advance after the Last Frame

[/WHOLE[Pieces]={Y[ES] | N[O]}]

Plot/Cut Piece in One Frame

[/COL[ORS]={Y[ES] | N[O]}]  

Pens (Tools) According to Sizes

[/OPTC[utOrder]={Y[ES] | N[O]}]

 

[/PLOTHS or PlotHeaderStatus = {Y[ES] | N[O]}]

 

[/PLOTBL or PlotBumpLines = {Y[ES] | N[O]}]

 

[/PLOTS[plices]={Y[ES] | N[O]}]

Plot Splicing Marks

[/PLOTR[ulers]={Y[ES] | N[O]}]  

Plot X-Ruler

[/PLOTST[ripes]={Y[ES] | N[O]}]

Plot Stripe and Plaid Lines

[/M70={Y[ES] | N[O]}]

Use initialization in file header (<M70>/<IN>...)

[/BITE or /BT = {Y[ES] | N[O]}]   

Use Byte Offset

[/OFF[SET]=<value>]    

Byte Offset Value. By Default 0.0

[/YOFF[SET]=<value>    

Y Offset Value. By Default 0.0

[/USEH[EAD]={Y[ES] | N[O]}]

 

[/H[EAD]BYFR[AME]={Y[ES] | N[O]}]

 

[/HEAD[ER]=<header>]

 

[/USEF[OOT]={Y[ES] | N[O]}]

 

[/F[OOT]BYFR[AME]={Y[ES] | N[O]}]

 

[/FOOT[ER]=<footer>]

 

[/SEAM={VIS[IBLE] | B[OTH] | C[UT] | S[EW}]

 

[/RUL[ES]={Y[ES] | N[O]}]

 

[/EG[AP]=<external gap>]

External gap by X ( default = 0.0 )

[/SZSEP or SIZESEP={Y[ES] | N[O]}]

Plot sizes separately ( by default = NO )

[/SZONLY or SIZEONLY={Y[ES] | N[O]}]

Plot only sizes from next /SIZE operands. By default = NO - all visible sizes

[/SZ or SIZE=<size name>]

Plot this size

[/SZN or SIZEN=<size name>]

Not Plot this size

[/HpglWithoutDrill or HpglNoDrill={Y[ES] | N[O]}]

( by default = NO )

[/INCH={Y[ES] | N[O]}]        

Use Inch units

[/[USE]G70={Y[ES] | N[O]]   

Use G70 in Inches Cutting

[/HPGLENG[LISH]={Y[ES] | N[O]]  

HPGL English Unit

[/[USE]M31 = {Y[ES] | N[O]}]

Use M31 for Plot text

[/CUTDARTS[PLEATS] = {Y[ES] | N[O]}]

Cut darts and Pleats notches

[/DE[PLOT] = {A[LL] | N[O] | [S][P][C][D][Z][B][M][Q]}

Plot piece-description fields all or no or defined only: S - Style Name, P - Piece Name, C - Code Name, Z - Size name, D - Description, B - Bundle Code, M - Material Name, Q - Quantity 

@ARRANGE

Arrange to Plotter.

Format: @ARR[ANGE]

Keywords:

[/S[CA[TTER]]]

Scatter pieces ( and not use pieces with quantity=0 )

[/O[PEN]]

Open half pieces

[{/R[OT]={Y[ES]|N[O]}]

Rotate long pieces or not ( by default - YES )

[/W[IDTH]=<width>]

 

[/G[AP]=<gap>]

 

[/L[ENGTH]=<length>]

Plotter frame length

[/EG[AP]=<external gap>]

External gap by X ( default = 0.0 )

@PRINT

Print on default printer

Format: @PRI[NT]

Keywords:

[/SC[ALE]=<scale>]

Print with scale ( by default scale=1.0 )

[/{SCX|SCALEX}=<scaleX>]  

Scale X

[/{SCY|SCALEY}=<scaleY>]  

Scale Y

[/PAGE or /PG]

Fit to Page

@GLOBAL

Set global pieces parameters.

Format: @GLO[BAL]

Alias: @GLB

Keywords:

[/NA[ME]=<piece name>]

Use this parameter as a key for the piece identification.

[/ST[YLE]=<style name>]

Set style name

[/CO[DE]=<piece code>]

 

[/TO[OL]=<tool/Layer name for pieces external contour>]

 

[/NT[YPE]=<notch type>

T, V, I, L, U, P

[/NM[ODE]=<notch mode>

D[RAW], C[UT], P[UNCH]

[/CT[IME]=<Notch Cutting Time>]

B[EFORE], I[NTIME], A[FTER]

[/ND[EPTH]=<Notch Depth>]

 

[/NW[IDTH]=<Notch Width>]

 

[/BD[IAM]=<Button Diameter>]

 

[/PM[ODE]=<point mode>

D[RAW], C[UT], DR[ILL], ADR[ILL] ( for buttons )

[/SI[DE]=<side label>

L[EFT], R[IGHT], X[FLIP], Y[FLIP], LX, LY, RX, RY

[/GB[UF]=<buffer size>]

Sets buffer size

[/GD[IR]=<rotation allows>]

1(None), 2(PI), 4(PI/2), 8(PI/4), 0(All enable)

[/QU[ANTITY]=<quantity>]

 

[/MA[TERIAL]=<material>]

 

[/DS[CR]=<description>] or [/DESCRIPT[ION]=<description>]

 

[/QL=<quality>] or [/QUAL[ITY]=<quality>]

 

[/PRO[TECT]={YES | NO}]

Set Piece Protection

@DISPLAY

Control of display objects

Format: @DIS[PLAY]

Keywords:

[/TILT or /TL = {Y | N | [S][P][C][D][Z][B][M][Q]}

Control over display of following descriptions:

S - Style Name, P - Piece Name, C - Code Name, Z - Size name, D - Description, B - Bundle Code, M - Material Name, Q - Quantity

[/GRPNT = {Y or N}]

Show ( or not ) grade points

[/POINT or /PNT = {Y or N}]

Show ( or not ) non-grade points

[/PNTNUM = {Y or N}]

Show ( or not ) point numbers

[/TEXT or /TX = {Y or N}]

Show ( or not ) text

[/TXRLSC or /TRC = {Y or N}]

Show ( or not ) text in real scale

[/CONTOUR or /CN = {Y or N}]

Show ( or not ) contours

[/CIRCLE or /CR = {Y or N}]

Show ( or not ) circles

[/BUTTON or /BT = {Y or N}]

Show ( or not ) buttons

[/BASELINE or /BS = {Y or N}]

Show ( or not ) base line

[/GRAINLINE or /GRL = {Y or N}]

Show ( or not ) grain lines

[/NOTCH or /NT = {Y or N}]

Show ( or not ) notches

[/DART or /DA = {Y or N}]

Show ( or not ) darts

[/PLEAT or /PL = {Y or N}]

Show ( or not ) pleats ( axes )

[/LINES or /LN = {Y or N}]

Show ( or not ) darts and pleats ( axes ) in line form

[/DRAW = {Y or N}]

Show ( or not ) objects DRAW mode

[/CUT = {Y or N}]

Show ( or not ) objects CUT mode

[/PUNCH or /PU = {Y or N}]

Show ( or not ) objects PUNCH mode

[/DRILL or /DR = {Y or N}]

Show ( or not ) objects DRILL mode

[/AUXDRILL or /AUX = {Y or N}]

Show ( or not ) objects AUXDRILL mode

[/SEW = {Y or N}]

Show ( or not ) objects SEW mode

[/QUALITY or /QUA = {Y or N}]

Show ( or not ) objects QUALITY mode

[/NONE or /NO = {Y or N}]

Show ( or not ) objects NONE mode

@SIZES

Control of display sizes

Format: @SI[Z[ES]]

Keywords:

[/A[LL]]

show all sizes

[/B[ase]]

show base size only

[/ON=<size name>]

show this size

[/OF[F]=<size name>]

do not show this size

@TRANSFORM

Transformation of pieces

Format: @TR[A[NS[FORM]]]

Keywords:

[/NA[ME]=<piece name>]  

Pieces with this name only

[/RO[T[ATE]]=<degrees>]

Rotation

[/FL[IP][VER[TICAL]]]  

Flip vertical [ after Rotation ]

[/FL[IP]HOR[IZONTAL]]   

Flip horizontal [ after Rotation ]

[/XS[CALE]=<Horizontal scale factor>]

 

[/YS[CALE]=<Vertical scale factor>]

 

 

    Order of operation : Rotation, Flip, Scale

@CLEAR

Remove all pieces from the table; pieces remain available in the Pieces bar.

@REPORT

Create a Report in Excel format

Format: @REP[ORT]

Keywords:

[/FI[LE]=<file-name>]

Excel file name

@REPORTW

Build Report using report writer functionality

Format: @REPORTW

Alias: REPW

Keywords:

/TE[MPLATE=<template-file-name>

Path to the template file (mandatory).

/TY[PE]={PDF | XLSX |CSV}

Choose the report document type to be either .xlsx, .csv or .pdf (mandatory)

/OUT[PUT]=<file-name>

Output file name. (Optional)

If /OUT is missing - the report is generated inheriting current file name and location.

[/IN[PUT]]=<file-name>

Input Marker file name (Optional). Multiple /IN records should be available to generate aggregation report for multiple files. If /IN is missing - current file is used.

@RULES

Import Rule Table (ANSI/AAMA or ASTM format) or Open PDS Rules Library.

Format: @RULES

Alias:  @RULETABLE

Keywords:

/FI[LE]=<file-name>

File name

[/FM={IMP[ORT], PDS}]

File format, by default - format auto recognizing

@POINTCLEANUP

Clean Up all pieces ( delete same points without change form )

Format: @POINTCL[EANUP]

Alias: @PNTCLUP

Keywords:

/T[OL]=<Tolerance>

 

/MINL[INE]( or ML, or LINE )=<Minimal line length>

 

[/DGR=N | Y]

Delete non-grade points only or all kinds of points

[/IN[TERN]=Y | N]

Clean Up internal contours too ( or not )

@EXIT

Close PDS

Format: @EXI[T]

@ONESIZE

Delete all sizes except this size (by default except base size )

Format: @ONE[SIZE]

Keywords:

[/SZ=<size name> | /SIZE=<size name>]

 

@MVPNT

Move point or same points by names.

Format: @MVPNT

Alias: @MOVEPNT or @MTM

Keywords:

/PNT=<point name>

move all points with this name.

  [/DX=<value>]

move distance along X axis

[/DY=<value>]

move distance along Y axis

[/LSPNT=<point name>]

for move by (dx, dy) all points between pnt and lspnt.

[/FRSFIX=<point name>]

for proportional move all points between frsfix and pnt.

[/LSFIX=<point name>]

for proportional move all points between pnt ( or lspnt ) and lsfix.

[/SH[IFT]]

use special algorithm ( as Move Point with SHIFT )

@3DMODELLOAD

Load 3D model from file.

Format: @3DMODELLOAD

Alias: @3DM or @MODLOAD

Keywords:

/FI[LE] = <file-name>]

File of 3D model.

[/MER[GE] or /MRG]]  

Merge option

@ALTSTART

Change Alternative Start Point status of Point

Format: @ALTST[ART]

Alias: @AST or @ALTSTARTPNT

Keywords:

/PNT = <point name>

point

[/PIE[CE] = <piece name> ]

by default current piece

[/OFF ]

Remove Alternative Start Point status of point

[/ON ]

Set Alternative Start Point status of point ( default )

[/CW ]

Direction CW

[/CCW ]

Direction CCW ( default )

@ALLALTSTART

Change Alternative Start Point status of all points

Format: @ALLAST

Keywords:

[/PIE[CE] = <piece name> ]

by default all pieces

[/OFF ]

Remove Alternative Start Point status of point

[/ON ]

Set Alternative Start Point status of point ( default )

[/CW ]

Direction CW

[/CCW ]

Direction CCW ( default )

[/MIN[ANG]] = <angle>

minimal angle for set Alternative Start to point. By Default - in Preference ( grad ).

[/MAX[ANG]] = <angle>

maximal angle for set Alternative Start to point. By Default - in Preference ( grad )

@CHNT

Change Notches Attributes

Format: @CHNT

Alias: @CHNOTCH

Keywords:

[/PIE[CE] = <piece name>]

by default notches in all pieces

[/ON = {EXT | INT | SEAM | ALL}]

work with notches on external contours ( by default ), on internal contours, on seam or on all types of contours

[/DEL[ETE]]

remove ( by default - change )

[/REF]

reform connection for notches

[/LEN[GTH] = <length>]

set length ( by default - not change )

[/WID[TH] = <width>]

set width ( by default - not change )

[/TOP[WIDTH] = <top width>]

set top width ( by default - not change )

[/ANG[LE] = <angle in degrees>]

set angle ( by default - not change )

[/TP = {T | V | I | L | U | B[OX]}]

type of changed notches ( by default all types )

[/STP = {T | V | I | L | U | B[OX]}]

type for setting in changed notches ( by default - not change )

[/CM = {DRAW | CUT | PUN[CH] | NONE}]

command of changed notches ( by default all commands )

[/SCM = {DRAW | CUT | PUN[CH] | NONE}]

command for setting in changed notches ( by default - not change )

[/CT = {B[EFORE] | A[FTER] | CUT}]

cut time of changed notches ( by default all cut time )

[/SCT = {B[EFORE] | A[FTER] | CUT}]

cut time for setting in changed notches ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed notches ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed notches ( by default - not change )

@CHDR

Change Darts Pivot Points Attributes

Format: @CHDR

Alias: @CHDART

Keywords:

[/PIE[CE] = <piece name>]

by default darts in all pieces

[/DEL[ETE]]

remove dart ( by default - change )

[/DIST[ANCE] = <distance>]

set distance for dart pivot points ( by default - not change )

[/RAD[IUS] = <radius>]

set radius for dart pivot points ( by default - not change )

[/CM = {DRAW | CUT | DRILL | AUX[DRILL] | NONE}]

command of changed dart pivot points ( by default all commands )

[/SCM = {DRAW | CUT | DRILL | AUX[DRILL] | NONE}]

command for setting in dart pivot points ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed dart pivot points ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed dart pivot points ( by default - not change )

[/F = {I, T}]

Draw form of changed darts

[/SF = {I, T}]

Draw form for setting in changed darts ( by default - not change )

@CHBTN

Change Buttons Attributes

Format: @CHBTN

Alias: @CHBUTTON

Keywords:

[/PIE[CE] = <piece name>]

by default buttons in all pieces

[/DEL[ETE]]

remove ( by default - change )

[/TOCIR]

reform buttons to circles

[/RAD[IUS] = <radius>]

set radius for buttons ( by default - not change )

[/CM = {DRAW | CUT | DRILL | AUX[DRILL] | NONE}]

 command of changed buttons ( by default all commands )

[/SCM = {DRAW | CUT | DRILL | AUX[DRILL] | NONE}]

command for setting in buttons ( by default - not change )

[/CT = {B[EFORE] | A[FTER]}]

cut time of changed buttons ( by default all cut time )

[/SCT = {B[EFORE] | A[FTER]}]

cut time for setting in changed buttons ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed buttons ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed buttons ( by default - not change )

@CHCIR

Change Circles Attributes

Format: @CHCIR

Alias: @CHCIRCLE

Keywords:

[/PIE[CE] = <piece name>]

by default circles in all pieces

[/DEL[ETE]]

remove ( by default - change )

[/TOBTN]

reform circles to buttons

[/RAD[IUS] = <radius>]

set radius for circles ( by default - not change )

[/CM = {DRAW | CUT | DRILL | AUX[DRILL] | QUA[LITY] | NONE}]

command of changed circles ( by default all commands )

[/SCM = {DRAW | CUT | DRILL | AUX[DRILL] | QUA[LITY] | NONE}]

command for setting in circles ( by default - not change )

[/CT = {B[EFORE] | A[FTER]}]

cut time of changed circles ( by default all cut time )

[/SCT = {B[EFORE] | A[FTER]}]

cut time for setting in changed circles ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed circles ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed circles ( by default - not change )

@CHCNT

Change Internal Contours Attributes

Format: @CHCNT

Alias: @CHCONTOUR

Keywords:

[/PIE[CE] = <piece name>]

by default contours in all pieces

[/DEL[ETE]]

remove ( by default - change )

[/CL[OSED] = { Y[ES], N[O], ALL }]

type of changed/deleted contours : closed, non-closed or ( by default ) all.

[/CM = {DRAW | CUT | SEW | QUA[LITY] | TR[ACK] | NONE}]

command of changed contours ( by default all commands )

[/SCM = {DRAW | CUT | SEW | QUA[LITY] | TR[ACK] | NONE}]

command for setting in contours ( by default - not change )

[/CT = {B[EFORE] | A[FTER]}]

cut time of changed contours ( by default all cut time )

[/SCT = {B[EFORE] | A[FTER]}]

cut time for setting in changed contours ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed contours ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed contours ( by default - not change )

 

@CHTXT

Change Text Attributes

Format: @CHTXT

Alias: @CHTEXT

Keywords:

[/PIE[CE] = <piece name>]

by default text in all pieces

[/DEL[ETE]]

remove ( by default - change )

[/SIZE = <size>]

set size (height) of letter for text ( by default does not change size )

[/ANG[LE] = <angle in degrees>]

set rotation angle ( by default does not change angle )

[/CM = {DRAW | QUA[LITY] | NONE}]

command of changed text ( by default all commands )

[/SCM = {DRAW | QUA[LITY] | NONE}]

command for setting in text ( by default - not change )

[/BL = {Y[ES] | N[O]}]

bold value of changed text

[/SBL = {Y[ES] | N[O]}]

bold value for setting in text

[/CT = {B[EFORE] | A[FTER]}]

cut time of changed text ( by default all cut time )

[/SCT = {B[EFORE] | A[FTER]}]

cut time for setting in changed text ( by default - not change )

[/TL = <tool/layer>]

Tool Number / Layer Name of changed text ( by default all Tool Number / Layer Name )

[/STL = <tool/layer>]

Tool Number / Layer Name for setting in changed text ( by default - not change )

 

@OPENHALF

Open all half pieces of style

Format: @OPENHALF

Alias: @OPNHLF

@LOADSIZES

Load sizes

Format: @LOADSIZES

Alias: @LDSZS

Keywords:

[{/SIZE | /SZ }= <size name>]

Sizes added to current list sizes.

In case if sizes are not defined sizes list is loaded from active Grade Rule Library

In Sizes Tree mode parameter SIZE is ignored.

In case parameter SIZE for existing size or duplicate SIZE it is ignored without error of batch.

 

@APPLYRULESBYNAMES

Apply grading rules

Format: @APPLYRULESBYNAMES

Alias: @APPLYRULES

Keywords:

[{/SIZE | /SZ }= <size name>]

Apply for change absolute grading for this non-base size only ( new or existing size ).

Apply all Rules of active Grade Rule Library to all Points with this rule name.

In Sizes Tree mode parameter SIZE is ignored.

 

@RENAMEBASESIZE

Set new name for Base Size

Format: @RENAMEBASESIZE

Alias: @RENMBS

Keywords:

{/SIZE | /SZ | /NM }= <new size name>

 

 

@?

Continue batch statement performing ( after Error too ).

Keywords:

 [ comment ]

 

 

  

@INSERTMIDDLESIZE

 Insert new size before ( ratio < 0 ) or after ( ratio > 0 ) existing size.

Format: @INSERTMIDDLESIZE

Alias: @INSMIDSZ

Keywords:

[/FROMSIZE | /FRSZ] = <name of existing size>

by default /FROMSIZE=BASE

{/NEWSIZE | /SZ} = <name for new size>

 

[/RATIO | /RT] = <ratio> - ratio usually >

 -1.0 and < 1.0. By default /RT=0.5

 

@CLOSERULES

Close PDS Rules Library.

Format: @CLOSERULES

Alias: @CLSRL or @CLOSERULELIBRARY

 

@ADDPREFIX

Add prefix to names of all pieces

Format: @ADDPREFIX

Alias: @ADDPRE

Keywords:

/PRE[FIX]=<prefix> - <new piece name> = <prefix>_<old name>

 

 

@DELPREFIX

Delete prefix of piece names

Format: @DELPREFIX

Alias: @DELPRE

Keywords:

[/PRE[FIX]=<prefix>]

by default delete all prefixes ( first part of name before "_" ).

 

@DELETEPIECE

Delete pieces by name or by prefix

Format: @DELETEPIECE  

Alias: @DELPIECE or DELPIE

Keywords:

[/PIECE=<name> | /PIE=<name>]

name of deleted pieces

[/PRE[FIX]=<prefix>]

prefix of deleted pieces. By default delete all pieces with prefixes ( with "_" in name ).

 

@SETGRADING

Set grading of one ( by name ) or some ( by prefix ) pieces on one (non-base) size by base size of another piece ( by size prefix - pieces ) correspondingly.

Format: @SETGRADING  

Alias: @GRADE  

Keywords:

{/SIZE=<size> | /SZ=<size>}

non-base size for change grading

{/PIECE=<name> | /PIE=<name> | /PREFIX=<prefix> | /PRE=<prefix> }

piece / pieces for change grading

{SZPIECE=<name> | /SZPIE=<name> | /SZPREFIX=<prefix> | /SZPRE=<prefix> }

piece / pieces for source of grading

Piece isn't changed in case if corresponding source grading piece is not found.

 

@REMOVENAMES

Remove names from all objects into pieces ( but not piece names )

Format: @REMOVENAMES  

Alias: @REMNAMES or @REMNM

Keywords:

[/PIECE=<piece name> | /PIE=<piece name>]

remove names into one piece with <piece name> or( by default ) into all pieces

 

@REMOVERULESREF

Remove grading rule references from all grade objects into pieces: points, darts, buttons, circles, text.

Format: @REMOVERULESREF

Alias: @REMOVERULREF or @REMRULREF

Keywords:

[/PIECE=<piece name> | /PIE=<piece name>]

remove rule references from objects of one piece with <piece name> or( by default ) of all pieces

 

@CORRECTPIECESBYMAP

Remove grading rule references from all grade objects into pieces: points, darts, buttons, circles, text.

Format: @CORRECTPIECESBYMAP

Alias: @CORBYMAP

Keywords:

[/PIECE=<piece name> | /PIE=<piece name>]

correct pieces with this name by connected Map Zone or ( by default ) all pieces connected by Map Zones

@CHANGEPIECEPROP

Change piece properties

Format: @CHANGEPIECEPROP

Alias: @PIECEPROP or @PIEPR

Keywords:

[/UNIQUE=<name> | /UNI=<name>]

unique name for target piece

[/PIECE=<piece name> | /PIE=<piece name>]

name for target piece (one unique name or piece name must be defined).    

[NM = <name>] or [NAME = <name>]

 

[CD = <code>] or [CODE = <code>]

 

[DS = <description>] or [DESC[RIPTION] = <description>]

 

[MT = <material>] or [MAT[ERIAL] = <material>]

 

[QA = <best quality>] or [QUA[LITY] = <best quality>]

 

[QN = <quantity>] or [QUAN[TITY] = <quantity>]

 

 

    

    

@STACKGRADING

Define grading stack.

Format: @STACKGRADING

Alias: @STACKGR or @STAGR

Keywords:

[/PIECE=<piece name> | /PIE=<piece name>]

Piece for Stack. If piece name is not defined use the first piece

[/PNT=<point name>]

Point for Stack Point or Stack Along Line

[/PNT2=<point name>]

second point for Stack Along Line

[/BY=X|Y|A[LL]]

For Stack Point by X or by Y only.

By default - /BY=ALL.

If /PNT is not defined - Stack By Baseline

If /PIECE and /PNT are not defined - Stack By Baseline for all pieces

@MOVEPNTALONG

Move point along the contour.

Format: @MOVEPNTALONG

Alias: @MVALN

Keywords:

/PIE[CE]=<pieces>

piece

/PNT=<point name>

moved point name

[/CNT=<internal contour name>]

by default - external contour

/D[IST[ANCE]]=<distance>

distance for move ( > 0 - CW, < 0 - CCW )

[/CCW], [/CW]

Direction for move, by default - CW. In case distance < 0 and /CCW work as distance < 0 without /CCW.

 

@ASSIGNPOINTNAMES

Assign names to grading points of contour

Format: @ASSIGNPOINTNAMES

Alias: @ASSPNTNMS

Keywords:

/PIE[CE]=<pieces>

piece

[/CNT=<internal contour name>]

by default - external contour

[/PRF=<prefix for name]

by default - empty

[/SUF=<suffix for name]

by default - empty

[/ST[ART]=<start number>]

by default 1.

[/OV[ER]]

overwrite existing names. by default - not overwrite

 

@RESEAM

Reseam defined piece or all pieces

Format: @RESEAM

Alias: @ASSPNTNMS

Keywords:

[/PIE[CE]=<piece name>]

 

 

@CHANGESEAM

Change seam values of piece points

Format: @CHANGESEAM

Alias: @CHSEAM

Keywords:

/S[EAM] = <seam value>

 

[/PIE[CE]=<piece name>]

if piece is not defined all seam of all pieces will be changed.

[/FR[PNT]=<first point> /TO[PNT]=<last point>]

Segment for change seam. ( if segment is not defined all points of piece will be changed )

 If segment is defined and piece is not defined only pieces with existing defined segment are changed.

[/RE[SEAM]=YES|NO]]

perform / not perform Reseam after Change

[/MI[N] = <seam value>]

minimal seam value for changing

[/MA[X] = <seam value>]

maximal seam value for changing

 

Seam type of points is not changed. Points without seam are not receive this value. Variable seam will be remove. In case if RESEAM parameter is not defined reseam is perform in case if AutoReseam is ON only.

@CHANGESEAM also allows you to remove old seam of piece ( if it was exist ) and create ( if need ) basic seam on piece or on selected segment

/CL[EAR[E]]=Y[ES]

sign of this command modification.

[/PIE[CE]=<piece name>]

If piece is not defined all seam of all pieces will be changed.

[/S[EAM] = <seam value>]

Sign for create basic seam. If seam value is not defined basic seam is not created.

[/FR[PNT]=<first point> /TO[PNT]=<last point>]

Segment for create basic seam. If segment is defined and piece is not defined only pieces with existing defined segment are changed.

 

Parameters /RE[SEAM], /MI[N] and /MA[X] will be ignore in this command modification.

@SIZEVARIATION

Switch to existing Size Variation

Format: @[SIZE]VAR[IATION]

Keywords:

/NAME=<variation name>

/NM=<variation name>

If there is not Size Variation with this name new Size Variation is created.

 

 

@DELETEONESIZE

Remove one size

Format: @DELETEONESIZE

Alias: @DELSZ or @DELONESZ

Keywords:

{/SIZE | /SZ | /NM | /NAME}= <size name of existing non-base size>

 In case work in Multuvariarion or tree mode size for remove is found from active

 

 

     

@SETBASESIZE

Set to existing size status of base size.

Format: @SETBASESIZE

Alias: @SETBASE or @SETBASESZ or @BASESIZE or BASESZ

Keywords:

{/SIZE | /SZ | /NM | /NAME}= <size name of existing non-base size>

 In case work in Multuvariarion or tree mode size for base is found from active

 

 

     

@SETANGLE

Set Angle.

Format: @SETANGLE

Alias: @SETANG

Keywords:

[/PIE[CE] = <piece name>]

 if piece is not defined current piece will be changed

[{/SIZE | /SZ | /SZNM | /SZNAME} = <size name> | {ALLSIZES | ALLSZ}]

 if size is not defined base size will be changed;  ALLSIZE ( ALLSZ ) - change angles for all sizes with the same value.

{/POINT | /PNT | /PNTNAME | /PNTNM} = <grading point name>

 

/ANG[LE] = <angle value in degrees>

 

     

@RECTANGLE

Create rectangle piece.

Format: @REC[TANGLE]

Keywords:

/L[ENGTH]=<length>

 

/W[IDTH]=<width>

 

[/NA[ME]=<name for created piece>]

 

[/CEN[TER]=Y[ES]|N[O]] - add center button

 

     

@SWSEAM

Switch Seam to Cut or to Sew

Format: @SWSEAM

Keywords:

[/T[YPE]={SEW | CUT}]

by default TYPE=CUT ( to Cut )

[/PIE[CE] = <piece name>]

if piece is not defined all pieces with seam will be switched.

 

@SEWTOSEAM

Create Seam from existing SEW closed contour.

Format: @SEWTOSEAM

Keywords:

[/PIE[CE] = <piece name>]

If piece is not defined for all pieces without seam with one closed sew internal contour seam will be created.

If there are seam in the piece, or there is not one sew internal contour into piece, or there are more than one sew internal contour into piece in the piece Batch Error is not generated.

 

@PNTASRUL

Set Grading Points Names by Grading Rules Names.

Format: @PNTASRUL

Alias: @POINTNAMESASRULES or @POINTSASRULES

Keywords:

[/PIE[CE] = <piece name>]

If piece is not defined for points of all pieces are used.

 See also: PDS Batch commands