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
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);