The following formulas extract information about the material used in a drawing as selected in the Materials tab of the Project Properties dialog box.
The examples below show formulas in the pattern $[drawing].[formula]$, which you type in the program. For [drawing], type a reference to the drawing from which the formula will extract information. Here's how:
Name | Syntax | Notes | Result |
---|---|---|---|
Material name | $[drawing].Material.Name$ | B Flute Brown | |
Base type | $[drawing].Material.BaseType$ | Corrugated Cardboard | |
Material type | $[drawing].Material.Type$ | B Flute | |
Front side | $[drawing].Material.FrontSide$ | The front side name of the used material. | Corrugated Brown Front |
Rear side | $[drawing].Material.RearSide$ | The rear side name of the used material. | B Flute Brown Rear |
Edge border | $[drawing].Material.Border$ | The edge name of the used material. | Corrugated Brown Edge |
Die side | $[drawing].Material.DieCutSide$ | Indicates the die-cutting side for the material. Returns 'Front' or 'Rear'. | Rear |
Grain aware | $[drawing].Material.GrainAware$ | Indicates if grain awareness is taken into account.Returns 'Yes' or 'No'. | Yes |
Parameter template | $[drawing].Material.ParTemplate$ | The name of the applied parameter template. | Corrugated |
Grammage | $[drawing].Material.Grammage$ | The weight (in grams per sq. m.) of the used material. | 500 |
Calculation thickness | $[drawing].material.thicknesscalc$ | In default measurement units | 3 |
$[drawing].d()$ | |||
Real thickness | $[drawing].material.thicknessreal$ | In default measurement units | 3.1 |
Flute/Grain direction | $[drawing].fd()$ | Returns: 0 = horizontal; 90 = vertical | 90 |
Material cost | $[drawing].Material.Cost$ | 130 | |
Material producer name | $[drawing].Material.Producer$ | John Doe Inc. |