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

Help! This pycode does not work

$
0
0

@robinyss wrote:

Hi,

This pycode does not work,can you help me?

import rhinoscriptsyntax as rs

srf = rs.GetObject("select Extrude surface",rs.filter.surface)
if srf:
    cmd = "_ExtrudeSrf _Pause S=_Yes "
    rc = rs.command(cmd + chr(34) + srf + chr(34), True)
    rs.HideObject(srf)
else:
    print "not select surface"

It does not work,please help me.

Posts: 12

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5871

Trending Articles