RE: Executing a String in JScript?

Date : Tue, 28 Mar 2006 08:34:10 -0500
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: Executing a String in JScript?
How about Application.ExecuteScriptCode  ?

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of André Adam
Sent: March 28, 2006 8:31 AM
To: xsi(at)Softimage.COM
Subject: Executing a String in JScript?

It would be very convenient if I could get a certain string to be considered regular code inside of a jscript. To make something like this actually return the object's x-position:

var a = new Array(".PosX.Value");
LogMessage(Selection(0) + a[0]);

Is there an Execute() or something similar available? Thanks in advance!

    -André

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.