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

Pasting into Vb script editor ruins text formatting

$
0
0

Hi,
I came across this weird bug where copying simple vb script methods from the vbscript help file reformats the text in the editor causing the scripts to malfunction.

Here is the script from the help file and what it should be to work.
WorkSessionModelNames

Dim arrNames, strName

arrNames = Rhino.WorkSessionModelNames

If IsArray(arrNames) Then

For Each strName In arrNames

Rhino.Print strName

Next

End If

But then notice how it ruins the formatting on pasting into the editor causing errors
Seems that pasting takes out spaces merging words together

RM

system-info2.txt (2.6 KB)

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles