Component placement using RobotStudio SDK

edited October 2020 in RobotStudio
Can anyone show me how to place a component by two frames using the SDK? I can't seem to find any method in the API reference.

I've tried Body.Transform.Translation.TransformPoint(fromFrame, toFrame); but doesn't seem to work.

I want to do the same thing as the option in the image below.

Post edited by scottdf93 on