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

Open and close a 3dm file with python on mac

$
0
0

Matteo Ledri wrote:

I would like to create a script that opens a 3dm file, performs a simple operation (add a box), save the model and close the model. This should be repeated for a list of files, that are in different paths.

I tried to use this command to open the file but it doesn't work:

rhinoFile = '/my/path/file.3dm'
rs.Command('_-Open' + rhinoFile + ' _-Enter')

Any suggestions?

Thanks in advance
M

Posts: 9

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 4159

Latest Images

Trending Articles



Latest Images