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.

Creating toolbars of the same width etc like rappa tools

Creating toolbars of the same width etc like rappa tools

mitviz
Advocate Advocate
3,328 Views
29 Replies
Message 1 of 30

Creating toolbars of the same width etc like rappa tools

mitviz
Advocate
Advocate

would love to create toolbars vertically like i attached but all of them the same width as rappa tools, is this possible?

0 Likes
3,329 Views
29 Replies
Replies (29)
Message 2 of 30

Alfred.DeFlaminis
Alumni
Alumni

Hello @mitviz,

 

It's likely he used Python or some other scripting language to make those menus, not the standard maxscript.  So yes it's possible but it would likely requires some knowledge of programming.  I'll move this thread to the programming forum, you may get more information there.  This is one area where I am weak and cannot offer much assistance, regretfully.


Best Regards,  

0 Likes
Message 3 of 30

Swordslayer
Advisor
Advisor

Not a toolbar but a custom-built UI with a set of buttons and actions bound to their 'on pressed' event (and potentially more events, like the right-click), you can start with something like this (use .NET buttons instead if you want additional styling possibilities).

 

rollout test ""
(
	button btnClose "Press To Close" width:125
	button btn1 "Acton 1" width:125
	button btn2 "Acton 2" width:125
	button btn3 "Acton 3" width:125

	on btnClose pressed do
	(
		cui.UnRegisterDialogBar ::test
		destroyDialog ::test
	)
)

createDialog test 150 500 style:#(#style_toolwindow, #style_sysmenu)
cui.RegisterDialogBar test style:#(#cui_dock_left, #cui_dock_right, #cui_floatable, #cui_handles)
cui.DockDialogBar test #cui_dock_left

If all you wanted is to use the actions from customize UI, you can drag the tools on a regular toolbar, right click all the buttons that display an icon and edit their appearance to use text instead, and under Genera Preferences set the Fixed Width Text Buttons value to your liking.

 

Message 4 of 30

Alfred.DeFlaminis
Alumni
Alumni
0 Likes
Message 5 of 30

mitviz
Advocate
Advocate

wow, am not into any scripting etc myself really, i just wanted to create a toolbar like normal in max, drag my command to the toolbar and put them vertically stacked in max to one side and have them be the same size, well mine currently looks like this, some smaller some larger, for the most part its ok but was just checking

0 Likes
Message 6 of 30

mitviz
Advocate
Advocate

also maybe i can post this here, idk, when i open max, another little window pops up, see the attached, it started recently but  i use so many plugins idk how to tell which one is doing this

0 Likes
Message 7 of 30

Alfred.DeFlaminis
Alumni
Alumni

Hard to say @mitviz, do you use a tablet?  I believe the tablet overlay for some manufacturers looks like this.  

 

If you just want a vertical regular style toolbar with button labels you can just dock a tool bar on the side to get it.  However the text may get cut off, in which case what you'll want to do is go to Customize > Preferences > General tab.  In the UI DIsplay section you can uncheck "Fixed Width Text Buttons" or set it to a higher number.  You'll need to wiggle the toolbar for the changes to take effect.  Would that work?


Best Regards,

0 Likes
Message 8 of 30

mitviz
Advocate
Advocate

aha!! i didn't even know this existed! i will go this route but i have to test it tomorrow to see after i finish this scene, thanks for this tip! i might have to then for these toolbars with icons turn them to text to have them all how i want, is that possible?

0 Likes
Message 9 of 30

Alfred.DeFlaminis
Alumni
Alumni

Sure it's easy, just right click on the button and click "Edit Button Appearance".  Then check Text button instead of Image Button.  Please let me know how it goes!

Best Regards,

Message 10 of 30

mitviz
Advocate
Advocate

for sure i will, thanks a bunch!

0 Likes
Message 11 of 30

Alfred.DeFlaminis
Alumni
Alumni

Happy to help bud, thanks for your awesome attitude!  Enjoy your weekend.  

Best Regards,

0 Likes
Message 12 of 30

mitviz
Advocate
Advocate

thanks buddy! your really a big help!!

0 Likes
Message 13 of 30

Alfred.DeFlaminis
Alumni
Alumni
0 Likes
Message 14 of 30

mitviz
Advocate
Advocate

o thanks for following up! i didn't yet actually, i am in the middle of a never-ending project and was scared to move anything until its done 🙂

0 Likes
Message 15 of 30

Alfred.DeFlaminis
Alumni
Alumni

No problem @mitviz, thanks for the update.  Take your time and I'll be here when you're ready.  Thanks!

Best Regards,

0 Likes
Message 16 of 30

mitviz
Advocate
Advocate

will do!

0 Likes
Message 17 of 30

mitviz
Advocate
Advocate

so after working on this i have to say 3ds max has some issues with some toolbars, namely the vray toolbar and some others that have icons, when you try to change them to a text based toolbar it stil keeps its icons and resizes, however, it wants to and some toolbars when moved do odd things, the vray toolbar cant be simply pushed to the far left, it stays under other toolbars, 3ds max needs more effective ways to work with toolbars

0 Likes
Message 18 of 30

Alfred.DeFlaminis
Alumni
Alumni

Thanks for the update @mitviz.  There's not much I can do about 3rd party toolbars.  You might be able to ask Chaosgroup or iToo about it.  I appreciate the feedback.  It might be worth submitting a Feature Request for more toolbar options.  If you do, please post the link here so others can easily find it.  Thanks!

Best Regards,

0 Likes
Message 19 of 30

mitviz
Advocate
Advocate

ahh ok, here there someone already requested more options but i would think after all these years these things would have been a thing of the past for all autodesk softwares

https://forums.autodesk.com/t5/3ds-max-ideas/better-toolbar-buttons-customization/idc-p/7525479#M266...

0 Likes
Message 20 of 30

Alfred.DeFlaminis
Alumni
Alumni

Thank you for posting the link, I have voted here on this issue.  Looks like it's already under consideration so that's great.  I appreciate the feedback and the link.  

 

Best Regards,