Alexbabcock
Mechanical
- Nov 8, 2013
- 12
Hi guys,
I've been looking (with no success) to get a macro in NX 7.5 to open up the attributes dialogue (Format > Database Attributes > Assign), assign all of the mandatory attributes set values (the first is a string input but the rest are all chosen from drop-down lists) then hit OK. This is because our company requires these attributes to be filled in order to save a part for the first time, but for many parts this is completely unnecessary (damn beaurocracy!) and therefore very time consuming when making lots of parts.
The problem I'm having is that when recording a macro and inspecting it, it doesn't seem to recognise me choosing the next attribute, and so keeps trying to modify the first one (the ITEM POSITION number is always the same). This leads to an error when it tries to use a list index higher than the first option allows (the first attribute has 3 options, later ones have many more), as well as obviously not being able to modify any attributes apart from the first.
I find the macro language quite confusing and the help file next to useless so any general macro help is very welcome too!
Or if anyone can think of accomplishing this task in any other way.
Cheers
I've been looking (with no success) to get a macro in NX 7.5 to open up the attributes dialogue (Format > Database Attributes > Assign), assign all of the mandatory attributes set values (the first is a string input but the rest are all chosen from drop-down lists) then hit OK. This is because our company requires these attributes to be filled in order to save a part for the first time, but for many parts this is completely unnecessary (damn beaurocracy!) and therefore very time consuming when making lots of parts.
The problem I'm having is that when recording a macro and inspecting it, it doesn't seem to recognise me choosing the next attribute, and so keeps trying to modify the first one (the ITEM POSITION number is always the same). This leads to an error when it tries to use a list index higher than the first option allows (the first attribute has 3 options, later ones have many more), as well as obviously not being able to modify any attributes apart from the first.
I find the macro language quite confusing and the help file next to useless so any general macro help is very welcome too!
Or if anyone can think of accomplishing this task in any other way.
Cheers