Fillet Feature Description (macro request)

Library for macros
dave.laban
Posts: 320
Joined: Thu Mar 11, 2021 8:38 am
Answers: 5
x 48
x 390

Fillet Feature Description (macro request)

Unread post 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.
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Re: Fillet Feature Description (macro request)

Unread post by SPerman »

-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
DeDum
Posts: 5
Joined: Sat Feb 26, 2022 9:01 am
Answers: 1
x 3

Re: Fillet Feature Description (macro request)

Unread post 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"
Attachments
Feat Fillet Desc as Radius Dim.zip
(8.55 KiB) Downloaded 8 times
Post Reply