PDA

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


Steve3d
09-04-2002, 07: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)

Steve3d
09-04-2002, 10: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-13-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.