Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 27-02-2006, 10:08 PM   #1
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default sel borderVerts and move them to [0 Y Z]

when borderselecting vertices from an object - a halfside modeled face for example - how can I move every single vertex from this selection to 0 (zero) on the X axis?

this is what I came up with until now (reading through the script from Dirk Bialluch at http://www.lightstorm3d.com/download...intToGrid.htm:


rename tmpOrig_1;
ConvertSelectionToVertices;
SelectPolygonSelectionBoundary;
doMenuComponentSelection("tmpOrig_1", "vertex");

/////////////////////////
// deselecting CVs from eye and nose //
/////////////////////////


// filter selected points
string $selPoints[] = `filterExpand -fullPath 1 -expand 1-sm 31`;


// snap points
for( $point in $selPoints )
{
setAttr "tmpOrig_1.pnts[1].pntx" 0;
}





// poor, isn´t it? //

any help or hint in any direction would be greatly appreciated!

Last edited by Falott : 28-02-2006 at 01:27 AM.
Falott is offline   Reply With Quote
Old 28-02-2006, 01:35 AM   #2
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

what is it?


I need to store the border verts somewhere (array?) to recall them later for performing an action on them.

is it a procedure?
Falott is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.