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

Rhino.GetObject ("-SelBlockInstanceNamed")

$
0
0

@J11 wrote:

I am a total newbie. So please ignore my ignorance.

Is there a way to bypass user input of force entry into the command line.

For example, I have a Block Instance in a file. I named the block instance.

I now import the file and run the selblockinstancenamed. But the script stops for the user to select the block.

If I select the item manually the script runs fine.

However if I try to select the item another way for example - Rhino.ObjectsByLayer I get a mismatch error saying a str is required.

Any ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles