Showing results for 
Search instead for 
Did you mean: 

error with macro




I made a UDF with macros in NX 10 and evertime I use it, it gives me an error(image attached below).

The macro is basically to define sheet metal preferences. I don't know why does it pop up everytime i use it? whats wrong?


Re: error with macro

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor

I've seen this happen when the UDF/Macro was recorded on a machine with one resolution and played back on a machine with a different resolution. The macro records screen picks and not the actual menu items.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: error with macro

Siemens Phenom Siemens Phenom
Siemens Phenom

Why to run macro for preferences? You can just set those under customer defaults.It will persist to the every next new NX session. No need of macro.


Setting and retriving the customer defaults will depend upon the mode of NX you are using, Native or Integrated with Teamcenter.