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()
#####################################
I got the same as what Steve showed.
When you want to merge for example 100 parts you probably got 100 Command: lines in the history.
But the workaround off Steve works.
So I am happy.
Thanks for you reactions.