Python RhinoCAM

All topics related to RhinoCAM
Post Reply
1390232860
Posts: 2
Joined: Mon May 19, 2014 1:05 pm

Python RhinoCAM

Post by 1390232860 »

Hi there,

I would like to start programming in RhinoCAM with Python.

I just tried out a script in the Rhino Python editor that is in the document "RhinoCAM API User doc.pdf"

from mecsofcamapi import *
MecSoftCAM.API.Initialize() # … Some commands
MecSoftCAM.API.Uninitialize()

Unfortunately, I get an error Message: No module named mecsoftcampi (see attachment)



Any solution?

Thank you!
Michael
Attachments
Capture_Python_Editor.jpg
Capture_Python_Editor.jpg (174.48 KiB) Viewed 2719 times
MS1501006386
Posts: 2
Joined: Tue Jul 25, 2017 11:15 am

Re: Python RhinoCAM

Post by MS1501006386 »

I've seen that too, many times. I usually can fix it by re-installing and selecting repair as the option.

Dan
1390232860
Posts: 2
Joined: Mon May 19, 2014 1:05 pm

Re: Python RhinoCAM

Post by 1390232860 »

Hi Dan,

Thank you for your answer! For some reason it only works when I run Rhino as administrator...
Post Reply