Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Journal to select line, and create arc or square?

Status
Not open for further replies.

hppianoman

Mechanical
Joined
Mar 8, 2012
Messages
7
Location
US
Good Morning,


I am new to NX and VB journaling, and am needing to write some journal or macro for NX7.5:

I need to be able to select a line, and have the journal read the line information.
If the line is not a centerline, then I need a warning message sent to the screen stating this, and have the user click OK and then continue with the program.
If the line is a "yellow" centerline, then I need the program to create (2) .050 circles, centered on the line, one circle .150 in from each end point.
If the line is a "fuschia" centerline, then I need the program to create (2) .050 squares, centered on the line, one square .150 in from each end point.
Also, when the squares are created, they need to remain at zero degrees, no matter what angle the fuschia centerline is at.
When I am done selecting lines, I need to be able to quit out of the program.
This needs to be done in "Sheet Metal", not in Drafting, as I am doing this with the Flat-Pattern.

Any help would be appreciated.

Thanks,
hppianoman

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top