Here's an idea,
You can create a macro that performs a cut extrude and assign it to a button. You can create your own bitmap for the button.
When you create the macro button you will be prompted to point to the macro file that you created. Then you can point to the bitmap image you created (if you choose to do so). Also you can create custom tooltips that says "Flexure" when you mouse over the toolbutton.
In the macro you can call the extrude cut feature, and as you know after feature creation the last feature is always selected, so after that, all you need to do is change the popertied of the already selected feature.
the code would look like this...
Part.FeatureManager.FeatureCut True, False, False, 1, 0, 0.027432, 0.027432, False, False, False, False, 0.01745329251994, 0.01745329251994, False, False, False, False, 0, 1, 1
Part.SelectionManager.EnableContourSelection = 0
boolstatus = Part.Extension.SelectByID("Cut-Extrude1", "BODYFEATURE", 0, 0, 0, False, 0, Nothing)
Part.SelectedFeatureProperties 0, 0, 0, 0, 0, 0, 0, 1, 0, "Flexure1"
Part.ClearSelection2 True
The problem here is this, You cannot have the same name for features in the tree. so you will have to generate some logic that will scan the tree and keep track of the already used names and make a incremental change each time you create a new one.
Flexure1
Flexure2
etc.
hope that helps.
Regards,
Jon
jgbena@yahoo.com