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

Rs.Command(_Insert) is losing object names

$
0
0

@Edmark wrote:

I'm revisiting some code I wrote in 2013 for Mac Rhino, which worked fine at the time, but no longer works. . One problem I've isolated is that after I make this call:
rs.Command("-Insert _File=Yes LinkMode=Link ArmSpec3 Block _Scale 1 _Rotate " and then explode the block, the name of the objects from the "insert"ed file are not there. They definitely used to be back in 2013, since my code relies on being able to find them by name. If I change _LinkMode=Embed, the object names are retained after exploding the block, but I need to use Link mode.

Any idea what is causing this? Barring that, any suggestions for a workaround? Is there some other way I can perform this insert? Is there still no rs.Insert() command available?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles