Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

CreateTextElement1 Issue

$
0
0

I have C# code that works fine since Microstation V8 to Microstation V8i but in new versión Microstation PowerDraft Connect 10.00.00.52 or updated one, 10.02.00.39, not:

Point3d tipoDePlanoPoint = new Point3d();
tipoDePlanoPoint.X = 100;
tipoDePlanoPoint.Y = 100;
 
Matrix3d matrizIdentidad = Microstation.App.Matrix3dIdentity();
element = (Element) Microstation.App.CreateTextElement1(null, "PLANO PARCELA", ref tipoDePlanoPoint, ref matrizIdentidad);
...

After element creation, the get_Origing() values X, Y arent 100, 100, they take aleatory values near 100, 100. Why?

I had tried, unsuccesfully:
  • Point3d tipoDePlanoPoint = Microstation.App.Point3dFromXYZ...


Viewing all articles
Browse latest Browse all 7260

Trending Articles