Is there a way to check if a union operation was a success, or a way to check if the "base part" can be used with a union operation?

Hello fellow developers, I made a script that handles unions and makes them however sometimes if a mesh from blender comes it gives an error, and the union fails which it also creates unnecessary unions in workspace even though the union operation failed with this error “Part type not supported in CSG. Only blocks, spheres, cylinders, wedges and corner-wedges are currently supported.”:
image
Main questions:

  • Is there a way to check if a union operation was a success through the script
  • Or can you check if the “base part” can undergo a union operation
    Details:
  • Only happens with meshes from blender
    Alternative routes I thought about:
  • Adding a tag or value to the meshes from blender which when found within a mesh the script ignores the mesh and doesn’t conduct the union operation (however can be tedious to add to every single mesh)…
1 Like