Page 1 of 1

Fillet Feature Description (macro request)

Posted: Wed Jul 24, 2024 8:46 am
by dave.laban
Hi all,

Tried searching all the usual places for a macro that does this but no luck.

I'd like a macro please that scans through a Part feature tree, identifies all Fillet features (only needs to be constant radius fillets for simplicity) and updates the feature description to read as the radius specified in the feature in the format "R<dim>", per example below.
image.png
Doesn't need to automatically update if the fillet changes or anything like that, happy to risk things being occasionally out of date. Would just like a quick visual way of identifying which fillet is which in the tree please.

Re: Fillet Feature Description (macro request)

Posted: Wed Jul 24, 2024 9:00 am
by SPerman

Re: Fillet Feature Description (macro request)

Posted: Wed Sep 11, 2024 1:53 am
by DeDum
You can get the fillet radius with
Dim swFilletFeatData As SldWorks.SimpleFilletFeatureData2
swFilletFeatData.DefaultRadius

looks like radii are stored as metric meters

This will change the feature description
swFeature.Description = "Change"