Question
Unable to get text from models annotation note
Hi there,
I have a 3D - note in a model and I want to read the text from it via web.link.
I already was able to connect to the note via:
var mGlob = pfcCreate("MpfcCOMGlobal");
var oSession = mGlob.GetProESession();
var CurModel = oSession.CurrentModel;
var note = CurModel.GetItemByName(pfcCreate("pfcModelItemType").ITEM_NOTE, "note name");
When I try to get the note's text with "note.GetTextLines()" it throws the error "Object doesn't support property of method 'GetTextLines'".
Unfortunately, ptc's weblink documentation is not very helpful.
