import Part Part.show(Part.makeBox(100,100,100)) Gui.SendMsgToActiveView("ViewFit") length = 0.0 for o in Gui.Selection.getSelectionEx(): for s in o.SubObjects: length += s.Length print "Length of the selected edges:" ,length Caesar卢尚宇 2020年3月31日
原文地址:https://www.cnblogs.com/nxopen2018/p/12609132.html
时间: 2024-09-28 11:22:44