×
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

Tabular Note Import Font changing

Tabular Note Import Font changing

Tabular Note Import Font changing

(OP)
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
 

RE: Tabular Note Import Font changing

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
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: Tabular Note Import Font changing

(OP)
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

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