Group polysrf and curves on the srf

Hello,

many times I need to group polysrfs and curves which are ón one of the surfaces of that polysrf.

So: I have a set of polysurfaces and a set of curves, by pushing the button it makes a group of every Polysrf and the curves on top.(for every set a seperate group)

I’m not familiar with scripting although I use some scripts which are made by very bright people. is it possible to make a script for this?

thanks a lot already!

Albert

Hi Albert - see how this quick Python works.

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

GroupCurvesToBreps.py (1.1 KB)

-Pascal