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

Error "name required when object_id represents multiple objects"

$
0
0

Hi

I am total newbie
I am trying to make a script that copy several objects and then add a surfix to the name.

Right now I just made a small script to print the objects name.
But when I do run it it get this error:
name required when object_id represents multiple objects

Can anybody help make the script work

Here is the script for print names:

import rhinoscriptsyntax as rs

obj =rs.GetObjects()
names = rs.ObjectName(obj)
print names

Hope someone will help me :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles