CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-06-2005, 04:40 PM   #1
nubian
Fo Shizzle
H.N.I.C
USA
 
Join Date: Jul 2004
Posts: 447
Question Help w/ Hotkey Script Please

i'm trying to make hotkeys for the sculpt tool.

i thought something like this would work but it doesn't

SculptGeometryTool;
artUpdatePuttyOperation artPuttyCtx push ;
artPuttyValues artPuttyContext;
toolPropertyShow;
( this would be one hotkey)

SculptGeometryTool;
artUpdatePuttyOperation artPuttyCtx pull ;
artPuttyValues artPuttyContext;
toolPropertyShow;
(another hotkey)

SculptGeometryTool;
artUpdatePuttyOperation artPuttyCtx smooth ;
artPuttyValues artPuttyContext;
toolPropertyShow;


problem is that it doesn't change between the types (pull, push and smooth)

any help will be greatly appreciated.
please help.
thanks in advance.
 
Old 10-13-2005, 10:31 PM   #2
nubian
Fo Shizzle
H.N.I.C
USA
 
Join Date: Jul 2004
Posts: 447
bump...please help
 
Old 10-13-2005, 11:22 PM   #3
wrend
existitial phage
Campbell Strong
Upper Sturt, Australia
 
Join Date: Feb 2002
Posts: 548
just ripping from sctiptEditor ..

(maya 7.0)

SculptGeometryTool; // if your not already using the tool
artPuttyCtx -e -mtm "push/pull/smooth" `currentCtx`;

maybe??

c.
 
Old 10-14-2005, 01:45 PM   #4
nubian
Fo Shizzle
H.N.I.C
USA
 
Join Date: Jul 2004
Posts: 447
thanks wrend!

is there anyway to do this if the window was already open?
 
Old 10-16-2005, 03:42 AM   #5
wrend
existitial phage
Campbell Strong
Upper Sturt, Australia
 
Join Date: Feb 2002
Posts: 548
im not following you ..?
 
Old 11-12-2005, 02:42 AM   #6
nubian
Fo Shizzle
H.N.I.C
USA
 
Join Date: Jul 2004
Posts: 447
Thumbs up

i'm extremely sorry for the late reply.
this script does work....thanks!
 
Old 11-12-2005, 02:42 AM   #7
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:40 PM.


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