gear::xsi::operator Namespace Reference

Functions

def getOperatorFromStack
 Return an operator of given type from the deformer stack of given geometry.

Detailed Description


    This file is part of GEAR.

    GEAR is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/lgpl.html>.

    Author:     Jeremie Passerin      geerem@hotmail.com
    Company:    Studio Nest (TM)
    Date:       2010 / 11 / 15

Author:
Jeremie Passerin

Function Documentation

def gear::xsi::operator::getOperatorFromStack (   obj,
  opType,
  firstOnly = True 
)

Return an operator of given type from the deformer stack of given geometry.

Parameters:
obj Geometry - The geometry to check.
opType String - The type of the operator to find.
firstOnly Boolean - Only return first matching operator.
Returns:
An operator if firstOnly is true, a collection of operator if it's false, False if there is no such operator.
Generated by  doxygen 1.6.2-20100208