Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Metric Fillet/Chamfer Commands

Status
Not open for further replies.

nxprog

Mechanical
Jan 11, 2004
85
I am trying to make a custom command so that when i start the fillet/chamfer command it invokes the calculator inside of the radius/distance part of the command so that i can type in a value to get a metric result (3/25.4)....I have made custom value fillet/chamfer commands, but i cannot seem to get the macro right for this one....thank you!

NX 7.5/8.0/8.5/9.0
 
Replies continue below

Recommended for you

Are you wanting to just type in the metric number only, or have the calc pop up so you can manually enter "3 [divide] 25.4" ? If the latter... just type 30/254 at the command line in the default chamfer command.

If the former, you'll be changing the chamfer command such that you'll never be able to enter an inch measurement unless you manually multiple it by 25.4. If that's acceptable, change the command to map to a .lsp routine that initiates the chamfer command but automatically divides the user input by 25.4.

If you clarify your requirement/desire, I may be able to write a short LISP routine that satisfies.

_________________________________________
NX8.0, Solidworks 2014, AutoCAD, Enovia V5
 
Are you missing the "pause" command?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor