Search found 199 matches
- Sat Nov 23, 2024 9:48 am
- Forum: API
- Topic: Why is SW API so inconsistent and weird?
- Replies: 0
- Views: 12
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...
- Tue Nov 12, 2024 2:48 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
Re: Revision control app macro (release)
Hey, be careful with such comments, DS might come after me for hurting their sales
- Tue Nov 12, 2024 2:47 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Tue Nov 12, 2024 2:24 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Thu Nov 07, 2024 11:55 am
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Wed Nov 06, 2024 11:10 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Wed Nov 06, 2024 1:00 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
Re: Revision control app macro (release)
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..?
- Tue Nov 05, 2024 4:15 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Tue Nov 05, 2024 2:07 pm
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- 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: 393
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 ...
- 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: 393
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...
- 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: 393
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 ...
- Fri Oct 18, 2024 1:28 pm
- Forum: SW General
- Topic: FYI - 2024 SP04 is now available for download
- Replies: 79
- Views: 6635
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...
- 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: 1810
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...
- Fri Oct 11, 2024 3:15 pm
- Forum: SW General
- Topic: FYI - 2024 SP04 is now available for download
- Replies: 79
- Views: 6635
Re: FYI - 2024 SP04 is now available for download
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
- Fri Oct 11, 2024 3:12 pm
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
Re: How to add configuration-specific Cut List properties?
Please let me know how it goes!Eddy Alleman wrote: ↑Fri Oct 11, 2024 7:29 am in that case i will add your findings to my SR.
happy coding!
- 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: 1810
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...
- 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: 1810
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...
- 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: 1810
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 ...
- 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: 1810
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...
- 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: 1810
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...
- Fri Oct 11, 2024 4:18 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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...
- 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: 1810
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...
- Fri Oct 11, 2024 3:48 am
- Forum: SW General
- Topic: FYI - 2024 SP04 is now available for download
- Replies: 79
- Views: 6635
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'...
- Thu Oct 10, 2024 9:25 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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...
- Thu Oct 10, 2024 7:37 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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...
- Thu Oct 10, 2024 3:21 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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...
- Tue Oct 08, 2024 10:55 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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...
- Sun Oct 06, 2024 8:09 am
- Forum: SW General
- Topic: FYI - 2024 SP04 is now available for download
- Replies: 79
- Views: 6635
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
- Sat Oct 05, 2024 11:57 am
- Forum: API
- Topic: How to add configuration-specific Cut List properties?
- Replies: 12
- Views: 847
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....
- 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: 1810
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 ...
- Thu Oct 03, 2024 6:05 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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 ...
- Wed Sep 25, 2024 11:19 am
- Forum: Macro Library
- Topic: Revision control app macro (release)
- Replies: 65
- Views: 17260
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...
- Mon Sep 16, 2024 11:53 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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...
- Mon Sep 16, 2024 11:19 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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...
- Mon Sep 16, 2024 10:47 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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 ...
- Sun Sep 15, 2024 11:29 am
- Forum: SW General
- Topic: Maintaining projects in multiple languages
- Replies: 5
- Views: 543
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 ...
- Sun Sep 15, 2024 11:25 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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...
- Sun Sep 15, 2024 8:43 am
- Forum: SW General
- Topic: Maintaining projects in multiple languages
- Replies: 5
- Views: 543
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...
- Sun Sep 15, 2024 8:26 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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...
- Sun Sep 15, 2024 6:45 am
- Forum: SW General
- Topic: Applying updated templates to old documents
- Replies: 25
- Views: 1628
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...
- Sat Sep 14, 2024 7:16 pm
- Forum: SW General
- Topic: Maintaining projects in multiple languages
- Replies: 5
- Views: 543
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...
- Sat Sep 14, 2024 5:30 am
- Forum: SW General
- Topic: Maintaining projects in multiple languages
- Replies: 5
- Views: 543
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...
- Thu Sep 05, 2024 1:01 pm
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
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...
- Thu Sep 05, 2024 11:35 am
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
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...
- Sat Aug 31, 2024 4:13 am
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
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...
- Fri Aug 30, 2024 2:04 pm
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
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...
- Fri Aug 30, 2024 6:16 am
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
Re: Sketch curve transition between two other curves
I was able to get a smooth curve by using a loft instead of a sweep. Equal length vertical and horizontal lines at each end, image.png image.png And use the original curves for guide curves. image.png I have no idea how "exact" this is... image.png Update: I tested this more thoroughly, a...
- Fri Aug 30, 2024 2:42 am
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
Re: Sketch curve transition between two other curves
You can get a curve @ 50% on a face, if you use face curves. (but not on a planar surface. If all the sketch entities are all on the same plane, then you have to use filled surface for face curves to work) image.png image.png You can also vary the percentage and put one at 20% if you want. Thank yo...
- Tue Aug 27, 2024 6:27 pm
- Forum: SW General
- Topic: Sketch curve transition between two other curves
- Replies: 16
- Views: 1320
Re: Sketch curve transition between two other curves
Here is another idea I tried... So I was thinking of doing a surface sweep of a single line, where this line would rotate by 90° along the sweep path, and also get shorter: https://i.imgur.com/AMPi8pP.png So I built an intricate profile sketch that rotates that line and adjusts it's length depending...