Search found 6 matches

by ajberinguela
Tue Sep 17, 2024 1:20 am
Forum: API
Topic: Save weldment as assembly macro
Replies: 7
Views: 1100

Re: Save weldment as assembly macro

Thank you, this is a macro that let's me saved the colors into an array. The next one is a macro I get from CodeStack that let's me put colors in part in random. Is there a way I can combine these two? Option Explicit Sub GetBodyColors() Dim swApp As SldWorks.SldWorks Dim swModel As SldWorks.ModelDo...
by ajberinguela
Wed Sep 04, 2024 5:40 am
Forum: API
Topic: Save weldment as assembly macro
Replies: 7
Views: 1100

Re: Save weldment as assembly macro

Thanks! This is a big help. If the API doesn’t support colors, do you have any workaround ideas?
by ajberinguela
Mon Sep 02, 2024 8:31 pm
Forum: API
Topic: Save weldment as assembly macro
Replies: 7
Views: 1100

Re: Save weldment as assembly macro

Thanks Gupta, this is close enough. However, there are still isssues I need to address.
-It works for solid bodies but not for the cut list.
-I want to use the Cut List folder name as the file name
-I want to maintain the color that is set during the creation of the part.
by ajberinguela
Mon Sep 02, 2024 2:25 am
Forum: API
Topic: Save weldment as assembly macro
Replies: 7
Views: 1100

Re: Save weldment as assembly macro

Hi, I'm looking for the same thing, do you have any updates on this one? Thank you in advance
by ajberinguela
Mon Sep 02, 2024 1:35 am
Forum: Macro Library
Topic: Macro saving bodies into individual parts not closing "part" window if the file type is changed
Replies: 3
Views: 1154

Re: Macro saving bodies into individual parts not closing "part" window if the file type is changed

Good Day, I'm also using this same macro, by any chance, do you know if it's possible to modify this macro so that it saves the multiple bodies inside the Cut List as a single part? This macro saves each solid body as individual files, what I need is for it to save identical bodies as a single file ...
by ajberinguela
Sun Sep 01, 2024 8:27 pm
Forum: Macro Library
Topic: Macro to save bodies into individual SOLIDWORKS part documents using a custom property as file name
Replies: 3
Views: 1808

Re: Macro to save bodies into individual SOLIDWORKS part documents using a custom property as file name

Good day,

I’m looking for the same information. Do you have any updates? Thanks in advance