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

rs.GetObjects and *then* SelName does not work properly

$
0
0

@gero wrote:

Hi,

some of my Python scripts let the user select objects using rs.GetObjects(). The selection is frequently performed with the interactive SelName function. I.e. instead of picking objects with the mouse I type selname and choose objects based on their object name.

When I happen to choose objects that have no name assigned (i.e. the first entry <No name> in the Select Name dialogue box) then this does not seem to work properly. The objects are visually highlighted as selected but the result of the rs.GetObjetcs - function is None.

I think this might be related to this earlier toppic:_SelName from rs.GetObjects not returning expected results

Regards,
Gero.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles