AnsweredAssumed Answered

using EditRebuild3 and Drag causing issues (Solidworks API)

Question asked by Jozef Milenkiewicz on Oct 2, 2018

I am currently working on a small stand alone program that drags component X using the DragOperator interface and translates component Y by setting the Transform2 property and then calling the EditRebuild3 function. The issue surfaces when the the Drag() function is called on X after Y has been previously translated. After this point, X only updates its position in Solidworks if the EditRebuild3 function is called when component Y is translated and this rebuild function is called. My hypothesis is that by default, the Drag function calls its own rebuild function but ceases to do so once it has been explicitly called (which happens when I translate Y). Anyone have an idea how to fix this?