A feature toggler changes the state of features from suppressed to un-suppressed and vice-versa. If 3 of 5 rounds are suppressed, it un-suppresses the 3 round features but suppresses the other 2.
The feature toggler has many applications:
1. Remove i.e. suppress any treatment or dress-up features before sending out the model for analysis where these smaller features like holes and chamfers do not play an important role.
2. Center-of-gravity analysis where you want to quickly toggle the state of some type of features as you add and remove more features.
3. Archiving Part documents where suppressing all rounds, chamfers, holes, ribs and drafts is shown to have up to 40% reduction in file size.
First observe how this program is going to work from the video below:
This Solid Edge Maker Faire tutorial takes you through the complete process of coding this program. Other making tutorials in this series can be accessed here.
![]() | This Solid Edge Feature Toggler program and its source code can be downloaded at the end of this tutorial. |
This tutorial uses Visual Studio 2010, .Net 4.0.
Start a VB.Net 'Forms Application' and name it FeatureToggler. Make sure the check box settings are as shown below (3):
From the menu, select Project > Add Reference... and from the dialog that appears, take the COM tab. Add references to Solid Edge Framework, Solid Edge Framework Support, Solid Edge Constants and Solid Edge Part libraries.
You can see these added under References in the Solution Explorer:
Create a Form as shown below. It consists of a single ListBox.
Index of all Solid Edge Tips, Tutorials and Videos...
No comments:
Post a Comment