Search found 64 matches

by bentlybobcat
Wed Nov 17, 2021 10:30 am
Forum: How To Questions
Topic: Turning assemblies saved as part with surfaces into useful solids
Replies: 16
Views: 3400

Re: Turning assemblies saved as part with surfaces into useful solids

Well, the model FINALLY arrived. Geeze. 14,124 surface bodies.

As suggested, above I'm going to remodel a very limited subset of the interface areas as necessary and call this done.

I could spend the rest of my life on this.....

Thanks all who chimed in.
by bentlybobcat
Tue Nov 09, 2021 9:19 am
Forum: How To Questions
Topic: Turning assemblies saved as part with surfaces into useful solids
Replies: 16
Views: 3400

Re: Turning assemblies saved as part with surfaces into useful solids

Wow! Lot's of good responses. Sorry, was off doing something else and forgot about this thread. Agreed, the easiest solution is to get a real model. Unfortunately they want a lot of $ for that and management doesn't see the value.... My time is seen as "free".... grumble. Sorry not able to...
by bentlybobcat
Fri Nov 05, 2021 7:31 am
Forum: How To Questions
Topic: Turning assemblies saved as part with surfaces into useful solids
Replies: 16
Views: 3400

Turning assemblies saved as part with surfaces into useful solids

So, When the genius' at my company wrote the PO for the design and construction of a piece of equipment that we will include in a larger system, they neglected to include fully functional solid models as a deliverable.... The vendor balked at the request of providing a full model, but did provide th...
by bentlybobcat
Mon Nov 01, 2021 2:59 pm
Forum: API
Topic: What are some different ways to bring outside information into SW properties
Replies: 14
Views: 2270

Re: What are some different ways to bring outside information into SW properties

My favorite trick is to directly edit custom properties from Excel with user-defined functions, without having to open SW at all (via Document Manager API). https://www.codestack.net/solidworks-document-manager-api/ https://www.codestack.net/solidworks-document-manager-api/document/data-storage/cus...
by bentlybobcat
Mon Oct 18, 2021 3:23 pm
Forum: SW General
Topic: Inserting a sequence of numbers in a sketch
Replies: 2
Views: 454

Re: Inserting a sequence of numbers in a sketch

mike miller wrote: Mon Oct 18, 2021 11:54 am Does this help you? https://www.cadforum.net/viewtopic.php? ... 85&p=13065

Kudos to @MJuric.
Wow. That's brilliant. Yes, thanks!
by bentlybobcat
Mon Oct 18, 2021 11:22 am
Forum: SW General
Topic: Inserting a sequence of numbers in a sketch
Replies: 2
Views: 454

Inserting a sequence of numbers in a sketch

Hiya, I do a lot of work with ship layout and one of the basic layout items for all ship systems is a baseline sketch defining the frame spacing. The layout of the actual spacing is easy enough, but it would be AWESOME if I could generate a sequence of text labels to call out the frame numbers. As t...
by bentlybobcat
Tue Oct 12, 2021 1:42 pm
Forum: SW General
Topic: Weird STEP import phenomena
Replies: 6
Views: 900

Re: Weird STEP import phenomena

dpihlaja wrote: Tue Oct 12, 2021 1:23 pm This has to do with what template the program is using when it pulls in the STEP file.

The template that is defined here (see below) is the culprit. It probably has a sweep in it.

image.png
Dude. You are THE MAN! Have no idea how this got changed.

Thank you!
by bentlybobcat
Tue Oct 12, 2021 11:59 am
Forum: SW General
Topic: Weird STEP import phenomena
Replies: 6
Views: 900

Weird STEP import phenomena

So I got a bunch of step files from one of our contractors to use in our assembly model. Importing them into Swx v2019 results in every part having a Sweep inserted in the part on top of the Imported part in the feature manager tree. The Sweep is broken due to relations to elements that no longer ex...
by bentlybobcat
Fri Sep 24, 2021 12:42 pm
Forum: How To Questions
Topic: SolidWorks 2018 IP Protection
Replies: 15
Views: 2085

Re: SolidWorks 2018 IP Protection

Hello, I need to send a Pack & Go to a client, however, I want to keep my work to myself. The goal is to send the pack & go with all the solid bodies as "imported" rather than sending the solidparts with all the details. If I use a speedpak, this doesn't allow the client to click ...
by bentlybobcat
Fri Sep 24, 2021 9:05 am
Forum: API
Topic: Struggling with swAddMateError_e Enumeration in Python
Replies: 5
Views: 1111

Re: Struggling with swAddMateError_e Enumeration in Python

Got it.....

Thanks to http://joshuaredstone.blogspot.com/2015/

longstatus = win32com.client.VARIANT(pythoncom.VT_BYREF | prythoncom.VT_I4, 1)

jeebus....
by bentlybobcat
Fri Sep 24, 2021 8:41 am
Forum: API
Topic: Struggling with swAddMateError_e Enumeration in Python
Replies: 5
Views: 1111

Re: Struggling with swAddMateError_e Enumeration in Python

Argh.....

Playing with the VBA code that I'm translating, if I replace longstatus with 0, it works just fine.

Need a pulling hair out emoji....
by bentlybobcat
Fri Sep 24, 2021 7:44 am
Forum: API
Topic: Struggling with swAddMateError_e Enumeration in Python
Replies: 5
Views: 1111

Re: Struggling with swAddMateError_e Enumeration in Python

Thanks. Well with the untyped nature of python, you have to assign a value to longstatus prior to usage. I've tried casting longstatus to an int using int(), but I get the following: pywintypes.com_error:(-2147352571, 'Type mismatch.', None, 13) I've looked around and can't find any reference to thi...
by bentlybobcat
Thu Sep 23, 2021 11:07 am
Forum: API
Topic: Struggling with swAddMateError_e Enumeration in Python
Replies: 5
Views: 1111

Struggling with swAddMateError_e Enumeration in Python

Greetings all, I got a wild hair to apply my rudimentary python skills to write macros for SolidWorks. I'm making good progress. Some interesting gyrations to jump through, but I'm establishing a good book of knowledge to use in the future. But I'm hamstrung on the longstatus parameter used in AddMa...
by bentlybobcat
Tue Sep 21, 2021 11:32 am
Forum: Misc CAD
Topic: Alibre Cad
Replies: 3
Views: 1970

Re: Alibre Cad

Roasted By John wrote: Tue Apr 27, 2021 3:41 pm Fushion 360 isn't that bad - seems a lot elementary, lot of missing stuff
It's not that good either. Lot's of bugs they don't seem interested in fixing and no configurations.

I gave up on it a while back and have stopped recommending it to folks.

bently