Search found 202 matches

by laukejas
Tue Dec 03, 2024 6:55 pm
Forum: SW General
Topic: Representing multi-layer composite materials in SW
Replies: 5
Views: 534

Re: Representing multi-layer composite materials in SW

It looks like NX has an add-on for this purpose. NX Fibersim That looks pretty close to what I need. Wish there was something like it for SW... Laminate Tools has SolidWorks support. No idea on cost or functionality.....can't imagine its cheap. That looks pretty well thought-out, although from that...
by laukejas
Sun Dec 01, 2024 1:49 pm
Forum: SW General
Topic: Representing multi-layer composite materials in SW
Replies: 5
Views: 534

Representing multi-layer composite materials in SW

Hi, I wonder if anyone has any experience with this. For example, suppose you need to design a composite part that is comprised of a different material stack "sandwich", for example: Paint Primer 220gsm carbon cloth 380gsm carbon cloth 220gsm carbon cloth Foam 220gsm carbon cloth 380gsm ca...
by laukejas
Tue Nov 26, 2024 3:59 pm
Forum: API
Topic: Why is SW API so inconsistent and weird?
Replies: 4
Views: 657

Re: Why is SW API so inconsistent and weird?

Well, I had similar ideas, but: Some of the problems are limitations of COM itself (primarily array/variant related weirdness). Some of the problems are due to trying to support 3 (now 4) different programming languages and having to cater to the lowest common denominator (VBA). Even VBA supports st...
by laukejas
Sat Nov 23, 2024 9:48 am
Forum: API
Topic: Why is SW API so inconsistent and weird?
Replies: 4
Views: 657

Why is SW API so inconsistent and weird?

This is not a complaint, nor any specific issue, but just something I've been wondering over the years of working with SW API. Although it is very robust and well-documented, there are just so many inconsistent weird things about it that make it really difficult for newcomers to get into it. This ap...
by laukejas
Tue Nov 12, 2024 2:48 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

SPerman wrote: Tue Nov 12, 2024 2:28 pm If this had been available a few years ago I likely would have never purchased PDM. It appears to do most, if not all, of what our tiny engineering department needs from a PDM.
Hey, be careful with such comments, DS might come after me for hurting their sales :lol:
by laukejas
Tue Nov 12, 2024 2:47 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Okay, so after some extensive testing, I think V5 is stable, so here it is. Release V5 Changes: -The application will no longer automatically lock Released documents (make them read-only, lock external references and enable freeze bar), but will prompt the user by default. If you prefer to always lo...
by laukejas
Tue Nov 12, 2024 2:24 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Very much appreciated, it's very good work. It makes me doubt it would be really valuable to implement a PDM for our small team, your macro answer so many common problems in a very straightforward way. No problem :) I never expected this little tool to gain so much popularity, after all, it does ma...
by laukejas
Thu Nov 07, 2024 11:55 am
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Well, thanks to you!!! That's certainly the problem, when I hover over "filename" it shows "231130-450.sldprt". So it's a file that was copied there without the macro. I can enforce a "do not touch directly" policy to the Repo folder but I cannot guarantee it will be f...
by laukejas
Wed Nov 06, 2024 11:10 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Sorry you lost a lot of time with this. We will find a way to fix this issue, I promise :) Okay, reviewing your video, I strongly suspect that the issue is that you have some foreign files in your Repo directory with names that do not match the convention expected by the macro: [trackingId]_[Version...
by laukejas
Wed Nov 06, 2024 1:00 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

mgibeault wrote: Wed Nov 06, 2024 12:43 pm Thanks to you!
I'll do extensive testing in the next couple of days and report.
Are you using only SolidWorks' macro editor to edit your macros?
Thank you, I'll be waiting :) And yes, I am using SolidWorks macro editor. I thought there aren't any other IDE options, or are there..?
by laukejas
Tue Nov 05, 2024 4:15 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Here's a file and it's versions from the Repo folder. I don't know why there's no "A.1" version. To be sure it was not a cause to the problem I duplicated A.2 and renamed to A.1 but it changes nothing. When I run the macro on this file, "Phases" and "Revision" change r...
by laukejas
Tue Nov 05, 2024 2:07 pm
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

Hi guys, sorry for my absence, for some reason I was not getting notifications, and now like 5 of them arrived at once :shock: I am looking into this issue as we speak. If there is no NDA or anything, could you please share at least one file (and it's revision history files) that shows the "sub...
by laukejas
Mon Oct 28, 2024 8:26 am
Forum: SW General
Topic: Automation for cutting holes in mating bodies based on a sketch?
Replies: 4
Views: 684

Re: Automation for cutting holes in mating bodies based on a sketch?

I have derived sketch set to the "z" key since I use it a lot. All I have to do is select a face or plane, select the sketch from the tree and hit the Z key. Derived sketch created. Then just need to constrain it. image.png It may not help you in the end, but maybe it will help you speed ...
by laukejas
Sun Oct 27, 2024 9:58 am
Forum: SW General
Topic: Automation for cutting holes in mating bodies based on a sketch?
Replies: 4
Views: 684

Re: Automation for cutting holes in mating bodies based on a sketch?

I found kind-of-a workaround, far from ideal, but sharing to show my progress. Basically I created a single sketch and Cut-Extrude feature, and did Link Dimension on both the size of the square and the depth of the cut, with Cut-Extrude set to cut All Bodies. And then copy-paste that feature. Basica...
by laukejas
Sat Oct 26, 2024 8:36 pm
Forum: SW General
Topic: Automation for cutting holes in mating bodies based on a sketch?
Replies: 4
Views: 684

Automation for cutting holes in mating bodies based on a sketch?

Hi, I am trying to do something that should be super simple, but I just can't figure it out. I need to automate the creation of rectangular bi-directional holes on a multibody part that cut through both bodies in equal depth: https://i.imgur.com/v6K9RQT.png https://i.imgur.com/kM1VAhS.png Number of ...
by laukejas
Fri Oct 18, 2024 1:28 pm
Forum: SW General
Topic: FYI - 2024 SP04 is now available for download
Replies: 79
Views: 10651

Re: FYI - 2024 SP04 is now available for download

I just searched the KB for "hole wizard" and the number of BR and malfunction in general is quite a clown show. Every time is the same story and the devs do not learn. I said and repeat: NX uses the best and most stable approach. If a command changes the way the model behaves they just ma...
by laukejas
Fri Oct 11, 2024 4:00 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

For us, we have projects that don't share components (they are basically one off fixtures). So a main assembly # would be MF-02850 Then each make part under that assembly would be MF-02850-D01, MF-02850-D02, MF-02850-D03, etc... So, once I have the number of bodies set in stone, I just hit F2 and r...
by laukejas
Fri Oct 11, 2024 3:15 pm
Forum: SW General
Topic: FYI - 2024 SP04 is now available for download
Replies: 79
Views: 10651

Re: FYI - 2024 SP04 is now available for download

AlexLachance wrote: Fri Oct 11, 2024 7:47 am Why wouldn't it be?
Because that QA apparently isn't available to everyone... Not sure why they made it this way. Maybe you're right. Whatever, let them sue me, here it is: https://ufile.io/4c3o3umw
by laukejas
Fri Oct 11, 2024 3:12 pm
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

Eddy Alleman wrote: Fri Oct 11, 2024 7:29 am in that case i will add your findings to my SR. :D

happy coding!
Please let me know how it goes!
by laukejas
Fri Oct 11, 2024 2:51 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

I do things like this, but go one extra step. I use the multibody part, and call it a MASTER file (example: if my assembly # is MF-02946, then this multibody part is called MF-02946_Master). For this example, lets say that the multibody part has 8 bodies in it. I then create 8 empty parts, and, usi...
by laukejas
Fri Oct 11, 2024 2:14 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

If you have a set of features that are common to several parts, you can take that portion and insert it into multiple parts, and then make the differences from there. Separate parts seems so basic and silly, but in the end, it's the most reliable way to go. I've had a lot of problems with configura...
by laukejas
Fri Oct 11, 2024 1:54 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

No multibody. SSP and Master Sketch/Skeleton create and maintain links so multibody is not necessary. All you need with multibody is "ground at origin" don't need to mate. For weldment, I only have frame parts in there. Whatever add to it is in next level assembly. Multibody is a pain in ...
by laukejas
Fri Oct 11, 2024 1:02 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

Personally, without knowing exactly what you're trying to do, I would avoid especially the multi body stuff that you described. Well, what do you propose as an alternative? There are many designs with complex geometries shared between parts that are impossible or impractical to build as separate pa...
by laukejas
Fri Oct 11, 2024 12:43 pm
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

You want dumb number but you are giving meanings to the numbers. Even with order number, what's wrong using it in different project? Yes, I've done that before. As long as you got a way to search part number, you're good. The dumbest number will be {GUID}. A random long no duplicate "number&qu...
by laukejas
Fri Oct 11, 2024 4:18 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

Damn they add code for configuration specific properties and set it for all configurations... One wonders if they test it... I wanted to upvote the BR, but seems this is only for your eyes... Yeah, there seems to be quite a lot of new features in 2024 that didn't receive proper testing. Don't worry...
by laukejas
Fri Oct 11, 2024 4:17 am
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

Re: How to properly do dumb numbering for configs and multibody parts?

If you havent already, you might try posting this on the official forum. You may get more traction. Its an interesting question, just not one I have any constructive feedback on for you unfortunately. You mean the one on the 3DX platform? Which one exactly? I'm finding it difficult to find anything...
by laukejas
Fri Oct 11, 2024 3:48 am
Forum: SW General
Topic: FYI - 2024 SP04 is now available for download
Replies: 79
Views: 10651

Re: FYI - 2024 SP04 is now available for download

Did you elevate this with your VAR? We ended up going back to SP3.1, but Im curious if you continued to have the issue. Yes, and apparently they made a hotfix for this issue. Ask your VAR to send it for you as well, I was told it's number is QA00000367153. I'd post it here but I'm not sure if that'...
by laukejas
Thu Oct 10, 2024 9:25 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

Great to hear you're on 2024! 😄 Thanks for confirming that the bug is gone! I was checking out the new features in SolidWorks 2024 API, and I came across : A cut list (see: ICutListItem::CustomPropertyManager and IConfiguration::GetCutListItems) An assembly component (see: IComponent2::CustomProper...
by laukejas
Thu Oct 10, 2024 7:37 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

OK, I know I have tested with this some years ago and i filed an enhancement request several times. Even using the WINAPI it is not possible to mimic the clicking on the icon on the right. I did have a look into my code from then and found this remark: //IMPORTANT REMARK for SolidWorks 2021 cutlist...
by laukejas
Thu Oct 10, 2024 3:21 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

workaround: you can activate the configuration you want and then get the custom property for the active configuration. This has botthered me too for a long time so i filed a SR Last year i got a message from Solidworks that the following is added in SOLIDWORKS 2024 SP2: 🔹 SR# 1-23751953419 Descript...
by laukejas
Tue Oct 08, 2024 10:55 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

Re: How to add configuration-specific Cut List properties?

I believe this is not yet supported thru API. Reach out to your VAR, and ask them to verify. Here is a similar post https://r1132100503382-eu1-3dswym.3dexperience.3ds.com/home?content=swym:prd:R1132100503382:qnaquestion:-9pcRMYEQoWfmDbQAjb8mQ Thanks, I did it, and we confirmed it's a bug, got it th...
by laukejas
Sun Oct 06, 2024 8:09 am
Forum: SW General
Topic: FYI - 2024 SP04 is now available for download
Replies: 79
Views: 10651

Re: FYI - 2024 SP04 is now available for download

Anyone getting constant crashes when working with Exploded View in SP4? I just reinstalled Windows and fresh SW 2024 SP4 with factory settings, yet can't do more than a few explode steps before the program CTDs :D
by laukejas
Sat Oct 05, 2024 11:57 am
Forum: API
Topic: How to add configuration-specific Cut List properties?
Replies: 12
Views: 1317

How to add configuration-specific Cut List properties?

I want to add configuration-specific Cut-List item properties, so they would appear like this: image.png By default, accessing ICustomPropertyManager from Feature won't allow me to specify configuration name: Set swCustPropMgr = selectedFeature.CustomPropertyManager(activeConfig.Name) swCustPropMgr....
by laukejas
Fri Oct 04, 2024 10:45 am
Forum: SW General
Topic: How to properly do dumb numbering for configs and multibody parts?
Replies: 20
Views: 3121

How to properly do dumb numbering for configs and multibody parts?

I know this topic has been beaten to death, but I wanted to ask something very specific that has not been covered yet as far as I was able to find. I'm working without PDM for my personal/hobby/contracted projects, and I've recently abandoned descriptive file naming for semi-dumb numeric convention ...
by laukejas
Thu Oct 03, 2024 6:05 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

If the templates were such an issue SWX (not DSS) would issue a tool that allows you to create new ones based on the old ones, or to convert/update an "old" template to a new one. BTW, has anyone bothered to write a macro to do this? Attaching a macro I created for modifying the existing ...
by laukejas
Wed Sep 25, 2024 11:19 am
Forum: Macro Library
Topic: Revision control app macro (release)
Replies: 65
Views: 20613

Re: Revision control app macro (release)

What version of Solidworks are you all running? I'm on 2023 SP5.0 currently. I just downloaded V4 and went to run it and it acts like it is thinking for a minute but then nothing happens, no window appears, errors or anything. I also can't find a string in this code to change the Repository file pa...
by laukejas
Mon Sep 16, 2024 11:53 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

Yes, I was referring mostly to drawings, but a good amount applies to part and assembly models to. As you mentioned, you have a lot of customized configuration property options selected, display options, etc. so a general tool will only get you part of the way there. This does give me an idea for a...
by laukejas
Mon Sep 16, 2024 11:19 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

I don't think it's necessarily impossible, but it may need to be tailored to your situation (as Deepak (@gupta9665) mentioned). The problems for me when I've run into this are with BOM tables and revision tables. It's difficult to update the formats of those if they've changed without just re-addin...
by laukejas
Mon Sep 16, 2024 10:47 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

would you look into this? I am adding the macro. I remember it as bulk anted changing. set language from subtitle options. https://www.youtube.com/watch?v=eaDZ-rBzARw Thank you, this looks like a great tool to update drawings. I'm saving it for later. But for now, it's far more important for me to ...
by laukejas
Sun Sep 15, 2024 11:29 am
Forum: SW General
Topic: Maintaining projects in multiple languages
Replies: 5
Views: 936

Re: Maintaining projects in multiple languages

It's the actual people/user downloading the macro. And since it is a weekend, may be we did not bothered to reply. And glad to know that you have found a solution, I was thinking to link to a Chinese to English macro for ideas I'm not complaining, I was just suspicious about the downloads, because ...
by laukejas
Sun Sep 15, 2024 11:25 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

Have you tried insert part into part, and then breaking the link? Break how? image.png You mean External References -> Break All? Or selecting "Break Link" when creating Insert Part feature? Neither of these imports sketches and features... EDIT: correction, it does work for some parts (n...
by laukejas
Sun Sep 15, 2024 8:43 am
Forum: SW General
Topic: Maintaining projects in multiple languages
Replies: 5
Views: 936

Re: Maintaining projects in multiple languages

Unrelated question... I've noticed on many of my posts people downloading my attached files like crazy (like, this one already has 28 downloads), but not a single reply, so I'm just wondering, do we have some bots here that keep downloading everything? Or is it real users that hoard every macro just...
by laukejas
Sun Sep 15, 2024 8:26 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Re: Applying updated templates to old documents

#task from Central Innovations can automate most of what you are asking for. It has built in features for some of it. It will also run a custom macro (or several) along all selected parts. @mp3-250 has done quite a bit of research documenting and understanding the document properties. He talks abou...
by laukejas
Sun Sep 15, 2024 6:45 am
Forum: SW General
Topic: Applying updated templates to old documents
Replies: 25
Views: 3043

Applying updated templates to old documents

I have completely reworked my templates for parts, documents and drawings, and I still have like 5 ongoing projects with ~400 documents in total that were created with the old templates. I am looking for a way to retroactively apply the changes I made in the new template to these old documents. Chan...
by laukejas
Sat Sep 14, 2024 7:16 pm
Forum: SW General
Topic: Maintaining projects in multiple languages
Replies: 5
Views: 936

Re: Maintaining projects in multiple languages

Okay, so while waiting for a reply, I tested my PDF translation idea. Tried a dozen PDF editors, found that only LibreOffice Draw has Replace All functionality and API to use it. So I threw together a macro to do the translations, attaching it to this post if anyone needs it. How to use it: 1. Expor...
by laukejas
Sat Sep 14, 2024 5:30 am
Forum: SW General
Topic: Maintaining projects in multiple languages
Replies: 5
Views: 936

Maintaining projects in multiple languages

I expect this issue doesn't have any great solution, but I'm hoping for some tips and tricks. I often have to deliver manufacturing drawings from SW in several different languages (English and Polish). This means that drawing title blocks, component custom properties, sheet metal/weldment descriptio...
by laukejas
Thu Sep 05, 2024 1:01 pm
Forum: SW General
Topic: Sketch curve transition between two other curves
Replies: 16
Views: 1837

Re: Sketch curve transition between two other curves

The complex one (Wonky Donkey)) is done with a surface loft with 4 profiles ached .010". Probably could have placed them more more beneficially. Twisted Mutha.SLDPRTWonky Donkey.SLDPRT Thank you, I appreciate the effort you put into this. The final curve you got is indeed pretty close to my in...
by laukejas
Thu Sep 05, 2024 11:35 am
Forum: SW General
Topic: Sketch curve transition between two other curves
Replies: 16
Views: 1837

Re: Sketch curve transition between two other curves

You hoped for it you got it (whether you like it or not). I will try this on your more wonky part someday soon. As I said before your file is a future version for me so I traced it from a sketch picture. This one I did a bit different. Used a surface loft with .005" (don't know what your units...
by laukejas
Sat Aug 31, 2024 4:13 am
Forum: SW General
Topic: Sketch curve transition between two other curves
Replies: 16
Views: 1837

Re: Sketch curve transition between two other curves

Do you think there is any validity to the following? I majored in mathematics but that was a long, long, time ago so I didn't attempt any math on this. Your file is a future version for me so I took a pic of it then sketched over a sketch picture. I went with the face curves on a very shallow sweep...
by laukejas
Fri Aug 30, 2024 2:04 pm
Forum: SW General
Topic: Sketch curve transition between two other curves
Replies: 16
Views: 1837

Re: Sketch curve transition between two other curves

Your example is starting and ending on the same curve. But even if I modify the sketch the "mid curve" intersects with the other 2 curves, so that does not solve the problem. I am definitely out of my depth now... Oh, sorry, I missed that in a hurry to reply before the end of my shift. Bu...