create material in batch mode

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi everyone;

 

is there anyway to create material in batchmesher or how can i create material in batch mode? i using this tcl code; 

*collectorcreateonly materials 'steel' '' 5
*setvalue mats id=1 cardimage='MAT1'
*setvalue mats id=1 STATUS=1 1=210000
*setvalue mats id=1 STATUS=1 2=80769.2
*setvalue mats id=1 STATUS=1 3=0.3
*setvalue mats id=1 STATUS=1 4=7.85e-009

 

and i getting this error

Error:  Value is not modified successfully
0
    while executing
'*setvalue mats id=1 cardimage='MAT1''
    (file 'Z:/..../d2.tcl' line 18)
    invoked from within
'source Z:/..../d2.tcl'
End of command file - terminating.
HM exiting with code 1

 

i tried so much things but i coudnt find any solution. Can anyone help me? 

 

Thanks, kind regards

Ridvan

 

Find more posts tagged with