Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I'd like to read and set the dimension's (in drawing mode) witness line and arrow by proToolkit.
Actually, it's show or hide the witness line and arrow.
Is there API to do this?
I got ProDimlocationWitnessGet and ProDimlocationArrowsGet to get the points of the witness line and arrows,
is there function to "Set" the witness line and arrows (hide or show)?
Anybody can help?
Try ProDimensionWitnesslineShow(). I think it'll display both witness lines. With ProDimensionWitnesslineErase() you can decide which one to hide.
As far as I know these functions are new to Creo 2 M150 or 160 - so maybe your documentation on Toolkit has to be updated from the current doc by one of these versions...
Andreas
will you please tell me the .h file name of these 2 functions? I am using creo 3.0 protoolkit now.
It is defined in ProDimension.h.
But for Creo 2 from M160 an later; and Creo 3 from M040 I think (not 100% sure, but not in the old versions).
Andreas