View Full Version : How can I get a polymesh's points using it's edges with JScript

09 September 2002, 06:52 AM
I'm using a JavaScript to write a script to do somework.
I need to get two points at the end of the Edge on a polymesh,
How can i do this with javascript?
I copied the code supplyed with the documents,but it seems can't work in JScript(I have ready translated it into Jscript)

09 September 2002, 09:49 AM
It seems that JScript has so limited function than VBScript.
Like this:
CreatePrim "Spiral", "NurbsCurve"
GetCurveLength "Spiral", length
MsgBox length
I even can't make it work using JScript!

CGTalk Moderation
01 January 2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.