One question about ICEM script failure
Why this work
' ic_undo_group_begin ic_geo_new_family GEOM ic_boco_set_part_color GEOM ic_empty_tetin ic_point {} GEOM pnt.00 1,2,3 ic_undo_group_end ic_undo_group_begin ic_undo_group_end ic_undo_group_begin ic_geo_new_family BODY ic_boco_set_part_color BODY ic_geo_create_volume {1 2 3} {} BODY ic_undo_group_end ic_undo_group_begin ic_undo_group_end ' but this doesn't work ' set a 1 set b 2 set c 3 ic_undo_group_begin ic_geo_new_family GEOM ic_boco_set_part_color GEOM ic_empty_tetin ic_point {} GEOM pnt.00 1,2,3 ic_undo_group_end ic_undo_group_begin ic_geo_new_family HAHA ic_boco_set_part_color HAHA ic_geo_create_volume {$a $b $c} {} HAHA ic_undo_group_end ic_undo_group_begin ic_undo_group_end ' ? Can you parameterize the button 'Create Body'? Best regard and many thanks, lnk |
may be you need to create the new procedure.
|
Quote:
Is there any way to make 'ic_geo_create_volume {$a $b $c} {} HAHA' works? Best regards and many thanks, lnk |
I think the curly brackets are your problem...
You could do it this way... Quote:
Quote:
|
Quote:
Thank you very much for your answer! |
Late answer but... here is another way to do it:
Code:
set a 1 |
All times are GMT -4. The time now is 20:10. |