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?
http://www.eng-tips.com/viewthread.cfm?qid=228567
RE: title block attribute syntax?
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?
Do you have a seperate drawing and model file (master model) ?
RE: title block attribute syntax?
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?
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?
for example the second sheet in the same drawing?
How must handle create sheet templates and attributes?
TIA
RE: title block attribute syntax?
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?
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?
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?
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?
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>