Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Custom Journal

Status
Not open for further replies.

DieMan44

Mechanical
Sep 16, 2004
183
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?
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor