Convert Edge Loops to Curves


#1

Hi! Help me please to understand coding. I want to write script that converts Edge Loops to Curves.
When I wrote simple scripts earlier, I just took pieces of code from the Script-Editor and combined them. Now I do not even know where to start.
How to get a selection of Edge Loops by script?


#2

Hello,

Not sure if there is a specific reason you wish to code this, but maya does have this function already built in.
Select your edges -> Modify menu -> Convert -> poly edges to curve
works like a champ :slight_smile:

Hope that helps!
Cheers!