Hi everyone,
I change my question to a simpler one.
I want to assign sheet material to a part, in "sheet metal" module,not "basic sheet" module.
I use recorder to record a system command.
Code:
preselect
set_pers_context "Toolbar-relative"
sha_attach_material
:sheet_part
(gpntwc 41.111052 17.628250 2.856922 "vport1")
:material
:MATERIAL_PLIST '(:MATERIAL "AA 5052" :THICK 1.6000000000000001)
:YES
complete
preselect
First, I define 2 variables "material" and "thickness"
for example: material="AA 5052" thickness=1.6
Second, replace this code below:
Code:
:MATERIAL_PLIST '(:MATERIAL material :THICK thickness)
The problem is the two variables can't transfer the values
"AA5052" and 1.6 to the list.
How can I modify this code?
Thanks for your help!
Best regards,
Andy
[Diese Nachricht wurde von Andylau am 07. Jul. 2021 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP