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 3ds® Max® / MaxScript / unknown visual max script ??
  RSS 2.0 ATOM  

unknown visual max script ??
Rate this thread
 
46955
 
Permlink of this thread  
avatar
  • SONY
  • Posted: 05 September 2010 08:55 PM
  • Total Posts: 10
  • Joined: 03 July 2009 12:54 PM

halo all

I got problem in the visual max
The problem is that when I do some commands Assistant message comes(unknown )

i try to do that match time and with other way but it stil unknown



Attachment Attachment
Attachment Attachment
Replies: 0
avatar
  • SITT
  • Posted: 05 September 2010 09:24 PM

radius...........



i am Chinese, my English is very poor,thank you for talk
MSN:sitt#live.cn

Replies: 0
avatar
  • SONY
  • Posted: 06 September 2010 05:52 AM

SITT 06 September 2010 04:24 AM

radius...........

radius or redius now this is dosen`t matter
the broblem stil with any kind of objects



Attachment Attachment
Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

You are attempting to access a property called “redius” which does not exist, hence the error. The property is spelled “radius” and must be spelled that way.

It is the line which assigns the spinner value to the property which is incorrect

BT1.radius va

Two other points.
Avoid having local and global variables with the same name. While perfectly legal, it makes reading and understanding the code difficult and fraught with danger. At any point in the code, does BT1 refer to the button or the object?
You are attempting to assign the value of a variable “va” to BT1.radius but there is no “va” declared anywhere in the code you provided. Did you mean “val”?



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 1
/img/forum/dark/default_avatar.png

In the example
I want just to show the problem back in the first image because of the wheel in the manufacture of example, and I am sorry for this error in any case, I have spent a long and never try to fix the problem a lot of things change and exhausted the options available that teach her
Listen

Ali anyway Thank you for Advice

Anything else, I wrote and “val” not “va” in the third picture

Author: SONY

Replied: 06 September 2010 12:42 PM