Message 1 of 2

Not applicable
04-08-2014
02:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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);
Solved! Go to Solution.