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

rs.Command() Suppress echo problem

$
0
0

@Nico_de_Meester wrote:

Hi-

In the python code below I try to suppress the echos on the command line but it still shows the "command:" echo.
Is it possible to suppress this aswell?

##################################
import rhinoscriptsyntax as rs
import Rhino

def MergeEdge():
    ArrObject=rs.GetObjects("Select Parts",16)
    rs.EnableRedraw(False)
    for srf in ArrObject:
        rs.Command("_MergeAllEdges _SelId "+ str(srf) + " _Enter",False)
    rs.EnableRedraw(True)
if __name__ == "__main__":
    MergeEdge()
#####################################

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles