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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Note Hyperlink

MarkRafn
1-Visitor

Note Hyperlink

~hey all,


Need help programmatically accessing a note's hyperlink text value, particularilytable cell text-hyperlink. Where is this information held? I just can't find any references to the hyperlink text. Using JLink...


tia


_mark

4 REPLIES 4


Mark -

Have you tried pfcNote.GetURL and .SetURL?
I, myself, have not - I was just browsing the JLink docs.

|+| M a r k |+|

Mark Stallard
Rapid Response Development
information Solutions
Integrated Defense Systems
Raytheon Company




(business)
+1.339.645.6423
(cell)
+1.617.331.5443
(tie line)
224.6423

-



235 Presidential Way
Woburn, MA 01801-1060
www.raytheon.com


Raytheon Sustainability

This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this message
in error, please so advise the sender by reply e-mail and delete this
message. Thank you for your cooperation.









Mark -

I don't mean to discourage you, but... I believe that Pro/Engineer's
2D and 3D notes are implemented differently, and the APIs that support
them vary accordingly. I suggest you call PTC Support and see if they
can tell you otherwise.

If it actually is possible for your users to associate a URL with a
Detail Note, I don't think JLink or Pro/Toolkit has the functionality
to manage that data.

|+| M a r k |+|

Mark Stallard
Rapid Response Development
information Solutions
Integrated Defense Systems
Raytheon Company




(business)
+1.339.645.6423
(cell)
+1.617.331.5443
(tie line)
224.6423

-



235 Presidential Way
Woburn, MA 01801-1060
www.raytheon.com


Raytheon Sustainability

This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this message
in error, please so advise the sender by reply e-mail and delete this
message. Thank you for your cooperation.









Mark -

I guess I don't use Pro/E enough myself; I didn't know that you could
assign a URL to a drawing note. I did know it was possible to do that
for a 3D note.

> So I’m assuming the pfcNote class is 3D by your reply?

I believe pfcNote.Note is for 3D notes. Here's the inheritance hierarchies
I see in JLink:

ModelItem > DetailItem > DetailNoteItem
ModelItem > Note

That echoes my recollection of Pro/Toolkit supports. Again, I think it's
best for you to contact PTC about this before assuming that JLink won't
help you here.

|+| M a r k |+|

Mark Stallard
Rapid Response Development
information Solutions
Integrated Defense Systems
Raytheon Company




(business)
+1.339.645.6423
(cell)
+1.617.331.5443
(tie line)
224.6423

-



235 Presidential Way
Woburn, MA 01801-1060
www.raytheon.com


Raytheon Sustainability

This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this message
in error, please so advise the sender by reply e-mail and delete this
message. Thank you for your cooperation.









Summary: after talking to PTC Support... this functionality is currently not possible. You can only access a 3D note URL property, not 2D notes. Thanks all...




In Reply to Mark Rafn:



~hey all,


Need help programmatically accessing a note's hyperlink text value, particularilytable cell text-hyperlink. Where is this information held? I just can't find any references to the hyperlink text. Using JLink...


tia


_mark


Announcements


Top Tags