Quantcast
Channel: PTC Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 11539

Model Annotation Change in Creo 3 Causing Problems updating old files

$
0
0

Our strt part has several annotation features for notes and such, those are displayed on the drawing using &name-of-annotation-note.

10-6-2016 2-26-36 PM.jpg

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.

10-6-2016 2-28-56 PM.jpg

In Creo 3 when you pick the note icon in the annotation dialog box,

10-6-2016 2-28-11 PM.jpg

You get this message,

10-6-2016 2-30-54 PM.jpg

You can't create an unplaced annotation.

 

This would appear to be where you could name the note.

10-6-2016 2-41-49 PM.jpg

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.

10-6-2016 2-41-31 PM.jpg

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.

10-6-2016 2-45-46 PM.jpg

However when you RMB and pick Properties for the note, you see that the name of the note is really something else.

10-6-2016 2-43-40 PM.jpg

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.

10-6-2016 3-08-07 PM.jpg

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.

10-6-2016 3-19-40 PM.jpg

 

You get a dialog that looks like this, but you can't name the note.

10-6-2016 3-22-08 PM.jpg

So the model tree looks like this now. The note is where I want it but, not a name that I want.

10-6-2016 3-22-54 PM.jpg

I can RMB properties on it and change the name. And now the note on the drawing works.

10-6-2016 3-26-15 PM.jpg

 

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?


Viewing all articles
Browse latest Browse all 11539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>