Search found 13 matches

by Monstrum Mathias
Tue Jan 07, 2025 6:56 am
Forum: Macro Library
Topic: My Macros
Replies: 18
Views: 12803

Re: My Macros

Thanks @laukejas It has already been put into good use. Clever one!
by Monstrum Mathias
Fri Dec 06, 2024 4:36 pm
Forum: SW General
Topic: Structure system strangeness
Replies: 2
Views: 334

Re: Structure system strangeness

I'm on 2024 version sp5, but the rotation I'm referring to is not the rotation of the profile sketch, which is available in the menu, but the angle of the profile sketch plane in relation to the initial sketch. When I change the position of the beams I'm modeling, it seems this plane keeps it's orie...
by Monstrum Mathias
Fri Dec 06, 2024 2:59 am
Forum: SW General
Topic: Structure system strangeness
Replies: 2
Views: 334

Structure system strangeness

I've noticed a weird behavior in structure system when changing directions of beams. I adjust the angle of the sketch line used to create the beam but the profile sketch that is extruded along this line keeps the initial orientation. There is no way to access this sketch or the sketch plane to fix t...
by Monstrum Mathias
Wed Dec 04, 2024 4:14 am
Forum: Macro Library
Topic: (re)Sharing my macros
Replies: 0
Views: 342

(re)Sharing my macros

Here's a bunch of macros I found really useful in my daily work. It started with the "save drawing as PDF" that I got a lot of help with from Alex Burnett ( AlexB ?) in the 3D experience SOLIDWORKS User Forum, since I understand very little about programming. It simply saves the document a...
by Monstrum Mathias
Wed Nov 27, 2024 4:15 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Re: Split macro

@AlexB Just a thought: Instead of making the macro "intelligent" enough to know the right direction to split, wouldn't it be easier to just split in both directions? I suppose it wouldn't make the macro that much slower. It works quite fast already.
by Monstrum Mathias
Fri Nov 22, 2024 2:09 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Re: Split macro

Impressive Sir, very impressive!
@AlexB We owe you several cold beers, should you ever come to Denmark.
by Monstrum Mathias
Mon Nov 18, 2024 6:34 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Re: Split macro

The reverse direction button was put in because there are scenarios where it tries to start splitting things in the wrong direction. I didn't make it smart enough to determine the direction itself but it's possible to do that. To set a default value, you can modify the form in the VBA editor to set...
by Monstrum Mathias
Tue Nov 12, 2024 8:46 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Re: Split macro

Thanks again. Absolutely brilliant!
by Monstrum Mathias
Tue Nov 12, 2024 3:39 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Re: Split macro

Thanks everybody for taking an interest to my niche problem. And thank you AlexB. You hit the nail on the head with this one! SliceMacroFeature does exactly what I'm after. Though there is no edit it seems to function really well with construction history, so it's not really needed, I guess. Also It...
by Monstrum Mathias
Tue Oct 29, 2024 3:38 am
Forum: Macro Library
Topic: Split macro
Topic: Split macro
Replies: 13
Views: 2118

Split macro

Hi all. I've been struggling with a library feature for some time now that can split 80mm, 120mm, 160mm, 200mm etc shapes in to 40mm thick bodies we feed to a router. They need to be precisely 40mm for the nesting program to work. While library features works like a charm for cutting and numbering o...
by Monstrum Mathias
Tue Jun 04, 2024 3:38 am
Forum: Macro Library
Topic: Macro idea
Replies: 4
Views: 1541

Re: Macro idea

Thanks Josh. Works like a charm!
by Monstrum Mathias
Mon Jun 03, 2024 5:59 am
Forum: Macro Library
Topic: Macro idea
Replies: 4
Views: 1541

Macro idea

A macro that collects all dangling relations and dimensions in a sketch and deletes them, would be a neat button to have. Often there are multiple dangling relations in a sketch and for some reason newer versions of SW tend to hide them from view. This function exists in the display/delete relations...
by Monstrum Mathias
Thu Apr 18, 2024 3:56 am
Forum: Macro Library
Topic: Qr code generator for solidworks drawing
Replies: 23
Views: 8852

Re: Qr code generator for solidworks drawing

Many thanks Ömür. This is a really useful code. I use it for displaying dropbox-links for pdf and edrawings on the SolidWorks drawings. When it inserts the picture it varies a great deal in size. Is there an easy way to adjust this size to a fixed value within the code? What would be truly awesome i...