Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

UGOpen program for editing multiple center lines

Status
Not open for further replies.

ufsure

Mechanical
Apr 18, 2003
124
I have attached a UGopen program that will edit multiple center lines. When the selection dialog comes up either 'select all' or select individual center lines. Next, the dialog will display the current values of the first center line in the selection list. Enter new values and you should be done.

This is posted in response to an earlier thread where it was mentioned that it is not possible to edit extension lengths of multiple centerlines in interactive UG.

If you have any problems, please let me know.

Suresh
 
Thank you.
 
Is there any way to make this into a button we can put on our UG toolbars? If you already went over this I'm sorry I can't find anything though.
 
Yes, just go to...

Tools -> Customize -> Commands

...scroll down to the bottom of the list and select 'New Button' and from the list of options which comes up select 'New User Command'. Now while it's selected place your cursor over it and drag it to whatever toolbar you wish to place it on and move it along until you have it where you would like it and then let go. Now while still in the Customize mode, select this new 'User Command' button and press MB3 and select 'Edit Action' and then under type select the type of file you wish to link to, in this case 'User Function' and the browse to where the NX Open program is and select it. Also you can enter the 'quick help' note which will pop-up when you place you cursor over the button in the future so enter something like: 'Allows the editing of multiple centerline in one operation'. Now if you just want to leave it as a named button, just go up back and select it again and press MB3 and edit the 'Name' to something more appropriate. Or if you wish to show an Icon instead, you should still give it a name, but then you can also select the 'Change Button Image' option and either select some default artwork or something you've created yourself. Note that you can do this customizations task in steps so that you can test what you've done, but once you have it working and looking like you want it to, make sure that you re-save your Role so that you will not lose this customization of the user interface.

Anyway, give it shot and have fun.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor