Πέμπτη 21 Ιουλίου 2016

Creo Parametric - Default_parameters.lst

Creo Parametric : default_parametrs.lst example with one Table inside:

ND_ParamDefArr_K01 = {
{
Name = param1
  Type = string
  Table = model_type
},
{
Name = param2
  Type = string
  Table = model_type
},
{
Name =material
Type = string
Default ='SEE DETAILS'
Enum={'-',
'AL5083',

'AL6020'}
},
{
Name = param3
Type = string
Default =' '
Enum={'-','gT','mS'}
},
{
Name = company
Type = string
Default = 'MyHome'
Enum=

{
'ASM',
'ISO',
'DIN'
}},
{
Name = modeled_by
Type = string
Default = '-'
Enum = { '-',

'X.Xxxxxxx',
'A.aaaaaa'
}
},
{
Name = drawn_by
Type = string
Default = '-'
Enum = { '-',
'X.Xxxxxxx',
'A.aaaaaa'}
 }
}

ND_ParamTable_K01 = {
NAME = MODEL_TYPE
  HEAD =                    param1,         param2

  ROWS = 'Metal',           '71681',       'note2'
         'Plastic',         '1dfg1',       'note3'
}

1)Add these parameters to your template_model.prt

2)Create a format Drawing Template with these Parameters eg. &modeled_by 
3)Add to config.pro your template_model.prt, template_drawing.frm, directory of your templates drawings formats(A4, A3 etc)
 
Save, Restart Creo and you are Ready


Δεν υπάρχουν σχόλια: