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 / Accessing parameters in expressions
  RSS 2.0 ATOM  

Accessing parameters in expressions
Rate this thread
 
30141
 
Permlink of this thread  
avatar
  • Total Posts: 48
  • Joined: 19 February 2008 03:35 AM

Hi,

I like to access parameters (like curve length) in expressions. I can’t actually do this. Anybody would help?

Thanks,

Jester



Replies: 0
avatar
  • CiaranM
  • Posted: 17 March 2008 03:34 AM

Hi,
you cannot directly access the curve length value from an expression. You’ll need to write a SCOP to read the value and write it to a custom parameter, which you’ll then be able to link to an expression. Make sure that your SCOP has ‘Always evaluate’ enabled.



Replies: 0
avatar

Thanks a lot! I’ll do that



Replies: 0
avatar
  • slyleb
  • Posted: 08 December 2008 02:01 PM

hello guys… i would need to do that as well.... but i am not a TD or programmer. Is by any chances one of you could get me through the process of doing the scripted operator and link to the custom param?…

thanks for your time

sly



Replies: 0
avatar
  • CiaranM
  • Posted: 08 December 2008 04:36 PM

Here you go:
http://www.blackredking.org/Images/Junk/crvList.mov
There’s some pretty good intro to SCOPS in the docs as well.



Replies: 0
avatar
  • slyleb
  • Posted: 09 December 2008 12:59 AM

Woh!! thanks so much Ciaran this is awesome!!!! and so fast! i needed to do that really fast for a job we are doing in the studio so i dont have the time to learn all by myself and with the docs… but i will check it out for sure ....  btw where do you work in NYC?

pretty thank again man, much appreciated.

sly



Replies: 0
avatar
  • CiaranM
  • Posted: 09 December 2008 01:53 PM

Hey, no problem.
Not in NYC anymore, I’m afraid (I should update my profile!), but I still call it home. Xvivo scientific animation is where I drink my cappuccino these days.



Replies: 0