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

Selchain behaviour change rhino 5 to 6

$
0
0

@Alberto wrote:

Hi,
I am trying to understand how the SelChain behaviour has changed in rhino 6. The following script has two different outcome in rhino 5 and 6:

import rhinoscriptsyntax as rs

rs.Command('_SelChain _SelID e7423f0d-1196-41bf-b371-af76f1472dce  _AngleTolerance=1 _GapTolerance=0.001 _ChainContinuity=Position _Enter ', True)
print rs.SelectedObjects()

where the ID need to be changed to the one of an object in a chain in your model. The expected outcome is that all the objects that are adjacent to the one passed to the command should be selected. In V5 this is the case. In V6 the list returned by rs.SelectedObjects() is empty.

Am I missing something?

Thanks a lot
Alberto

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles