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

Using rs in vs.... works somewhat

$
0
0

@AlanGreyjoy wrote:

So I followed this guide here http://wiki.mcneel.com/developer/sdksamples/rhinoscriptfromdotnet

I know its outdated, as that function does not work now. But I did get it to work anyways.

What I have noticed is that some calls don't work properly.

Example:
Dim go
go = rs.ObjectsByName("BOAT MAKE", True)
rs.TextObjectText(go, "Hello from .net!")

This just crashes the plugin. The error I get is "String Required" :rolling_eyes: .

Crazy right?

It will select the object named BOAT MAKE, but as soon as it changes the text, it crashes.

Whats REALLY funny, is if you replace go with a string, it dose not crash the plugin... but it also does nothing to the selected object obviously....

Anyone ever tried messing with this before?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles