hou.Point class
Methods
attribType(self)→ hou.attribType enum valueattribValue(self, attrib)→int,float,strortupleclosestPrim(self)→ Prim or Nonedestroy(self)floatAttribValue(self, attrib)→floatfloatListAttribValue(self, attrib)→ tuple offloatgeometry(self)→ GeometryhasCollided(self)intAttribValue(self, attrib)→intintListAttribValue(self, attrib)→ tuple ofintisstuck(self)minDistanceToPrim(self, prim)number(self)→ intpointsOnPrimsSharingThisPoint(self, num_prims)→ tuple of Pointsposition(self)→ Vector4setAttribValue(self, attrib, attrib_value)setPosition(self, position)-
Changes the point’s location.
position
Any sequence of floats, such has a hou.Vector3 or a
tuple of floats, of length either 3 or 4. The fourth coordinate corresponds to the weight, and is usually 1. The weight is typically used by NURBS curves and sequences. If the sequence is of size 3, the weight will be unchanged.
Raises hou.GeometryPermissionError if the geometry is not modifiable. Raises hou.InvalidSize if the length of
positionis not 3 or 4. stringAttribValue(self, attrib)→strtransform(self, matrix)uvOfClosestLocationOnPrim(self, prim)