spadazenon
Mechanical
- Mar 28, 2010
- 49
Hi all,
Although I have a long time experience with NX, I cannot find what is wrong when opening a large assembly and running a script.
I run a custom script in vb to handle attributes. The script reads some attributes of the work part and I have a windows interface to change them as I like and do
When I open a part of a subassembly (only 27 parts of that subassembly loaded in memory) and run the script is super fast (it takes about 1~2 secs). But when I open the same part inside a greater assembly (~1800 parts loaded in memory) that contains the previous mentioned subassembly and run the script (doing the exact same things, not interacting with other parts of the assembly) it takes for ever. Sometimes up to 5 minutes.
My point is that as long as I have open a part as work, it shouldn't take that long because the only thing that the script does is to change the attributes.
On the information bar it says "updating objects" all time. I had no issue with NX7.5 on this. The computer is quite powerful.
I have tried to enter manually the attributes to see if there is the problem. Apart from the new interface that handles the attributes, I have noticed that you cannot enter an attribute with more than 30 characters. Say what? Why? OK, but why don't I have the same problem If I have only few parts loaded in memory.
Thank you in advance.
Stathis
Although I have a long time experience with NX, I cannot find what is wrong when opening a large assembly and running a script.
I run a custom script in vb to handle attributes. The script reads some attributes of the work part and I have a windows interface to change them as I like and do
When I open a part of a subassembly (only 27 parts of that subassembly loaded in memory) and run the script is super fast (it takes about 1~2 secs). But when I open the same part inside a greater assembly (~1800 parts loaded in memory) that contains the previous mentioned subassembly and run the script (doing the exact same things, not interacting with other parts of the assembly) it takes for ever. Sometimes up to 5 minutes.
My point is that as long as I have open a part as work, it shouldn't take that long because the only thing that the script does is to change the attributes.
On the information bar it says "updating objects" all time. I had no issue with NX7.5 on this. The computer is quite powerful.
I have tried to enter manually the attributes to see if there is the problem. Apart from the new interface that handles the attributes, I have noticed that you cannot enter an attribute with more than 30 characters. Say what? Why? OK, but why don't I have the same problem If I have only few parts loaded in memory.
Thank you in advance.
Stathis