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

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Pro/Toolkit - printing drawing notes location

Doss
4-Participant

Pro/Toolkit - printing drawing notes location

Folks,

Could yousomeonegive a hint onhow to printnoteslocationof any drawing such asX=00.000 Y=000.00 from ProDtlattachGet () API.

Thanks in advance.

Murugadoss


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.
2 REPLIES 2

Murugadoss,

The location parameter of ProDtlattachGet() will give you the location
of the note. If you are wondering how to print that to a console window
then you can use this statement.



printf("X=%6.3f, Y=%6.3f\n", location[0], location[1]);



Is this what you're looking for?



Patrick Williams | Sr. Application Engineer | Engineering Systems |
Steelcase Inc. | 616.698.4078 | My Site
<">http://my.steelcase.com/Person.aspx?accountname=NA\PWILLIA3>





Doss
4-Participant
(To:Doss)

Thanks Patrick,

Its working fine now.

Now I realized that why it was not printing (Since its a double value). I was keep on trying to print the vaule on decimal integer.

Got it.

Thanks again.

In Reply to:

Murugadoss,

The location parameter of ProDtlattachGet() will give you the location
of the note. If you are wondering how to print that to a console window
then you can use this statement.



printf("X=%6.3f, Y=%6.3f\n", location[0], location[1]);



Is this what you're looking for?



Patrick Williams | Sr. Application Engineer | Engineering Systems |
Steelcase Inc. | 616.698.4078 | My Site
<





Top Tags