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

Hyphenated command doesn't prompt options (_-SaveSmall)

$
0
0

Hello,

I’m having a problem with the “_-SaveSmall” command.
As I understand, it should prompt options, notably “Version”. In my case, it does not.

The goal here is to specify a Rhino file version to the “_-SaveSmall” command, in order to preserve the version in which the file was saved.
It is to be included in a Python batch script as:

import rhinoscriptsyntax as rs
file_rh_version = rs.ReadFileVersion()
savesmall = "_-SaveSmall _Version={} _Enter".format(file_rh_version)
rs.Command(savesmall)

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5823

Trending Articles