Jun Nezu schrieb:
I think the textHeight value you wanna put is the value same as you input on Creo UI, right?
then the textHeight value 12 is the value on Drawing Coordinate System.
Entering values in Drawing CS would be the most intuitive to non-programmers, like I am.
This pitfall also caused some other problems. For example, in another script I place tables on a drawing. Those tables should always be right above the drawing's header.
For different kind of frames I had to end up with several empirically defined x,y cooridinates for each frame:
var table_pos_tol_x = new Array(
868.37678685,
813.91200899,
736.53198624,
627.38095237,
353.69318130);
var table_pos_tol_y = new Array(
183.01881810,
231.03076678,
298.13762649,
393.30357170,
387.78409102);
I look forward to simplify this mess.
Thanks again for Your help!