Assembly motion C#

Hi,

could someone help me with motion in sw api. I am trying to movecilinder, that is conected to some other parts with mates.

I have 3 coordinates for its position, and 3 coordinates for itsrotation.


I tryed looking in api help and this forum, and couldnt find nohelp for C#.

Thnx in advance.

Jure


And merry christmas to allSolidworksApi macros