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® / Rigging / Custom Parameter, Help!
  RSS 2.0 ATOM  

Custom Parameter, Help!
Rate this thread
 
61436
 
Permlink of this thread  
avatar
  • Ariaman
  • Posted: 27 October 2011 01:50 PM
  • Total Posts: 2
  • Joined: 12 October 2011 04:11 AM

hello, i want to create an custom parameter like “button” under my object parameters or in attribute holder and i want this button run a simple code/script for me.

for example: linking Box1 to Box2
$.parent = $Box002

i know how to work with “wire parameter” and “parameter editor” but the problem is that i cant find any way to tell them to run this script with that parameter.

if anyone know a way to do this please help me!



Replies: 0
avatar
  • kaush
  • Posted: 17 December 2011 09:14 PM

ok i think you wont create custom button

then
you have to create custom attributes

button= attributes scale

)
rollout button “ Rollout”
(
button btn1 “Button” pos:[29,16] width:85 height:18

on btn1 pressed do
(
your code
)

)
custattributes.add $ button

select the obj and evaluat



Replies: 0