Formulas extracting information about the applied material

The following formulas extract information about the material used in a drawing as selected in the Materials tab of the Project Properties dialog box.

How to link formulas to drawings

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:

  • To refer to a drawing associated with a container frame (OneUpN, LayoutN, 3DFoldN). Type the container frame's name — for example, $OneUp1.Material.Name$, $Layout1.Material.Name$ or $3DFold1.Material.Name$.
  • To referr to the actual name of a drawing. Type the name in quotation marks — for example, $"Body".Material.Name$; $"Left Wall".Material.Name$. TIP: By using this approach you can refer to any drawing in the project without considering whether it refers to a container frame.

The formulas

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.

See the general rules for how to write formulas and format formula results.