we have this command for primitives:
geo.deletePrims([geo.prims()])
But I didn't see one for points in the documentation.
How can one delete points in a python sop?
how to delete points in a python sop?
4391 1 0-
- josh3light
- Member
- 120 posts
- Joined: Feb. 2008
- Offline
-
- andehpandeh
- Member
- 28 posts
- Joined: March 2019
- Offline
You can use a list like:
you can also use a group of points. If you have a group of points called "blastGrp" you can delete those points like so:
node = hou.pwd() geo = node.geometry() pointList = [] for point in geo.points(): pointList.append(point) geo.deletePoints(pointList)
geo.deletePoints(blastGrp.points())
Edited by andehpandeh - May 30, 2024 01:11:25
-
- Quick Links

