Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Errors in State Set Docs Examples

Errors in State Set Docs Examples

Anonymous
Not applicable
418 Views
1 Reply
Message 1 of 2

Errors in State Set Docs Examples

Anonymous
Not applicable

The examples here contain an error, I think.

http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/files/topichead_10.htm

 

masterState.CurrentState.Items[0]

 

should be:

masterState.CurrentState[1]

 

Does anybody agree?

0 Likes
419 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Found three more!
scriptedState = stateSet.AddScriptedState()

Should be:
scriptedState = stateSet.AddScriptedState False

 

 

and

masterState.RenderAllStates()

 

should be:

masterState.RenderAllStates False

 

and

masterState.AssignUniqueName stateSet

should be:

masterState.AssignUniqueName stateSet "MyStateSet"

0 Likes