Custom Wire Color

Discussions regarding Materials, Material-Compounds or Shaders, etc.
Post Reply
Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Custom Wire Color

Post by Frank1000 » 25 Mar 2013, 21:24

Hi,
I followed the nice explanation here to create custom wire colors,

Image

but when I hit the resulting script button, i receive an error :

Code: Select all

' ERROR : Expected statement - [line 1]
' ERROR :  (Microsoft VBScript compilation error)
' ERROR :   >[1] /*
' ERROR :    [2] 	This example shows how to create a tool for changing the
' ERROR :    [3] 	wireframe color of an object and how to map an RGB color to
' ERROR :    [4] 	a wireframe color.
' ERROR : 	Expected statement
Any idea around what went wrong ?

Regards,
Frank

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: Custom Wire Color

Post by xsisupport » 25 Mar 2013, 21:26

Yes. The script is JScript and you are in VBscript. You probably need to recreate the button, but first set the scripting language to JScript.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: Custom Wire Color

Post by Frank1000 » 25 Mar 2013, 21:40

thx Steve, that was it.

Frank

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests