×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

title block attribute syntax?

title block attribute syntax?

title block attribute syntax?

(OP)
Ok... here's the dumb question of the day!  TC2007 & NX6.  I've been tasked to update our TC drawing template files so that parts of the title block info gets filled in automatically via model attributes.  The problem I have is that the text only pics up the attributes in the drawings... not from the model.  Any ideas?  Is there something in the syntax that tells the note to pick up the model attribute versus the drawing attribute?  If, via the note dialogue box, I try to put in the attribute <W@DB_PART_NO> it only sees the dwg db part number and not the models.  Any ideas what I'm doing wrong?

RE: title block attribute syntax?

(OP)
Jerry,
I'm still having an issue.  Essentially, the note is calling the object attribute of the comp as <W!12345@?DB_PART_NO> in the template drawing file.  When the pallet calls the drawing template onto a new model, the note wigs out and displays as a box w/a slash thru it.  If I edit the note, it displays as <W!O@?DB_PART_NO>.

As far as I can tell, the note is expecting the original model and won't recognize the substituted model, even though identical attributes exist in both.  How do I over come this?  ...any ideas?

RE: title block attribute syntax?

I think I remember a thread pertaining to this - I just need to find it.
Do you have a seperate drawing and model file (master model) ?

RE: title block attribute syntax?

(OP)
Jerry,

Yes... seperate models and drawings.  Also running TC2007 (or at least getting ready too...).

I've been searching the boards all morning without much success... However, the thread you mentioned did help.  It seems there are some canned attributes that can get passed from models to dwgs that update correctly when using a template part from a pallet.. these include:
<W@$SH_SHEET_NUMBER>
<W@$SH_NUMBER_OF_SHEETS>
<W@$SH_SHEET_SCALE_NUMERATOR>
<W@$SH_SHEET_SCALE_DENOMINATOR>
<W@$SH_SHEET_SIZE>
<W@$SH_SHEET_UNITS>
<W@$SH_SHEET_PROJECTION_ANGLE>
<W@$SH_MASTER_PART_NAME>
<W@$SH_PART_NAME>
What I'd like to find are anothers that are available for NX6 & TC, such as the std db attributes:
db_part_name
db_part_no
db_part_rev
db_part_desc
etc....

Any ideas where I could find this info?

RE: title block attribute syntax?

There are no built-in routines for 'db_' attributes, but if those attributes have been added to the NX part file and they are visible under the Part Properties dialog, you can link text notes directly to the Attributes without having to use a built-in extraction routine, just use the 'Reference' option when creating the notes.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: title block attribute syntax?

John I have question to the workflow, you told in other thread above. The master model template for drawings is working - fine. What is the workfow for sheet templates?
for example the second sheet in the same drawing?
How must handle create sheet templates and attributes?
TIA

RE: title block attribute syntax?

The second sheet is NOT a file of it's own, once it has been added to an existing drawing.  What NX does is take the 'drafting' content of the 'Sheet Template' and 'imports' it into the existing Drawine file and moves all of this information onto an additional Drawing sheet that's created by this operation.  Continuing to invoke the 'Add Sheet' funtion will continue to repeat the above process over and over again, adding N-number of additional 'sheets'.  However, the original Drawing Template file used to create the original Master Model Drawing is still the FILE in 'charge' of the stuff which has been discussed in this and the referenced thread.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: title block attribute syntax?

thx, John,
I'm still fighting - inheriting the attributes from the master to the second sheet ( from sheet template) - or did I miss something?
thx

RE: title block attribute syntax?

You don't inherit attributes from the Drawing file but from the Part file.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: title block attribute syntax?

(OP)
Here's a question, a bit different but certainly related....
I'm trying to modify an existing native pax file to load TC drawing templates.  Unfortunately, I can't seem to get it right.  Anyone have a clue as to what I'm mucking up?
<code>
<PaletteEntry id="d1">
    <References/>
      <Presentation name="D-SIZE, 1 SHT">
          <PreviewImage type="UGPart" location="tc-dwg-d-size/a.prt"/>
      </Presentation>
      <ObjectData class="DrawingTemplate">
          <TemplateFileType>none</TemplateFileType>
          <Filename>tc-dwg-d-size/a.prt</Filename>
</code>
      </ObjectData>
  </PaletteEntry>  

RE: title block attribute syntax?

Mthomp,

Here's an example (from
"%UGII_BASE_DIR%\ugii\templates\nxdm_ugs_drawing_templates.pax")
showing the Teamcenter notation. Note that there is never a .prt needed and that the @DB/ precedes all part names.

Hope this helps, Joe

  <PaletteEntry id="d1">
    <References/>
    <Presentation name="A - Drawing" description="NX Example, 2 Sheets">
        <PreviewImage type="UGPart" location="@DB/A-drawing-template/A"/>
    </Presentation>
    <ObjectData class="DrawingTemplate">
        <TemplateFileType>none</TemplateFileType>
        <Filename>@DB/A-drawing-template/A</Filename>
        <Units>English</Units>
        <UsesMasterModel>Yes</UsesMasterModel>
        <ItemType>Item</ItemType>
        <RelationType>specification</RelationType>
    </ObjectData>
  </PaletteEntry>

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources