Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / c# arguments
  RSS 2.0 ATOM  

c# arguments
Rate this thread
 
30171
 
Permlink of this thread  
avatar
  • slayczar
  • Posted: 17 March 2009 01:06 PM
  • Total Posts: 6
  • Joined: 21 February 2008 10:08 PM

Hey guys,

I was wondering if anyone has figured out how to get value out of the argument(s)passed from calling a c# command from xsi.

in xsi I call my custom c# plugin command (of which I added one “SingleObj” argument type), passing the “cone” object in my scene

myCommand “cone”

In the plugin’s Execute method, there is the in_ctxt object being passed. But I can’t figure out how to extract the “cone” object, and then get to the properties of the cone...like the [SIZE=2]"cone.kine.local.posx" property.

Any help would be fantastic.

Thanks,
S
[/SIZE]



Replies: 0