Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
hi,
i'm trying to get the orientation of a dimension in a drawing with jlink. It works for dimension created/saved in the drawing (addXX-dimension) with GetOrientationHint but not with dimensions from the 3D-model.
The documentation says for Get OrientationHint
Only applicable for dimensions created in drawing mode. This function does not support drawing dimensions created from intersections of geometric entities.
But how can I get the orientation of the other dimensions?
Thanks
Andreas
Hi all,
Andreas, In Pro/TOOLKIT there are ProDimensionLocationGet and ProDimlocationArrowsGet which wouldbe usedto get 3D dimension orientation in the specified solid model view.The solid model view needs to be derived from the drawing viewin questionorientation though.I don't know if those functions are available in J-Link.
HIH.
Feliks.
In Reply to Andreas Vogt:
hi,
i'm trying to get the orientation of a dimension in a drawing with jlink. It works for dimension created/saved in the drawing (addXX-dimension) with GetOrientationHint but not with dimensions from the 3D-model.
The documentation says for Get OrientationHint
Only applicable for dimensions created in drawing mode. This function does not support drawing dimensions created from intersections of geometric entities.
But how can I get the orientation of the other dimensions?
Thanks
Andreas
hi,
thank you for your help.
But there ist no such class.
cu
Andreas