Hy,
how to do this with .Net Api?
Thx & Regards
Feature
Hi,
Something like this:
var stmt = _app.SelectionManager.GetSelected<IStatement>() as IPositionStatement;
if (stmt == null) return;
double x = 100.0;
double y = 200.0;
double z = 300.0;
double rx = 10.0;
double ry = 20.0;
double rz = 30.0;
var pos = stmt.Positions[0].TransformationInReference;
pos.SetP(new Vector3(x, y, z));
pos.SetWPR(new Vector3(rx, ry, rz));
stmt.Positions[0].TransformationInReference = pos;
Will give you this:
-k