|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Special Scripts > Data input > <FieldName>.LST script file |
If present in the LST\ directory, these scripts are called when pressing a field right-button in the edit form mask.
@CURRENT_PROJECT |
project name |
|---|---|
@EDIT |
0: insert a new record |
@PROJECT... |
project name |
@SELECTED_PROJECT |
project name |
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 |
@CURRENT_PROJECT |
the project to be activated in DBWorks |
|---|---|
@DENSITY |
density value in Kg/m3 |
any field name |
value of the field |