Run Part-Rule - when this part has 5 constraints in assembly - Trigger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently I'm working on a code that works when a number of constrains are created to a part.
Small introduction;
I have a part, that will be part of a library of parts that I will commonly use, that will be always used in an assembly environment.
So I have an assembly, where there is one part (product) that is always there, and the product is always different.
The parts I'm adding will be always constrained almost the same way - and need 5 constraints to be fully fixed.
If these 5 constrains are placed (assembly level) - I need the rule to be triggered (Part level). The rule in the part is working OK - and if there are 5 constrains in the assembly active the rule will proceed with another rule.
(In the rule the length of the part is defined to 'best standard' and will also change/deviate the offset to the outside of the part. It sort of middles the position of the part to the best fit.
The picture will make this more clear I hope
For I may have many of these parts in the assembly, I do not want to run the rules of all the parts every time there is a change.
I want the rule to be triggered when;
* every time the 5th constrained is placed
* every time a model parameter changes (part level)
Problems I encounter at the moment - the rules I've written on part level will not be runt when the changes are done on assembly level.
Can you help me find a work around, so I can be sure my parts are all 'up to date' when I'm done constraining them and more important - that they-re updated after a change or modification on my Part(product) where they're all depending on?
guess.