Quantcast
Channel: Rhino for Windows - McNeel Forum
Viewing all articles
Browse latest Browse all 19547

Unit conversion broke changed? Vb scripts no longer work

$
0
0

@3dsynergy wrote:

Hi,
I have my rhino set to decimal inches and I use vbscripts to quickly measure in other units without having to click in the command line, this way I can stay in decimal inches and check any other unit type quickly, however I find that something has changed and my scripts no longer work properly.

The Vb unit script below was working just fine but after upgrading to Sr 19 no longer works. I get unknown command instead of the units printed on the command line.

-RunScript (
Sub DisplayDistanceIn
Dim setunits,dblDistance
setunits = Rhino.UnitSystem (,false)
Rhino.UnitDistanceDisplayMode 2,true
Rhino.command “_Distance”

Rhino.UnitDistanceDisplayMode setunits,true

End Sub
DisplayDistanceIn
)

RM

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 19547

Trending Articles