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.

Maxscript Slider

Maxscript Slider

Anonymous
Not applicable
608 Views
0 Replies
Message 1 of 1

Maxscript Slider

Anonymous
Not applicable

The slider UI in Maxscript cannot get above default size 😞

The Dotnet version of the slider is the "trackbar" 

 

I wanted to make a nice tall slider as outlined in this example: 


http://forums.cgsociety.org/showthread.php?t=51360

 

But the ActiveX controls have been deprecated in max 2016. 

So instead I was fiddling with this little bit of code: 

dotnetcontrol SliderTest "System.Windows.Forms.TrackBar" width:200 height:200 pos:[50,120] 

 SliderTest.orientation = Slidertest.Orientation.Vertical gives me the same problem as the default maxscript slider: a tiny vertical slider

I tried setting SliderTest.Width = 200 SliderTest.height = 200

Still have a tiny slider. 

How to expand the slider out to the max value, and thereby achieve some control?

 

0 Likes
609 Views
0 Replies
Replies (0)