Search found 50 matches

by Conklin
Mon May 22, 2023 12:04 pm
Forum: SW General
Topic: How do I determine what version a solidworks file is in?
Replies: 10
Views: 2444

How do I determine what version a solidworks file is in?

A customer sends me a file, how do I tell what version solidworks it is in?
Shy of trying to open it in various versions of eDrawings, and see what or which one opens it?
Any quick method?
Thanks
by Conklin
Mon Apr 17, 2023 12:03 pm
Forum: SW General
Topic: Macro to change Decimal Length
Replies: 12
Views: 2535

Re: Macro to change Decimal Length

Hi, I would like to have a macro (run on a drawing document) change from this: Document Properties - Dimensions 3 PL.jpg to this: Document Properties - Dimensions 2 PL.jpg Code as posted previously: Option Explicit Sub main() Dim swApp As SldWorks.SldWorks Dim swModel As ModelDoc2 Dim swModelExtensi...
by Conklin
Fri Oct 07, 2022 9:35 am
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Re: Where to “ROLL” a view and why is it different?

Well… when you start a job it is just a quote so you grab any model that you can use, to quickly present the concept to the customer. My case it was a very well modeled 55 gallon drum on/from the GrabCad site, of course it was modeled with the open top UP. I left it that way for I was going to use o...
by Conklin
Fri Oct 07, 2022 8:46 am
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Re: Where to “ROLL” a view and why is it different?

Or maybe you might want to try using macro? https://www.cadforum.net/viewtopic.php?t=2191 Yes, I used/tested your macro Rotated a view in the assy with it once 4 x 45 deg to equal 180 & Once 1 x 180 to equal 180 saved both as separate 180 deg rotated views put them in a drawing & both were ...
by Conklin
Thu Oct 06, 2022 4:25 pm
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Re: Where to “ROLL” a view and why is it different?

On the other hand dropping the assembly view looking straight on to the front plane into the drawing and THEN rolling the view in the drawing 180 deg makes the rotated view perfect!! i
Yea thats what I figured out
by Conklin
Wed Oct 05, 2022 3:31 pm
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Re: Where to “ROLL” a view and why is it different?

Glenn,
Good idea, and I tried that on a test model/drawing
But until I added the Flat it did not go upside down.
SOLIDWORKS roll view 03.jpg
I even tried to pick the plane and the bottom
thinking that would flip it, but alas NO.
Trouble was I did not have a flat on my Drum.
by Conklin
Wed Oct 05, 2022 3:03 pm
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Re: Where to “ROLL” a view and why is it different?

Well I was drawing a cylinder Actually some modifications to a standard 55-gallon drum and in the drawing, I was trying to dim to a hole I wanted to put in the drum from the top But the top was not an edge it was a very shallow ellipse as it turned out and I had trouble snaping to the edge. That's h...
by Conklin
Wed Oct 05, 2022 2:10 pm
Forum: How To Questions
Topic: Where to “ROLL” a view and why is it different?
Replies: 14
Views: 1898

Where to “ROLL” a view and why is it different?

SOLIDWORKS roll view 01.jpg Starting in the assembly (..sldasm) and looking straight on to the front view and doing "this" (above in yellow) to roll the view 180 deg, everything looks good, you zoom in and show hidden lines and all and all looks good, it rolled the view 180 deg just fine....
by Conklin
Wed Sep 21, 2022 4:44 pm
Forum: SW General
Topic: How do I enter a specific view rotation?
Replies: 6
Views: 1781

Re: How do I enter a specific view rotation?

If you ALT Drag the middle mouse button
you can ROLL the view but I do not know how to roll it a set amount of degrees
by Conklin
Thu Aug 11, 2022 6:45 am
Forum: How To Questions
Topic: How do I exclude cut list items from a top level indented BOM
Replies: 2
Views: 1057

Re: How do I exclude cut list items from a top level indented BOM

Thanks,

That is what I Thought
TTevolve wrote: Wed Aug 10, 2022 8:48 am .... I think your only option is to hide those rows in that BOM.
But thought I'd ask
by Conklin
Mon Aug 08, 2022 10:30 am
Forum: How To Questions
Topic: How do I exclude cut list items from a top level indented BOM
Replies: 2
Views: 1057

How do I exclude cut list items from a top level indented BOM

Is it possible to exclude cut list items from a top level indented BOM? I still want the cutlist on the frame detail drawing as here: OK Here.jpg I just do not want the cut list to appear on the top level indented BOM as indented items under the frame detail: NOT OK Here.jpg Note: I Do NOT have this...
by Conklin
Wed Jul 13, 2022 2:21 pm
Forum: CAD Agnostic
Topic: Does anyone know anything about MicroStation?
Replies: 21
Views: 6030

Re: Does anyone know anything about MicroStation?

All I can say is I cut my teeth on Bently Microstation... Back in the day... Some of you Rember DOS? Well Bently Microstation had a graphical user interface that was far superior to the AutoCad 12 under DOS! I was great. It is only that Microstation had a Dongel Copy protection device and AutoCad di...
by Conklin
Wed Jul 13, 2022 2:04 pm
Forum: CAD Agnostic
Topic: 2D CAD drafting vs 3D CAD modelling, what do you think?
Replies: 22
Views: 4786

Re: 2D CAD drafting vs 3D CAD modelling, what do you think?

>< All I can say is that I have made many fixtures to hold my customers' parts that had many compound angles to the tubing he used in his parts, that I NEVER would have even attempted to quote the jobs if all I had was 2D. With 3D it's a breeze. >< >< >< >< >< It's a game changer!
by Conklin
Thu Jun 16, 2022 4:18 pm
Forum: SW General
Topic: Sheet metal bends problems
Replies: 9
Views: 1766

Re: Sheet metal bends problems

I took your original model: RED T-01 (PROBELM) bob 01.SLDPRT remodeled it: GREEN T-01 (PROBELM) bob 02.SLDPRT put them over top of each other in an assembly: (Close but not exact) T-01 (PROBELM) bob 04.SLDPRT.jpg Green model: T-01 (PROBELM) bob 03.SLDPRT.jpg Layflat of GREEN: T-01 (PROBELM) bob 02.S...
by Conklin
Thu Jun 16, 2022 10:23 am
Forum: SW General
Topic: What is this icon? & How do I hide it?
Replies: 5
Views: 956

Re: What is this icon? & How do I hide it?

That was it. I set it back to hide. All good now.
icon Ans.jpg
Thanks
by Conklin
Thu Jun 16, 2022 10:08 am
Forum: SW General
Topic: What is this icon? & How do I hide it?
Replies: 5
Views: 956

What is this icon? & How do I hide it?

What is this icon? & How do I hide it?
icon question.jpg
icon question.jpg (9.31 KiB) Viewed 956 times
It keeps moving about on the screen.
by Conklin
Fri Jun 03, 2022 4:46 pm
Forum: SW General
Topic: Saving the position of a flexible sub assy Back to the sub assy its self.
Replies: 4
Views: 927

Re: Saving the position of a flexible sub assy Back to the sub assy its self.

add a mate to the subassembly by editing it while in flexible mode to secure it in position, then toggle back to rigid mode This is a good idea I will try it.. But first I think I will need to create 20 configurations in the robot assy and then sequentially make each active and then move to, flex t...
by Conklin
Fri Jun 03, 2022 4:25 pm
Forum: SW General
Topic: Saving the position of a flexible sub assy Back to the sub assy its self.
Replies: 4
Views: 927

Re: Saving the position of a flexible sub assy Back to the sub assy its self.

You can dissolve the subassembly, use "Form New Subassembly" to recreate the subsassembly, then save that on top of the old one. This should preserve the mates in the subassembly and the arrangement in the top level assembly. To be tidy about it, you can first put the subassembly in a Fea...
by Conklin
Fri Jun 03, 2022 1:22 pm
Forum: SW General
Topic: Saving the position of a flexible sub assy Back to the sub assy its self.
Replies: 4
Views: 927

Saving the position of a flexible sub assy Back to the sub assy its self.

Saving the position of a flexible sub assy positioned in, say the Main Assembly, Back to the sub assy its self. See image: SAVING-CAPTURING A POSITION.jpg A sub assy of the robot set to be flexible in this assy. I have positioned it in this assy to point exactly where I want the weld. question --> h...
by Conklin
Mon Apr 25, 2022 1:06 am
Forum: How To Questions
Topic: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT
Replies: 7
Views: 4221

Re: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT

Yes, Now all is as it should be.
by Conklin
Sat Apr 16, 2022 2:10 pm
Forum: How To Questions
Topic: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT
Replies: 7
Views: 4221

Re: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT

OK I looked some more and... Youtube & Google to the rescue! "How To Fix SOLIDWORKS VBA 7.1 Installation Error" from (my VAR) "CADimensions, Inc." https://www.youtube.com/watch?v=wjAz51lye1g & this from "Hawk Ridge Systems" https://support.hawkridgesys.com/hc/en...
by Conklin
Fri Apr 15, 2022 6:01 pm
Forum: How To Questions
Topic: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT
Replies: 7
Views: 4221

Re: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT

Austin, Thanks. That is what I thought. But I have looked and looked For any info that supports that BUT can not find any I am sure it's true but just wanted to see if it was mentioned any where on the official SW sites or if anyone else has/had that problem. I cannot find anything! Seems to me to b...
by Conklin
Fri Apr 15, 2022 11:00 am
Forum: How To Questions
Topic: Need Help, CANNOT OPEN MACRO TO RUN OR EDIT
Replies: 7
Views: 4221

Need Help, CANNOT OPEN MACRO TO RUN OR EDIT

CANNOT OPEN MACRO TO RUN OR EDIT in SOLIDWORKS Professional 2020 SP5.0 Am able to to this at work OK But at home it does not NOW let me. (It used to be OK, at home) same macros same every thing that I can tell something is different. Could it be a Microsoft VBA thing that is different or something? ...
by Conklin
Thu Feb 17, 2022 7:33 pm
Forum: SW General
Topic: Drawings - Custom Properties from Text File?
Replies: 22
Views: 3871

Re: Drawings - Custom Properties from Text File?

One should take a look at what Fifi Riri has done with his "Batch Custom Properties Program" He has done a wonderful job!! Once you request your SwDocManager license key (it's free from SW) It can modify, add, change, delete, single or bulk custom properties and more... It can do this on p...
by Conklin
Wed Feb 16, 2022 4:59 pm
Forum: SW General
Topic: Drawings - Custom Properties from Text File?
Replies: 22
Views: 3871

Re: Drawings - Custom Properties from Text File?

To update the custom properties for a set of drawings or models or assemblies
I use a very handy "Batch Custom Properties" utility by Fifi Riri
a screen shot of part of the help file:
Batch Custom Properties - Help.jpg
I can post a link to get it if anyone desires to try it.
by Conklin
Thu Dec 02, 2021 12:05 pm
Forum: How To Questions
Topic: Property Tab Builder & a Changeable/Selectable Value for Sheet Number Problem.
Replies: 2
Views: 1187

Re: Property Tab Builder & a Changeable/Selectable Value for Sheet Number Problem.

I have tried the macro "CustomSheetNumber.swp" I simplified the macro a bit to better understand what it was doing… Took away the filter bit, made it to do just one size drawing format/templet size, commented out the graphics and zoom all bit I also made the position and the font size good...
by Conklin
Thu Sep 16, 2021 12:31 pm
Forum: Macro Library
Topic: Macro: Export all open drawings as PDF and DWG
Replies: 4
Views: 7345

Re: Macro: Export all open drawings as PDF and DWG

Great Job Please look at the attached "Batch_Save_As_DWG_Seprate_Shts.text" It is perhaps not the best written/pieced together Macro But it works for me... But, particularly look at the bit that: ( that I think is a good idea ) Saves all sheets of all the Files in a specified directory as ...
by Conklin
Thu Aug 26, 2021 4:45 pm
Forum: SolidWorks FAQ
Topic: Efficient Assemblies
Replies: 9
Views: 2534

Re: Efficient Assemblies

GOT it
OK now
Login again & all is well
Thanks
by Conklin
Thu Aug 26, 2021 4:35 pm
Forum: SolidWorks FAQ
Topic: Efficient Assemblies
Replies: 9
Views: 2534

Re: Efficient Assemblies

I click on the link and get this?
2021-08-26 16_32_34-CAD Forum.jpg
by Conklin
Fri Aug 13, 2021 2:16 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

The only thing I can think of is that I am using the same part in two different subassemblies and the last one evaluated "WINS" so to speak BOM Top.jpg For I am using the Flexible coupling, and the other "Yellow" items above, in two diff assemblies. But as for the clamp I know th...
by Conklin
Fri Aug 13, 2021 9:06 am
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

Hi, Not for nothing, But I did try the latest, above code, on my "Top level" multi level assy And it did not count correctly, My "Main" top level, level 1" assy calls out a sub assy, "clamp slide assy", as a level 2 that it in turn calls out/has in it several of th...
by Conklin
Tue Aug 10, 2021 3:40 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

Thanks for the explanation Josh & AlexB I do not want to co-opt this thread at all, but, I just wanted to see what the macro did or did not do Turns out it did/does more than I expected. With AlexB's correction it did seem to add up correctly on my small assembly But I wanted to test it a bit mo...
by Conklin
Tue Aug 10, 2021 12:35 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

Just a question?
note question.jpg
note question 02.jpg
by Conklin
Tue Aug 10, 2021 12:07 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

AlexB » Tue Aug 10, 2021 11:24 am

I've been trying to follow along with what you're looking to do with this macro so maybe this will help.

This is only the code from your rebuild function, the rest is unmodified.
That works on my assembly just fine.

Thanks
by Conklin
Mon Aug 09, 2021 5:02 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

I tried also BUT Using this code: If tCmp.ReferencedConfiguration = Cfg Then If Not tCmp.GetExcludeFromBOM2(swInConfigurationOpts_e.swThisConfiguration, tCmp.ReferencedConfiguration) Then cCnt = cCnt + 1 End If End If When I run it I get this: ---- test --- type mismatch 01.jpg Then the debug This: ...
by Conklin
Mon Aug 09, 2021 1:50 pm
Forum: API
Topic: Quantity Macro
Replies: 19
Views: 4027

Re: Quantity Macro

Yes, I also downloaded "QtyMacroFeature.swp.zip" and replaced 'If tCmp.ReferencedConfiguration = Cfg Then 'cCnt = cCnt + 1 'End If with this If tCmp.ReferencedConfiguration = Cfg Then Dim configOpt As Integer Dim configNames As Object If Not tComp.GetExcludeFromBOM2(configOpt, configNames)...
by Conklin
Wed Jul 14, 2021 5:49 am
Forum: How To Questions
Topic: Is it possible to update material name so that parts that use that material will update next time they're opened?
Replies: 21
Views: 2291

Re: Is it possible to update material name so that parts that use that material will update next time they're opened?

The material library is a collection of materials and their properties that can be _applied_ to a part. The action of applying material copies these properties from the database and pastes them to the part with no link to the material database. This is really necessary because every install of SW c...
by Conklin
Wed Jul 07, 2021 3:26 pm
Forum: How To Questions
Topic: Property Tab Builder & a Changeable/Selectable Value for Sheet Number Problem.
Replies: 2
Views: 1187

Property Tab Builder & a Changeable/Selectable Value for Sheet Number Problem.

In my drawing templet I have set a custom property for the sheet number, that the title block will look at to get its value. SOLIDWORKS Professional 2020 SP5.0 - PTB-00.jpg I have set up a “Pull Down List” in the “Property Tab Builder” to be able to select/chose what I would like the custom property...
by Conklin
Fri May 21, 2021 1:49 pm
Forum: SW General
Topic: Accurate Gears in SW
Replies: 13
Views: 4272

Re: Accurate Gears in SW

I have posted a wile back this file "Robust Involute Spur Gear Generator - Better 02.SLDPRT" A "GRABCAD" link to it it here: https://grabcad.com/library/robust-involute-spur-gear-generator-solidworks-1 it has been downloaded a "few" times and has gotten good reviews... ...
by Conklin
Fri Apr 23, 2021 3:39 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

NOW
Where do I find, I think it is, "The ride of the Valkyries"
In a "WAV" format !!!!!!
Can an "MP3" be converted?
Or
Do I now have to figure out how to get a "MP3" to work? o[
by Conklin
Fri Apr 23, 2021 2:52 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

OK so I dropped the below code just as it was on the web page into a new SW macro and and it works great I guess I was trying to think too much for I was trying to put it into/at the end of an existing macro and could not get it to work. Option Explicit 'Declaration for Win10 and Office 64 bit Publi...
by Conklin
Thu Apr 22, 2021 11:02 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

by AlexB I'm not sure if it even works, but this came up with a quick search about playing sound files with VBA https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/Play_a_WAV_File_from_VBA Edit: I just tested it and it works great. Any WAV file plays with the message box. I did mark you as ...
by Conklin
Thu Apr 22, 2021 9:11 am
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

by dpihlaja » Thu Apr 22, 2021 8:02 am Just configure your sounds inside Solidworks and have the last line of your macro do something from the list. Might make it cumbersome, though. But if the last line of your macro is a rebuild, then configure the rebuild complete sound to whatever you want. Goo...
by Conklin
Wed Apr 21, 2021 10:27 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

by AlexB
https://en.wikibooks.org/wiki/Visual_Ba ... e_from_VBA

Edit: I just tested it and it works great. Any WAV file plays with the message box.
I will try this. Thanks
by Conklin
Wed Apr 21, 2021 10:17 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

OK so I got the beep to work Via A " Duck Duck Go" search that turned up a Thread on the "Old Fourm": What do you think about a Confirmation BEEP? Asked by Dan Golthing | 05/30/19 | In it a reply by Thomas Allsup Where he references a presentation he did I think at SW World: 2008...
by Conklin
Wed Apr 21, 2021 3:20 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

Post by SPerman That works on my computer. I did it again (with out loop) and a single beep command, and yes it makes a sound BUT I think it is just a sound that is a standard sound when a message box is displayed and it, the macro, wants a user input. Is there a way to have a macro run, pull, or r...
by Conklin
Tue Apr 20, 2021 9:07 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

SPerman
Try just a single beep without the loop.
I did to no avail
by Conklin
Tue Apr 20, 2021 4:35 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

Could it be that in the "Available References:" list for Solidworks it does not have any choice for sounds?
sound ref.jpg
I just thought it would be nice to have the Computer yell at me (Wake me up) when the macro is done.
by Conklin
Tue Apr 20, 2021 3:10 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Re: Would like a sound, a "Beep", prior to or at the end of a macro

I added this bit Got the message boxes but no Beeps between

MsgBox "beep Start"
Dim x
For x = 1 To 10 ' Loop 10 times.
Beep ' Sound a tone.
Next x
MsgBox "beep done"
by Conklin
Tue Apr 20, 2021 2:25 pm
Forum: API
Topic: Would like a sound, a "Beep", prior to or at the end of a macro
Replies: 30
Views: 5161

Would like a sound, a "Beep", prior to or at the end of a macro

What would be the code that would need to be inserted
to make a "Beep" prior to ending of a macro?