Skip to main content
7-Bedrock
November 3, 2021
Question

Re: Parameter driven notes

  • November 3, 2021
  • 4 replies
  • 4152 views

I am trying to do this with &MODEL_NAME:ATT_MDL and cannot get it to work.  I am missing something?  I would prefer to do this than to look at the session ID every time.

    4 replies

    7-Bedrock
    November 4, 2021

    Hi Martin,

     

    I can't seem to get :att_mdl or :att_body to work.  Do you have any tricks?

     

    Thanks

    18-Opal
    November 4, 2021

    @Askin4aFriend wrote:

    Hi Martin,

     

    I can't seem to get :att_mdl or :att_body to work.  Do you have any tricks?

     

    Thanks


    No trick, but it requires Creo 8.0 and it has to be a leader note.

     

    7-Bedrock
    November 4, 2021

    Ah I missed the Creo 8 part.  Thanks for the response.  I thought the :att_mdl functionality went further back though?  I can't get something &model_name:att_mdl to work.  I'm hoping to not have to look up the session ID every time.  And more importantly I want the note to break (or need a new attachment) if the part changes.

     

    Thanks

    24-Ruby III
    November 5, 2021

    @Askin4aFriend wrote:

    I am trying to do this with &MODEL_NAME:ATT_MDL and cannot get it to work.  I am missing something?  I would prefer to do this than to look at the session ID every time.


    Hi,

    please explain in more detail what you want to achieve. Attach some picture.

    23-Emerald III
    November 5, 2021

    Are you trying to put that information in a note or a table on the drawing?

    7-Bedrock
    November 5, 2021

    Sorry, I realized the question was somewhat vague.  I have had some dialogue in another thread about this here:  Re: Multibody - How to display, use or call-out a ... - PTC Community.

     

    I am trying to do this with a leader note.  I want to attach a leader note to a part in an assembly drawing and be able to call out the part specifically without having to search for the session ID. I am also hoping this method would either update or break the note if the part changes. 

     

    Stephen suggested that this works for user defined parameters.  I had just discovered this with some experimenting myself. This was my response and some more detail about the issue:

     

    "Thanks Stephen.  I just discovered this as well when testing it out in 3D as Martin suggested.  I can get user defined parameters to show up on a per part basis, just not the system parameters.  I'm confused as to why this is the case.  Unless I'm misinterpreting the functionality? 

     

    The link Martin sent above is for System Parameters for Drawings.  I can get things like &view_scale and &format to work on the drawings and I haven't made those user defined parameters.  I can also get &model_name (with no ":att_mdl") to work, but it only gives me the assembly name that I used to create the drawing.  It seems that &model_name:att_mdl really only makes sense for assembly drawings where there are multiple parts since &model_name will work for both the assembly name in an assembly drawing and on the part drawing level.  Perhaps I'm misunderstanding?

     

    Then I thought maybe &model_name was giving me the drawing name, which is the same as the part name.  So I did a test with a new drawing with a different title than the part.  Added a leader note to the part and it still gave the part model name.  So that's not it.  

     

    If I have to create a user defined parameter I think I might as well use the session ID."