Hi,
Rotation of a family instance results in strange rotation when done through api but doing it manually in revit results in correct rotation.
Manual Rotation
![Step1 Step1](https://forums.autodesk.com/t5/image/serverpage/image-id/91802i8C4E384632D6D8EB/image-size/original?v=mpbl-1&px=-1)
![step2 step2](https://forums.autodesk.com/t5/image/serverpage/image-id/91804i664274BE364CECCC/image-size/original?v=mpbl-1&px=-1)
![finalstep finalstep](https://forums.autodesk.com/t5/image/serverpage/image-id/91806i52D552534E5BC086/image-size/original?v=mpbl-1&px=-1)
Doing so via api gives wrong results:
Line axis = app.Create.NewLineBound(circpos, new XYZ(circpos.X, circpos.Y, circpos.Z + 10));[circpos is the insertion point of the family instance]
ElementTransformUtils.RotateElement(Command.doc, finst.Id, axis, 65);