Our strt part has several annotation features for notes and such, those are displayed on the drawing using &name-of-annotation-note.
We have a mapkey in Creo 2 to update either old models or models from other sources with our start part conventions, including the notes. The creation of the annotation notes portion of the mapkey looks like this: (this obviously happens after deleting any annotation notes that might already exist.)
mapkey .notes @MAPKEY_NAMEAdd NWC Notes;@MAPKEY_LABELAdd NWC Notes;\ ~ Activate `main_dlg_cur` `page_Annotate_control_btn` 1;\ ~ Command `ProCmdInsMenuMgr3dNote` #NEW;\ ~ FocusIn `note_3d` `inp_name`;\ ~ Update `note_3d` `inp_name` `REV_DESCRIP`;\ ~ FocusIn `note_3d` `sym_area_note_text`;\ ~ Update `note_3d` `sym_area_note_text` `REVISION DESCRIPTION GOES HERE`;\ ~ Activate `note_3d` `psh_ok`;\ #NEW;\ ~ FocusIn `note_3d` `inp_name`;\ ~ Update `note_3d` `inp_name` `COL_1_NOTES`;\ ~ FocusIn `note_3d` `sym_area_note_text`;\ ~ Update `note_3d` `sym_area_note_text` `GENERAL NOTES GO HERE`;\ ~ Activate `note_3d` `psh_ok`;\ #NEW;\
This works well because the behavior of Creo 2 brings up this dialog box that allows you to name the annotation note while your making it using the top field.
In Creo 3 when you pick the note icon in the annotation dialog box,
You get this message,
You can't create an unplaced annotation.
This would appear to be where you could name the note.
if you pick on the properties tab, you see this. I entered the same text for the annotations feature you see in my start part shown above.
Here's what the model tree now looks like. It created a new annotation set with the same name, and it appears the name of the note is TEST_NOTE.
However when you RMB and pick Properties for the note, you see that the name of the note is really something else.
Here is a screen shot of a drawing. As you can see my start part notes work correctly. The name of the new annotation note in the model tree isn't the real name of the note. that can only be known by looking at the properties of the note.
This is so convoluted that I don't think I can write a mapkey to add these notes to old models or even new models that have none of these annotation features.
I opened a call with PTC, other than telling me to write a toolkit application to do what I want to do, they have not been able to get me anywhere close to being able to create a mapkey to do this task.
The other option they did suggest was to pick on the part in the model tree and RMB Create a Note, Part.
You get a dialog that looks like this, but you can't name the note.
So the model tree looks like this now. The note is where I want it but, not a name that I want.
I can RMB properties on it and change the name. And now the note on the drawing works.
I could try to write a mapkey that utilizes this process, PTC sent me such a mapkey but it only works partially.
Have any of you out there solved this issue with a mapkey? Can you give me some pointers?