boxesuf.blogg.se

Differences between solidworks 2017 and 2018
Differences between solidworks 2017 and 2018




GetPathName If Not IsEmpty(vBodyResArr1) Thenĭebug.Print " Diffs(1-2) = " & UBound(vBodyResArr1) + 1ĭebug.Get Differences Between Parts Example (VBA) GetPathNameĭebug.Print "Part2 = " & swModel2. If IsEmpty(vBodyResArr1) And IsEmpty(vBodyResArr2) Then Exit Sub Debug.Print "Part1 = " & swModel1. Operations2(SWBODYCUT, swBody1Copy, nRetval): Debug.Assert swBodyOperationNoError = nRetval Operations2(SWBODYCUT, swBody2Copy2, nRetval): Debug.Assert swBodyOperationNoError = nRetval Set swBody2Copy2 = swBody2.Copy vBodyResArr1 = swBody1Copy2. Set swPart2 = swModel2 ' Get all of the visible bodies in each part Next End Sub Sub main() Const sPartName1 As String = "C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2018\samples\tutorial\api\box.sldprt"Ĭonst sPartName2 As String = "C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2018\samples\tutorial\api\holecube.sldprt"ĭim bRet As Boolean Set swApp = Application.SldWorks CreateFeatureFromBod圓(swBodyRes, False, swCreateFeatureBod圜heck + swCreateFeatureBodySimplify): Debug.Assert Not swFeatRes Is Nothing

differences between solidworks 2017 and 2018

Option Explicit Sub CreateDiffPart(swApp As SldWorks.SldWorks, vBodyResArr As Variant)ĭim swFeatRes As SldWorks.Feature If IsEmpty(vBodyResArr) Then Exit Sub ' * Because the parts are used elsewhere, do not save changes. ' * This code is intended to run on parts that are similar. ' * New parts can contain one or more solid bodies. ' * This example is not intended to be a replacement for SOLIDWORKS Examine the graphics area, then click Window and open the other Creates two new parts showing the differences between the parts. Open public_documents \samples\tutorial\api\box.sldprt and holecube.sldprt. Methods to find the differences and reverseĭifference between two parts. To determine the change in the amount of material for theĮxample uses several geometry- and topology-related

differences between solidworks 2017 and 2018

Is often desirable to find out what changes haveīeen made to the original model. The model, by mold maker, after the part has been designed Quite often, without specialized knowledge and experience, these are added to

differences between solidworks 2017 and 2018

Typically, these are draft angles, thickening of This examples shows how to get the differences between two parts.Ī part is designed for injection molding, many small designĭetails must be added for the injection molding process. Get Differences Between Parts Example (VBA)






Differences between solidworks 2017 and 2018