Custom Journal
Custom Journal
(OP)
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
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.