5-Regular Member
March 18, 2025
Question
Creo Parametric Toolkit ProGraphicsPolygonDraw coordinates confusion
- March 18, 2025
- 2 replies
- 1326 views
I'm developing for Creo Parametric 7.0.12.0 using Toolkit C++.
In the Toolkit documentation for the ProGraphicsPolygonDraw function (.../protoolkit/protkdoc/api/1549.html), the description says that the points in the array use logical window coordinates. However, the shape appears to be on the XY-plane and positioned relative to the solid coordinates, i.e.: instead of drawing flat-to-screen, it's drawing at an angle defined by the assembly orientation.
I tried the transforms I usually use to translate between solid and window coordinates, but all that happens then is no shape is drawn at all. Can anyone explain to me what I'm missing?
Thank you,
--Larry

