Check if in editpoly/uvwmap modifier?

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
Old 11 November 2005   #1
Check if in editpoly/uvwmap modifier?

is it possible to check which modifier the user is in when they run a script?

Id like to do a if statment and check the mode the user is in, depedning on the mode the script needs to do slightly diffrent...


Old 11 November 2005   #2
If you want to check if the modifier is an unwrap:

if mp!=undefined do (
	if classof mp==Unwrap_UVW do (
		nMod=modPanel.getModifierIndex obj mp
		format "obj.modifiers[%]=% is an unwrap\n" nMod mp 
Old 11 November 2005   #3
ok cool, thanks

Old 11 November 2005   #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
Society of Digital Artists

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

All times are GMT. The time now is 10:14 PM.

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