Reset Xform button?

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
  03 March 2005
Reset Xform button?

Hi people

Is there any way to call the Reset Xform utility so i can put it on a button? It seems that the utilities are not included into the Customize user interface.

Thanks!
__________________
"Diselo a mi brillante culo metálico"
www.jhotun.com
 
  03 March 2005
Originally Posted by Jhotun: Hi people

Is there any way to call the Reset Xform utility so i can put it on a button? It seems that the utilities are not included into the Customize user interface.

Thanks!


No, but you can use the ResetXForm() function (in max 6 and higher) to do the same.
Something like:

macroScript ResetXForm category:"Forum help"
(
on isEnabled return selection.count > 0
on execute do resetXForm selection
)
 
  03 March 2005
Thanks for your answer Bobo.

Excuse me for my incompetence with maxscript, but as far as i know, i should paste it into the maxscript window and after selecting it, i should drag and drop to a button... but i get this message:

-- compile error: Nested macroscript definitions are not permitted.
-- In line : macroScript ResetXForm category "Forum help"

Sorry for disturbing :P

Thanks!
__________________
"Diselo a mi brillante culo metálico"
www.jhotun.com
 
  03 March 2005
You get error coz Bobo already wrote you as macroscript. (with dropping it to toolbar max trie's to create macroscript...from macroscript. So what you should do is just run script and go to customize and customize user interface. If you want it to toolbar, go to toolbars tab and find "Forum Help" category. There should be "ResetXForm" and all you need to do is drag and drop it to your toolbar.

Cheers.
 
  03 March 2005
A million of thanks!
__________________
"Diselo a mi brillante culo metálico"
www.jhotun.com
 
  03 March 2005
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 12:30 AM.


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