Material.LST script file

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Special Scripts > Material >

Material.LST script file

 

The correct syntax for the file name is <NAME_FIELD_MATERIAL>.LST where the field name is language dependent.

If present in the LST\ directory, this script is called for starting the Material Wizard

Starting from R26, the MechworksPDM installer stores the <GPP>\LST\material.spt file updated version in <GPP>\LST\DEMO folder. Then the file <GPP>\LST\material.spt is not overwritten anymore.

Input

@CURRENT_PROJECT

project name

@EDIT

0/1

@PROJECT...

project name

@SELECTED_PROJECT

project name

<NAME_FIELD_VOLUME>

volume value in m3

@COMPUTE_WEIGHT

0/1

Output

<NAME_FIELD_WEIGHT>

weight value in Kg

@DENSITY

density value in Kg/m3