This script should do the trick. It’s written in Python. Download it and run it with:
_RunPythonScript /path/to/crvs2blocks.py
With the path being wherever you downloaded it.
Select the curves, then the points. The script will find out which points are on which curves and it will turn them into blocks (groups may be better, but I don’t necessarily know what you’re doing with the curves and points). Hopefully this works.
I want to rotate all this objects at once from their center. I found a script that allowed me to do this, but the objects would only rotate as one if they were converted to a block. So I now need to convert all those to individual blocks.
I believe there could be two solutions: Tweak the existing script you so kindly provided me with, or make a new one that simple rotates each “component” and its sub components as one and form the center.
Im sorry for not being this clear in my previous post.
Thanks to anyone that can help me in advance.
Alright, here is a script that should get the job done. The script will rotate any objects that are in closed curves. Since the only reason to make blocks is for another script entirely, I just included the rotation operation into one script. To start, make sure to select only the rectangles containing the curves and points (if the boundaries aren’t closed the script won’t work). Then the script will ask if you want the objects grouped. Grouping is not necessary for the rotation operation, but I give the option if you want. Finally input the desired angle of rotation (from -180 to 180) and the script will do its job. Hopefully this is what you are looking for.