Toolbar like Custom User Interface from script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2009   #1
Toolbar like Custom User Interface from script

Hi all,

I'm currently working on a tool and I want to have the toolbar using the same system as the custom interface menu. Users should be able to remove or add buttons like any toolbar already there.

I know that to make commands appear in the list, I have to make macroScripts but I can't find a way to create a tool bar from script.

I know how to do it using the interface, but I want to show the toolbar with some basics buttons when the plugin is loaded.

All those info are stored in a cui file. I'm not sure how to offer this, I don't want to force a cui file and have users to redo everything...


Thanks in advance !
 
Old 02 February 2009   #2
no can do - can't create your own toolbars nor add buttons to / removes buttons from existing toolbars using MaxScript.

( that is to say - you *might* be able to fidget with the CUI file but odds are the resulting file, when loaded, will make 3ds Max go *poof* never to be heard from again until the user deletes the CUI files - the CUI file format is undocumented and one of the great mysteries )
 
Old 02 February 2009   #3
Err... I can't believe they haven't thought about it...
Anyway, i'll try the unsafe way, directly alter the cui file

Thanks anyway !
 
Old 02 February 2009   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:30 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.