[CS2] Design Template Variables

Design template variables are generated from the parameters of a design.

design.name The name of this design.
design.width
The width of the component this design represents.
design.height
The width of the component this design represents.
design.safe An object that represents the safe zone (the dashed blue line) of a design, which is 0.25 inches or 75 pixels from the edge of the design.
design.safe.left
75 pixels from the left edge of the design.
design.safe.right
75 pixels from the right edge of the design.
design.safe.bottom
75 pixels from the bottom edge of the design.
design.safe.top
75 pixels from the top edge of the design.
design.safe.width
The width of the design minus 150 pixels.
design.safe.height
The height of the design minus 150 pixels.
design.trim An object that represents the cut line (the red line line) of a design, which is 0.125 inches or 37 pixels from the edge of the design.
design.trim.left
37 pixels from the left edge of the design.
design.trim.right
37 pixels from the right edge of the design.
design.trim.bottom
37 pixels from the bottom edge of the design.
design.trim.top
37 pixels from the top edge of the design.
design.trim.width
The width of the design minus 75 pixels.
design.trim.height
The height of the design minus 75 pixels.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us