Deleting Useless Features:
Deleting Useless Features:
(OP)
The problem first: I have a part with many features on it (see FeatureTree.jpg) and these features are controlled by a spreadsheet (see SpreadSheet.jpg). When I resolve this part using the Catalog Editor, CATIA creates 21 new parts using the spreadsheet to control, which features are active and deactivated and everything is working, as it should be up to this point. The problem is that all the newly generated parts contain allot of useless deactivated features (see FeatureTree.jpg).
My question is: Is there a way to use the spreadsheet to instead of deactivating the useless features but to delete them. There may be many different solutions to this problem namely using Macros and Rules to name two but one thing it can’t lose, is the spreadsheet must control it because we must be able to use the CATIA Catalog Editor to resolve the individual parts.
Any help in this matter would be greatly appreciated.
Thanks Again
My question is: Is there a way to use the spreadsheet to instead of deactivating the useless features but to delete them. There may be many different solutions to this problem namely using Macros and Rules to name two but one thing it can’t lose, is the spreadsheet must control it because we must be able to use the CATIA Catalog Editor to resolve the individual parts.
Any help in this matter would be greatly appreciated.
Thanks Again





RE: Deleting Useless Features:
RE: Deleting Useless Features:
RE: Deleting Useless Features:
FYI "Delete Useless Elements" is still there in R16 but it does not work for Useless Features and that's what I'm looking for.
Thank you for your reply
RE: Deleting Useless Features:
I have tried this but was not able to get it to work correctly.
Thank You in Advance
RE: Deleting Useless Features:
It also does not erase deactivated features.
RE: Deleting Useless Features:
- Tools menu - Parametrization Analysis...
- in the "Filter" drop-down menu select "Inactivated features"
- in the window underneath, the system will display all the inactivated features
- here you can Shift-select all of them and delete them
Hope that helps
Regards,
Stely
RE: Deleting Useless Features:
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: Deleting Useless Features:
I agree with you 100% this is what I need to do but that is where the question lays.
1. How do I execute a macro from a spreadsheet?
2. Or how do execute a rule from a spreadsheet?
3. Maybe a combination is needed create a rule first and have that rule execute the macro?
If you would look on the other CATIA forums you will find my email address and if your interested in helping me I will send you some sample models that will better explain my question.
Thank You in Advance solid7
RE: Deleting Useless Features:
Someone here can correct me if I'm wrong - but I don't think that you will want to execute the macro from a spreadsheet. I think that you will want to create a project that contains 2 event triggers;
1) an event to resolve the part you select {from the spreadsheet}
2) an event to scan the resolved part for deactivated features after the "End Sub" in item #1
What those events are depends on your application. (mouseclick, batch script, etc, etc, etc) Those events will, of course, correspond to the scripts that they are activating. You will end up with a project with several modules.
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: Deleting Useless Features:
have fun
indocti discant et ament meminisse periti