hi there..!!!
i am trying to write the macro for normals adjustments.
here is the way i want the macro to work:
i would like to select a element for orientation.
macro should adjust the normals of the components attached to the selected elements and orientation should be as per the selected elements.
i am not succesful in creating this macro but i tried this way..
*createmarkpanel elements 1'select orientation element'
set d [hm_getmark elements 1]
*createmark elements 1 $d
*findmark elements 1 1 1 elements 0 2
set elementset [ hm_getmark elements 2 ]
set compid [ hm_getentityvalue ELEMENTS [ lindex $elementset 0 ] 'collector.id' 0 ]
*createmark comps 2 $compid
set maxcomp [ hm_entitymaxid comps 1]
*normalsadjust components 2 1 0 0
its giving the error... 'elements have not been selected'
i also request you to help me understand * findmark syntax and *normaladjust syntax.
thanks for ur help in advance.
Regards,
Kiran