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


Custom Journal

Custom Journal

Custom Journal

Things have slowed a bit around here and I wanted to take advantage of the free time. I messed around here and there a bit with writing a custom journal for assigning attributes to our details for die designs. However I have never got it to work the way I wanted to. What I'm looking to create is a journal file that will bring up a dialog box with blank fields that I can input data in and that data will be saved as an attribute that will populate the title block when I enter drafting. Since we are a die shop, I'm would like to be able to enter detail name, number, size, material type, hardening, etc. Any suggestions on how to get started?  

RE: Custom Journal

Keep in mind that NX8 has new functionality for title block that will help with this, So if this is on your radar you might want to wait.
I like to use Microsoft Visual Studio to create the dialogs for me. They have FREE version called visual basic 2010 express that you can use.
What I have done is used this to create the dialog portion then manually added all the code to read/write attributes and add the title block.
The following two folders have some sample code and if you have a WebKey for GTAC you can search the solution center for more examples.
C:\Program Files\UGS\NX 7.5\UGOPEN\SampleNXOpenApplications\.NET\FilloutTitleBlock
C:\Program Files\UGS\NX 7.5\UGOPEN\SampleNXOpenApplications\.NET\TitleBlock
This should get you started.

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!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close