Revero
04-21-2008, 04:36 PM
Hi Folks,
I have a VB question for XSI. Before I start let me first clearify what I need it for. What I want to do is create a script where upon selection of a CTRL_Obj ie. "LLeg_CTRL" I want the Custom Parameter Set I created for it to appear Automatically without having to go into the Explore to find it.
Here is what I have come up with so far.
if SelectObj = "Man.LLeg_CTRL" then
InspectObj "Man.LFoot_CTRL"
end if
Unfortunately this is not working properly yet. What I want to do is have the word Man in the first line to be unrelevant. And later on have a substitute such as N for the second line, where n = to the last SelectObj. If anyone can help me I would appreciate it, I am not very good at Scripting unfortunately.
From,
Revero
I have a VB question for XSI. Before I start let me first clearify what I need it for. What I want to do is create a script where upon selection of a CTRL_Obj ie. "LLeg_CTRL" I want the Custom Parameter Set I created for it to appear Automatically without having to go into the Explore to find it.
Here is what I have come up with so far.
if SelectObj = "Man.LLeg_CTRL" then
InspectObj "Man.LFoot_CTRL"
end if
Unfortunately this is not working properly yet. What I want to do is have the word Man in the first line to be unrelevant. And later on have a substitute such as N for the second line, where n = to the last SelectObj. If anyone can help me I would appreciate it, I am not very good at Scripting unfortunately.
From,
Revero
