paya.runtime.nodes.GeometryFilter#
- class GeometryFilter(*args, **kwargs)#
 Inheritance
GeometryFilterDependNodeDependNodePyNodeProxyUnicode- classmethod getFromGeo(*geometry)#
 - Parameters
 *geometry (list, tuple,
Transform,DeformableShape,) – the geometries to inspect- Returns
 Deformers of this type detected across the specified geometries.
- Return type
 
- getShapes()#
 Convenience wrapper for
deformer(q=True, g=True).- Return type
 The shapes affected by this deformer.
- Returns
 
- dumpWeights(filepath, shape=None, remap=None, vertexConnections=None, weightPrecision=None, weightTolerance=None, attribute=None, defaultValue=None)#
 Wrapper for
deformerWeights()in ‘export’ mode. Arguments are post-processed to ensure that only relevant deformers and shapes are included. See Maya help fordeformerWeights()for complete flag information.- Parameters
 - Returns
 self- Return type
 
- loadWeights(filepath, shape=None, method='index', worldSpace=None, attribute=None, ignoreName=None, positionTolerance=None, remap=None)#
 Wrapper for
deformerWeights()in ‘import’ mode. Arguments are post-processed to ensure that only relevant deformers and shapes are included. See Maya help fordeformerWeights()for complete flag information.- Parameters
 - Returns
 self- Return type
 
- copyWeightsFrom(sourceDeformer, sourceShape=None, destShape=None, sourceUVSet=None, destUVSet=None, method='index')#
 Copies weights from another deformer to this one.
- Parameters
 sourceDeformer (str,
GeometryFilter) – the deformer to copy weights fromsourceShape/ssh (str,
DagNode) – the shape to copy weights from; if omitted, defaults to the first detected shapedestShape/dsh (str,
DagNode) – the shape to copy weights to; if omitted, defaults to the first detected shapesourceUVSet/suv (str, None) – if specified, ‘method’ will be overriden to ‘uv’; if omitted, and ‘method’ is ‘uv’, the current UV set will be used; defaults to None
destUVSet/duv (str, None) – if specified, ‘method’ will be overriden to ‘uv’; if omitted, and ‘method’ is ‘uv’, the current UV set will be used; defaults to None
method/m (str) –
one of:
index(via XML)bilinear(via XML)barycentric(via XML)nearest(via XML)over(via XML)closestPoint(in-scene)closestComponent(in-scene)uv(in-scene)rayCast(in-scene)
- Returns
 self- Return type