Search found 6 matches

by DeDum
Wed Sep 11, 2024 1:53 am
Forum: Macro Library
Topic: Fillet Feature Description (macro request)
Replies: 2
Views: 724

Re: Fillet Feature Description (macro request)

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"
by DeDum
Tue Sep 10, 2024 9:19 am
Forum: Macro Library
Topic: Qr code generator for solidworks drawing
Replies: 23
Views: 5129

Re: Qr code generator for solidworks drawing

Thanks for sharing the qr generator! My sketch picture dialog stays open. API says something about "This method does not support drawing documents" for the below code line Part.SketchManager.InsertSketch2 True Using this line of code instead seems to exit the sketch picture dialog. Part.Ed...
by DeDum
Fri Sep 06, 2024 5:53 pm
Forum: Macro Library
Topic: Panel Nesting
Topic: Panel Nesting
Replies: 7
Views: 511

Re: Panel Nesting

Loop through configs and run the previously posted code.
by DeDum
Wed Mar 27, 2024 12:49 pm
Forum: API
Topic: Browse Folder
Topic: Browse Folder
Replies: 13
Views: 5978

Re: Browse Folder

Finally made the module. Allows adding to other macros Some changes: 1. Replaced the variant variables with strings 2. Returning folder path will have "\" appended at end 3. User profile desktop returned as default Add this module to any macro VBA -> File -> Import File -> choose the .bas ...
by DeDum
Sat Feb 26, 2022 9:35 am
Forum: API
Topic: Couple free SW Partner solutions
Replies: 1
Views: 749

Re: Couple free SW Partner solutions

@sloworks Thanks for the share!
by DeDum
Sat Feb 26, 2022 9:28 am
Forum: API
Topic: Browse Folder
Topic: Browse Folder
Replies: 13
Views: 5978

Re: Browse Folder

CarrieIves suggestions on how I should be handling functions like this? Should I have a separate macro that basically just calls a function Create a module. You can reuse this module in each macro just import it when needed. The module file type is .bas and can be edited in any text editor (I sugge...