Home Technical Talk

3ds Max custom attrib script?

This discussion was created from comments split from: PolyUnwrapper 4.0 Released.

It appears you are a new user. Please see Information about Polycount & New member introductions. You must create a reply there before you can make your own threads.

Replies

  • AlanLostan
    Hello guys i didnt Know how to make a new thread and i do have this problem when i create DropdownList it rests
    and  it goes like this 
     ca = attributes L_Leg_Postion_Controls
    (
    parameters Pos  rollout:Mega
    (Pos_selected  type:#index ui:Pos default:0
    )
    rollout Mega "L Leg Pos" width:200 height:600
    (
    dropdownList Pos "test" items:#("") 
    button btn_test "get selection" 
    fn Pos_Selected itm =
      (
        format "You selected %\n" itm
      )
    on btn_test pressed do
    (
    Pos.items = append Pos.items ("Pos "+ (Pos.items.count+1) as string)
    Pos_Selected (Pos.selection = Pos.selection + 1 )
    )
    )
    )
    custAttributes.add $.modifiers [1] ca
Sign In or Register to comment.