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

SelChain with preselected curve

$
0
0

@AleksandarSM wrote:

Hello,

is there a way to use preselcted curve for SelChain command?

I made script for SELCHAIN command like this

-SelChain
_ChainContinuity=_Tangency
_GapTolerance=0.15
_AngleTolerance=1
pause
enter
_Join
enter

Purpose of this is to “cleanup” 2D drawing as much as possible after make2D command

I want to make python script based on this but I can not pass preselected curve to SelChain

    for curve in curves:

        rs.SelectObject(curve)
        rs.Command ("' -SelChain _ChainContinuity=_Tangency _GapTolerance=0.15 _AngleTolerance=1  enter" , False)

Thanks in advance!
Aleksandar

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5756

Trending Articles