Kenja824
Automotive
- Nov 5, 2014
- 949
We had a button that would take the solid body that was already selected, clear all the "solid body" attributes/properties, then add the following properties....
TOOL_CLASS = ALT STD
STOCK_SIZE = ANL217
PURCH_OPTION = P
DB_PART_NAME = NC BLANK
NOTE: This is how I added them through properties...(TITLE/ALIAS = VALUE) I used a string type for all attributes I added.
We are in the middle of switching from NX9 to NX11 and unfortunately this button ran a Macro instead of a Journal. Which now errors out when you run it.
I have tried to record Journals to clear all properties and add these properties but when I try playing them back, they always error out. Saying something about an attribute that is not modifiable so it cannot be set changed or deleted. Which doesnt make sense to me because it allowed me to delete the attributes while recording the journal. lol
Would anyone have any ideas about that or better yet, have code that does the general same thing that I could manipulate to the attributes we need?
TOOL_CLASS = ALT STD
STOCK_SIZE = ANL217
PURCH_OPTION = P
DB_PART_NAME = NC BLANK
NOTE: This is how I added them through properties...(TITLE/ALIAS = VALUE) I used a string type for all attributes I added.
We are in the middle of switching from NX9 to NX11 and unfortunately this button ran a Macro instead of a Journal. Which now errors out when you run it.
I have tried to record Journals to clear all properties and add these properties but when I try playing them back, they always error out. Saying something about an attribute that is not modifiable so it cannot be set changed or deleted. Which doesnt make sense to me because it allowed me to delete the attributes while recording the journal. lol
Would anyone have any ideas about that or better yet, have code that does the general same thing that I could manipulate to the attributes we need?