I am currently working on transforming sketch point coordinates from one part to another within the same assembly. The current code I have been working with only transforms the point from a sketch to a model.

2015 SOLIDWORKS API Help - Transform Sketch to Model Example (VBA)

Is there an example code of how to transform these points from part to part instead of part to model? If not, how would I go about taking the points I have currently and transforming them into the other part?

Thank you,

Alfonso

First get transform from source part to assembly. Multiply source coords by part to assy transform. (That's what you have so far). Then, get the same transform for the target part, invert transform, and mutiply.