Dim ooDoc = ThisDoc.Document If ooDoc.DocumentType = kPartDocumentObject Then For Each oSketch In ooDoc.ComponentDefinition.Sketches oSketch.Visible = False Next

For Each oWorkPlane In ooDoc.ComponentDefinition.WorkPlanes
    oWorkPlane.Visible = False
Next

For Each oWorkAxis In ooDoc.ComponentDefinition.WorkAxes
    oWorkAxis.Visible = False
Next

For Each oWorkPoint In ooDoc.ComponentDefinition.WorkPoints
    oWorkPoint.Visible = False
    Exit For
Next

End If


原文地址: http://www.cveoy.top/t/topic/phdT 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录