Hey:)
I don´t know if there is such a feature or a way to get this done:
I get files from R&D made in NX, once the export i have tons of parts that I dont need, so I want to get rid of the parts that take up the most space to make the file easier to handle.
Is there any way I can select by (file-)size, or complexity? Doing this manually takes up alot of time.
Thanks in advance -Sebastian
Hi Basti -
You can use the SelSmall
command, set a value that makes sense in your scene, and then run Invert
to get the bigger objects.
-wim
Hi Wim,
That already helps with selecting screws and small parts to delete, which is alredy very helpful
But i was searching for a way to select the biggest part in terms of filesize. Sometimes there are small mechanical parts that look small but are extremely complex, and those are the ones i want to select to delete. So I wish delete the objects that add the most to the filesize, and also draw alot of ressources.
Hi @sebastian.dennert
Not a solution to the specific problem, but another thing that will sometimes really help a lot is to select all and run ShrinkTrimmedSrf. Especially on things like fillets, spheres etc. there’s a lot of “unused” info in the file, and trimming it can sometimes help. Note that this will of course prevent you from untrimming the surfaces back to their original size, but if you are modelling “around” the imported geometry, it might be OK.
HTH, Jakob
Hi Basti -
It sounds like those objects might have most triangles in their display meshes, and if that’s the case, I suppose it would be possible to create a script that basically runs PolygonCount
on all objects and returns the N “biggest” objects.
Running Audit3dmFile
on a file will tell you how many bytes each object in the file uses in the .3dm file.
-wim
Hi @sebastian.dennert, take a look at the script posted here to select the object (PointCloud, Curve, Surface, PolySurface, Mesh) with the largest memory estimate.
_
c.
I will try that, thanks!