so_hi
11-17-2002, 11:03 PM
Hello all
I have been searching for the scripts for these commands
http://members.shaw.ca/murkworks/content/images/refmodes.gif
so I can make them into hotkeys.
I also would settle for a tool bar with them as buttons.
I posted this on Xsi base already and got something close
but not quite.
here is the scripts if anyone would like to debug them.
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Point", "Pick Point Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Edge", "Pick Edge Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Polygon", "Pick Polygon Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
The problem with the scripts is it switches your selection to the
type of reference selection. Example: I have a point selected,
I want to ref a poly I run the poly ref script and the picking
is fine but, it changes my selection to my previously poly selection.
I thought it had to do with line "ActivateRaycastPolySelTool "
it sets to the poly component selection mask, but I am
confused on what command to use.
Any help on this would be greatly appreiciated.
Thanks in advance.
I have been searching for the scripts for these commands
http://members.shaw.ca/murkworks/content/images/refmodes.gif
so I can make them into hotkeys.
I also would settle for a tool bar with them as buttons.
I posted this on Xsi base already and got something close
but not quite.
here is the scripts if anyone would like to debug them.
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Point", "Pick Point Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Edge", "Pick Edge Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
Dim l_pickedstr
ActivateRaycastPolySelTool
PickElement "Polygon", "Pick Polygon Reference",,l_pickedstr
SetTransientReferencePlane l_pickedstr
The problem with the scripts is it switches your selection to the
type of reference selection. Example: I have a point selected,
I want to ref a poly I run the poly ref script and the picking
is fine but, it changes my selection to my previously poly selection.
I thought it had to do with line "ActivateRaycastPolySelTool "
it sets to the poly component selection mask, but I am
confused on what command to use.
Any help on this would be greatly appreiciated.
Thanks in advance.
