June 5, 2024 at 7:41 pm
Nicole Pan Tavares
Subscriber
This is the current code for creating this selection, but in this case, it is selecting the entire solid, which is not wanted.Â
''Â
center_point = Point.Create(MM(0), MM(3), MM(0))
r_test = MM(1)
#BoundingBox = Box.Create(min_point, max_point)
comp = Selection.Create(GetRootPart())
#filtered_faces = faces.FilterByBoundingBox(BoundingBox)
faces = comp.ConvertToFaces()
filtered_faces = faces.FilterByBoundingSphere(center_point, r_inlet)
filtered_faces.CreateAGroup('Inlet_Test')
"