NURBS to mesh

i got my script to make the NURBS ring i want, now i want to merge it with an existing mesh.

but first i need convert my NURBS to mesh. but i can’t get passed the pop-up

Hopefully some one can teach me how to implement this pop up in a script.

Regards

Ben

Try:

rs.Command("_-Mesh")

Note the hyphen character that proceeds the command name.

Cool Dale, that works.

could you explain what the " - " does to make it work?

The hyphen character tell Rhino to run the scripted version of the command. Whenever you are scripting command, you should always proceed the command name with a hyphen character.

http://docs.mcneel.com/rhino/5/help/en-us/information/rhinoscripting.htm