Inventor Parts get very slow when adding many features

Inventor Parts get very slow when adding many features

n_hohenadler
Participant Participant
180 Views
3 Replies
Message 1 of 4

Inventor Parts get very slow when adding many features

n_hohenadler
Participant
Participant

Hello,
We have some components and assemblies that can be modified partly with ilogic and partly with model states. Most of them have a lot of features and iFeatures. This makes the changes in the components and assemblies very slow. A component I am currently working on, for example, has around 170 - 180 model states, each with 1-2 features.
I have another one in my head that has so many iFeatures that it has around 4710 parameters. This means that loading the parameter list alone takes around 20 seconds.

Does anyone have any ideas on how to speed this up? For example, is it possible to create ifeatures in such a way that they have fewer parameters? Perhaps someone has other ideas on how to speed up the time it takes to make changes.

Thank you very much for your help.

0 Likes
181 Views
3 Replies
Replies (3)
Message 2 of 4

marcin_otręba
Advisor
Advisor

you mean that you change model states or you suppress and unsuppress features here ?

process will not be fast but maybe there is place for optiisation, for example do not supress/unsuppres one feature at time, make it trugh select set and executing command  for them all at once:

'PartSuppressCtxCmd
'PartUnsuppressCtxCmd 
ThisApplication.CommandManager.ControlDefinitions("PartSuppressCtxCmd").Execute

  

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 3 of 4

n_hohenadler
Participant
Participant

Hi,

in both cases i suppress and unsuppress features. Could you please show me a more detailed example? I am not that good with coding. Thanks 🙂 

For the .ipt that suppresses and cancels the features with model states, I think it is difficult to switch to logical rules instead of using model states, since I can't work with parameters in that case.

Thank you for your reply 🙂 

 

0 Likes
Message 4 of 4

marcin_otręba
Advisor
Advisor

it is hard to show example if i don't know what i supposed to do.. maybe shear one of your parts and give me know any kind of logic for suppressing features ?

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes