CheeseMaker13
Aerospace
- Sep 25, 2012
- 42
Hi Guys,
Is there a way of checking that each part in a component node is fixed? Currently I count all the fixes in the root of the document:
oSelection.Search "CATAsmSearch.MfFixConstraint.Name=Fix'.'*,oDocument"
then count ALL the fixes:
oSelection.Search "CATAsmSearch.MfFixConstraint,all"
However, the latter includes all the fixes in sub products too... not helpful!
In a perfect world I'd like to test every .CATPart/Product in the root product to check that they are all fixed and if they are not, export the instance name to excel to form a 'to be fixed' list.
Spent the last few weeks trying to crack this one, but it has beaten me.
Thanks.
Is there a way of checking that each part in a component node is fixed? Currently I count all the fixes in the root of the document:
oSelection.Search "CATAsmSearch.MfFixConstraint.Name=Fix'.'*,oDocument"
then count ALL the fixes:
oSelection.Search "CATAsmSearch.MfFixConstraint,all"
However, the latter includes all the fixes in sub products too... not helpful!
In a perfect world I'd like to test every .CATPart/Product in the root product to check that they are all fixed and if they are not, export the instance name to excel to form a 'to be fixed' list.
Spent the last few weeks trying to crack this one, but it has beaten me.
Thanks.