cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

how to set dimension witness line and arrow by ProToolkit

xd
1-Newbie
1-Newbie

how to set dimension witness line and arrow by ProToolkit

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?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

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

Top Tags