用vb如何开发solidworks!!!运行为什么总是会出现错误???
这些是拉伸指令Part.ShowNamedView2"*上下二等角轴测",8boolstatus=Part.Extension.SelectByID2("草图1","SK...
这些是拉伸指令
Part.ShowNamedView2 "*上下二等角轴测", 8boolstatus = Part.Extension.SelectByID2("草图1", "SKETCHREGION", -0.006129740340857, -0.006757397417192, 0.008770383608117, True, 4, Nothing, 0)*(这步出现错误,出现下面的窗口)Part.ClearSelection2 Trueboolstatus = Part.Extension.SelectByID2("草图1", "SKETCH", -0.006129740340857, -0.006757397417192, 0.008770383608117, False, 4, Nothing, 0)Part.SelectionManager.EnableContourSelection = 1boolstatus = Part.Extension.SelectByID2("草图1", "SKETCHREGION", -0.006129740340857, -0.006757397417192, 0.008770383608117, True, 4, Nothing, 0)Part.FeatureManager.FeatureExtrusion2 True, False, False, 6, 0, 0.001 * 0.8 * hh, 0.001 * 0.8 * hh, False, False, False, False, 0.01745329251994, 0.01745329251994, False, False, False, False, 1, 1, 1, 0, 0, False
Part.SelectionManager.EnableContourSelection = 0 展开
Part.ShowNamedView2 "*上下二等角轴测", 8boolstatus = Part.Extension.SelectByID2("草图1", "SKETCHREGION", -0.006129740340857, -0.006757397417192, 0.008770383608117, True, 4, Nothing, 0)*(这步出现错误,出现下面的窗口)Part.ClearSelection2 Trueboolstatus = Part.Extension.SelectByID2("草图1", "SKETCH", -0.006129740340857, -0.006757397417192, 0.008770383608117, False, 4, Nothing, 0)Part.SelectionManager.EnableContourSelection = 1boolstatus = Part.Extension.SelectByID2("草图1", "SKETCHREGION", -0.006129740340857, -0.006757397417192, 0.008770383608117, True, 4, Nothing, 0)Part.FeatureManager.FeatureExtrusion2 True, False, False, 6, 0, 0.001 * 0.8 * hh, 0.001 * 0.8 * hh, False, False, False, False, 0.01745329251994, 0.01745329251994, False, False, False, False, 1, 1, 1, 0, 0, False
Part.SelectionManager.EnableContourSelection = 0 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询