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 MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create macros in UG/NX4?

  • Thread starter Thread starter gshock
  • Start date Start date
G

gshock

Guest
I'm new to the forum, and I posted this same question earlier, but it doesn't show up in the forum.

I'm trying to create some macros in UG/NX4. I'm very new to UG, but not to 3D modeling. I'm proficient, but no expert. Where do I start?

Thanks in advance for the help.

Best regards,

-gshock
 
Macros in UGNX4

Hi there,

Goto Tools>macro>Start record and choose a location for your macro file.

Now execute your command, in this case you will have to goto Analysis>Distance, select the Projected Distance option and select X as your vector, at this stage goto Tools>Macro>User Entry and choose the two entities you want measure. Now goto Tools>macro>Stop Record.

Your macro file is ready to use. You can check by Tools>Macro>Playback choose the macro file you just created. Every time this will allow you to choose two entities but always will give a distance in X direction.

Hope i was clear enough.
 

Part and Inventory Search

Sponsor

Back
Top