Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tabular Note Import Font changing

Status
Not open for further replies.

cmacca

Mechanical
Mar 19, 2008
66
We are in the process of setting up our drawing templates. We would like to be able to automatically assign text to our revision description block on our standard template drawing boarder.

Currently we are using a tabular note with one row and column ie one cell and the boarders invisible. The note calls up an attribute called REV_DESC. The reason why we are using a tabular note is so we can wrap the text over two lines if the text description is long.

This tabular note is saved as a .prt file and can be dragged and dropped onto the drawing border from a palette we have set up. Problem is we want the note to be inserted to a specific point not just dragged and dropped anywhere.

We have now looked into automating this process by recording a journal file and modifying to suit. We are using File->Import->Part as the basis for the journal file and have modified the code to suit our needs.

This is all working well except that the font keeps changing from ideas_greek to blockfont after importing. I have manually added this note through File->Import->Part and have had the same result.

I have checked the font settings in Preferences->Annotation->Lettering->Dim Text etc for both the tabular note prt file and the file I am importing to and they are both set to ideas_greek. I've also checked under Customer Defaults->Lettering Fonts and the Drafting Standard->Customize Standard->Annotation etc to make sure the fonts are ideas_greek. I've also changed the setting UGII_CHARACTER_FONT_DEFAULT to equal ideas_greek in the ugii_env.dat file.

I have tried the File->Import->Part on normal text and this has worked fine but we need to use a tabular note to wrap over two lines.

Is there a fix for this or a way to change the tabular note font via vb code? Or is there a better way to automatically attach a tabular note to a drawing to specified coords?

We are using NX5.0.5.3 but I have also unsuccessfully tried this on NX6.0.0.24
 
Replies continue below

Recommended for you

I think you will find that it's not the default text font of the .prt file where the tabular note is stored that's important, but rather the font assigned to the individual text fields of the tabular NOTE itself that needs to be edited. When the original tabular note was created it inherited the font that was the default at that moment. Changing the .prt's text font later will have NO effect on any existing tabular note.

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
That's it! I was using the std NX blank template first and then changing the default text font. I should have been using a template with the font already set correctly.

Thanks John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor