I need to use squish rhino command with a surface and curves selected inside the plugin I’m developing, and then use the squish outputs as surface and curves to continue working with them inside the plugin.
I haven’t found any information about how to interact with rhino commands when creating a plugin, and use their outputs as new objects.
Yo tengo el mismo problema. Me gustaría crear un plugin con phyton y no encuentro información al respecto. Ni siquiera estoy seguro de que pueda hacerlo con phyton. También estoy intentando ejecutar un script con RunPhtyonScript SubcarpetaNombreArchivo sin resultados.
Me gustaría un poco de ayuda para empezar. Muchas Gracias
I’ve read the example and tried the script method before asking, but doesn’t seem to work with the squish command. I guess it’s because it’s plugin and not a native command.
It shouldn’t matter if the command is implemented in a plug-in or not. Did you make to to have your command class derive from CRhinoScriptCommand instead of CRhinoCommand?
By the way, the output of the squish command includes surfaces, points and curves… i cant find the way to check if these CRhinoObjects are points, curves or surfaces… Is there any example dealing with this issue? Thanks
Hello, i would like to run a zebra analysis from a plug in but i would like to change the seetings of the analysis, but everytime i want to, either rhino crashes or simply just ignore the command. I use the rhinoScriptCommand to run the command from plugin. I use the following code. Srf is the surface I selected previously.
Thank you for the code, but if I am working on Rhino5 using visual studio 2010? Because the code gives me errors. Here is the complete code, and specially if i want to change the orientation which is a byte type object.
Hello, is there a way to stop or exit the command run? I mean, I called the zebra analysis but the window of the analysis is still open and i want to exit the command. After the RhinoApp().RunSript(L"_Zebra ", 0); can i add a line code like exit or cancel?