<FieldName>.LST script file

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Special Scripts > Data input >

<FieldName>.LST script file

Description

If present in the LST\ directory, these scripts are called when pressing a field right-button in the edit form mask.

Input

@CURRENT_PROJECT

project name

@EDIT

0: insert a new record
1: update an existing record

@PROJECT...

project name

@SELECTED_PROJECT

project name

Special case when a drawing is being saved

Remarks: a drawing saves its own record and that ones of the document being saved.

When saving the drawing's own record

@DRAWING_UNIQUE_ID


@DOCUMENT_UNIQUE_ID

0

When saving any drawn document's record

@DRAWING_UNIQUE_ID


@DOCUMENT_UNIQUE_ID

part/assembly unique id

Output

@CURRENT_PROJECT

the project to be activated in DBWorks

@DENSITY

density value in Kg/m3

any field name

value of the field