Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5849

Rhinoceros 7 automation

$
0
0

I am using the script available here:

[Run Rhino 6 and python script from Windows command line]

and trying lo run my plugin in batch within automation. My plugin implements a very simple command and contains just a single line of code to do its job:

RhinoApp().ActiveDoc()->AddCurveObject(ON_Line(ON_3dPoint(0, 0, 0), ON_3dPoint(100, 0, 0)));

The script creates the final 3dm but the file which is saved does not contain any line. What am I doing wrong?

Thanks a lot!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5849

Latest Images

Trending Articles



Latest Images