Search found 106 matches

by Hansjoerg
Tue Mar 26, 2024 8:33 am
Forum: SW General
Topic: SOLIDWORKS 2023 confirmed bugs
Replies: 21
Views: 1754

Re: SOLIDWORKS 2023 confirmed bugs

And the next one. If you place the "View from behind" command on the mouse gestures and select this command, the current view is adopted as the default view rather than being rotated to the view from behind. The behavior is reproducible in 2024. I am trying to reprogram the command with a ...
by Hansjoerg
Wed Mar 20, 2024 11:53 am
Forum: SW General
Topic: Install hotfixes with the admin image
Replies: 2
Views: 269

Install hotfixes with the admin image

Hello to all, The admin image offers the possibility to run an application after the installation. With this option you can very elegantly roll out a hotfix together with the software. If it is only one hotfix that is required. According to my current status, the following hotfixes are required for ...
by Hansjoerg
Wed Mar 20, 2024 10:01 am
Forum: SW General
Topic: SOLIDWORKS 2023 confirmed bugs
Replies: 21
Views: 1754

Re: SOLIDWORKS 2023 confirmed bugs

BR10000367139: Insert > Part > Break link to original part - the Part Material of the child part replaces the that stored in the parent
The 2023 SP5 hotfix to address this issue is available in the attachment HotFix_HF-1210441_2023sp05.exe
by Hansjoerg
Thu Mar 14, 2024 6:00 pm
Forum: SW General
Topic: Standard Parts Library: Configurations or Individual Parts?
Replies: 34
Views: 1318

Re: Standard Parts Library: Configurations or Individual Parts?

Second what Hansjoerg says. Don't make all the configs and copy the file, it's a PITA to remove all the unwanted configs from the copied files. There's no way to copy a single config to new file. Since SWX Version 2020 this is possible out of the box -> https://help.solidworks.com/2023/english/Soli...
by Hansjoerg
Thu Mar 14, 2024 5:32 pm
Forum: SW General
Topic: Standard Parts Library: Configurations or Individual Parts?
Replies: 34
Views: 1318

Re: Standard Parts Library: Configurations or Individual Parts?

My current plan is to make parts with multiple configurations, and then save each configuration as a new part. That's not a good idea! If you create your parts this way, the file size of the individual parts will be significantly larger than if you create them as individual parts. The more configur...
by Hansjoerg
Thu Feb 15, 2024 4:11 pm
Forum: API
Topic: macro features: what are they for?
Replies: 6
Views: 730

Re: macro features: what are they for?

gupta9665 wrote: Thu Feb 15, 2024 4:07 am I can vouch for the training content on the cad sharp.....
That sounds good.

What form does the training take?
Do you receive documents, manuals and work through the chapters on your own, or is it like a webinar where the learning content is presented and demonstrated?
by Hansjoerg
Thu Feb 15, 2024 1:30 am
Forum: API
Topic: macro features: what are they for?
Replies: 6
Views: 730

Re: macro features: what are they for?

At CADSharp you can book a training course on the macro feature.

https://www.cadsharp.com/solidworks-api ... n-7-5-vba/

I haven't booked it myself yet, but I'm thinking about giving it a try.
Does anyone know this course and has completed it?
by Hansjoerg
Fri Dec 01, 2023 12:24 pm
Forum: API
Topic: Solidworks PDM API - add new folder
Replies: 3
Views: 732

Solidworks PDM API - add new folder

Is it correct that the PDM API can only work with VB.Net and not with VBA? Checking if a directory exists works with the standard VBA method: ...If Dir(Tempfilefolder, vbDirectory) <> vbNullString Then..... To create a new folder, however, vba mkdir does not work. I just need a normal folder, no dat...
by Hansjoerg
Sat Oct 28, 2023 12:24 pm
Forum: API
Topic: What is the image size for the macro button?
Replies: 16
Views: 1997

Re: What is the image size for the macro button?

Somewhere on the Internet I found a canvas with most of the Solidworks icons on a white background. And I just take them and modify them. I create a new 20x20 pixel file, copy the appropriate stock icons and combine them or recolor them. I save it in BMP - the white color will be transparent. Thank...
by Hansjoerg
Thu Oct 26, 2023 1:48 pm
Forum: SolidWorks FAQ
Topic: Missing commands
Replies: 13
Views: 1155

Re: Missing commands

Is it a Macro Feature
by Hansjoerg
Thu Oct 12, 2023 5:16 am
Forum: SolidWorks PDM
Topic: refresh cache during login does nothing
Replies: 9
Views: 1601

Re: refresh cache during login does nothing

....I've only had trouble with the update not working reliably on one client. But the problem was probably because that client had WIN 11 installed.... I must correct myself. I have the problem not only on a client with W11, but also on clients with W10! And not only on one client, but on several. ...
by Hansjoerg
Tue Oct 10, 2023 12:00 pm
Forum: API
Topic: What is the image size for the macro button?
Replies: 16
Views: 1997

Re: What is the image size for the macro button?

.... I love beautiful icons. .... It is very convenient to take standard Solidworks icons and adapt them by adding labels.... Hello Mikhov, can you describe how and with what software you create the icons? Artem gave me a tip a long time ago to try inkscape. But so far I haven't found out how to sa...
by Hansjoerg
Thu Sep 14, 2023 7:38 am
Forum: SolidWorks PDM
Topic: PDM file version upgrade tool
Replies: 4
Views: 1078

Re: PDM file version upgrade tool

I learned at a methodology and performance training that FVUT does not work when using the freeze bar in the feature manager.
However, I have not verified this statement yet
by Hansjoerg
Tue Sep 12, 2023 1:42 pm
Forum: SolidWorks PDM
Topic: PDM Task host without user login
Replies: 5
Views: 609

Re: PDM Task host without user login

AlexB wrote: Mon Sep 11, 2023 2:13 pm Correct, without a user actively logged in, it will not work.
this is bad! Is there a possibility to run the task processing as a service?
by Hansjoerg
Tue Sep 12, 2023 1:39 pm
Forum: SolidWorks PDM
Topic: Search.exe - command line switch for column set
Replies: 1
Views: 350

Search.exe - command line switch for column set

Since version 2021 you can predefine column sets in the PDM for e.g. the display of search results. Is it possible to call these column sets with the Search.exe tool via command line parameters? If this works I would put two different shortcuts for the Search.exe on the desktop. 1. for the search an...
by Hansjoerg
Mon Sep 11, 2023 1:22 pm
Forum: SolidWorks PDM
Topic: PDM Task host without user login
Replies: 5
Views: 609

Re: PDM Task host without user login

AlexB wrote: Mon Sep 11, 2023 11:55 am Ours is set up to automatically log in to windows after re-start.
We have a little difficulty with that. The settings in the registry for the automatic user login are always reset. Probably MS Intunes has its fingers in the pie.

@AlexB: Without a logged in user it didn't work for you either?
by Hansjoerg
Mon Sep 11, 2023 11:13 am
Forum: SolidWorks PDM
Topic: PDM Task host without user login
Replies: 5
Views: 609

PDM Task host without user login

I'm trying to set up our task host according to these instructions , so that it processes the tasks again after a reboot, without anyone having to start the PDM first. I have proceeded as described in the instructions, but the processing of the tasks only works as long as I am logged on to the task ...
by Hansjoerg
Fri Sep 08, 2023 12:04 pm
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

Calling OpenDoc6 on a file that doesn't actually exist in the file system seems like a risky thing to do. I'm surprised it ever works at all. not only the opening of the file, but also the closing of the file causes problems, especially if the component is installed several times in the assembly. I...
by Hansjoerg
Tue Sep 05, 2023 10:31 am
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

....I haven't been able to make it work. I also not! I add also the event handlers i found in the old forum. In the debug mode i can see the eventhandlers will be adressed, but in run mode nothing happens I have add the message function to all eventhandlers, but only the handler FileOpenPostNotify ...
by Hansjoerg
Tue Sep 05, 2023 2:49 am
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

I tried to implement the code snippets in my macro. I started with the line "Dim WithEvents swApp as....." but the line was marked with red letters. In my seconde try i have started with a blank macro, but it happend the same as in my first try, the line with "Dim WithEvents swapps......
by Hansjoerg
Fri Sep 01, 2023 12:27 pm
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

Hello Gupta, you are right. If I use 3dinterconnect for the import, then the macro works. I am a bit surprised that it can open the subassembly via macro, because it does not work for me via the user interface. However, the 3d interconnect also brings two small disadvantages. a. The subassembly I ne...
by Hansjoerg
Thu Aug 31, 2023 6:59 am
Forum: API
Topic: What is the image size for the macro button?
Replies: 16
Views: 1997

Re: What is the image size for the macro button?

The Austrian reseller Planet Software recommends bitmaps with 22x21. -> https://www.cad.at/wissen/blog/individu ... ks-makros/

He also refers to an online converter with which you can make the conversion for free.
-> https://online-converting.com/image/convert2bmp/
by Hansjoerg
Thu Aug 31, 2023 5:45 am
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

The sleep function is definitely an option I will try out.
In my distress I already put the OpenDoc6 method into a Do Loop Until loop, and took the variable Longerrors as exit condition, but unfortunately this led to an endless loop.

If nothing helps I have to send the problem to the API support.
by Hansjoerg
Wed Aug 30, 2023 12:38 pm
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

Re: OpenDoc6 works correctly only in debug mode

Hello Gupta,

no there is no error message.
Does the macro open the component on the second level in the feature tree in a separate window?
by Hansjoerg
Wed Aug 30, 2023 11:27 am
Forum: API
Topic: OpenDoc6 works correctly only in debug mode
Replies: 14
Views: 1176

OpenDoc6 works correctly only in debug mode

Hello to all, has anyone besides me ever had the problem that the OpenDoc6 method only works in debug mode, or if you force a pause by a message after the command? As long as you are still programming, you can also insert a breakpoint, then the method will work correctly. I add the macro and a testf...
by Hansjoerg
Sat Jul 29, 2023 9:09 am
Forum: SW General
Topic: SP3
Replies: 102
Views: 8080

Re: SP3

image.png
Source: https://cadforum.net/viewtopic.php?p=29998#p29998

I found this Bug in another thread in this forum
by Hansjoerg
Thu Jul 13, 2023 12:11 pm
Forum: SW General
Topic: SP3
Replies: 102
Views: 8080

Re: SP3

....updating PDM to 2023 and leaving CAD at 2019 for a while

Four Versions between PDM and SWX? Is that possible? Is there not a limit of max. 3 Versions ?
by Hansjoerg
Tue Apr 04, 2023 1:26 pm
Forum: SolidWorks FAQ
Topic: Archive of the old SWX Forum
Replies: 3
Views: 1255

Re: Archive of the old SWX Forum

Thanks for your help and the links
by Hansjoerg
Fri Mar 31, 2023 5:57 am
Forum: SolidWorks FAQ
Topic: Archive of the old SWX Forum
Replies: 3
Views: 1255

Archive of the old SWX Forum

I am looking for a post in which someone has shown a possibility. How to still search for posts in the old forum. I have exactly the same task as in this post: https://forum.solidworks.com/thread/209873 Unfortunately after the transfer to the Experience platform the links are not correct anymore. Wh...
by Hansjoerg
Mon Mar 20, 2023 9:34 am
Forum: SolidWorks PDM
Topic: refresh cache during login does nothing
Replies: 9
Views: 1601

Re: refresh cache during login does nothing

I also put the templates and toolbox in PDM and refresh the cache when I log in. I've only had trouble with the update not working reliably on one client. But the problem was probably because that client had WIN 11 installed. When do you start the PDM on the clients? I put the PDM in the autostart f...
by Hansjoerg
Fri Mar 10, 2023 8:12 am
Forum: API
Topic: method: Convert to body
Replies: 3
Views: 521

Re: method: Convert to body

grumph <()>

still thanks for the SPR Nummber
by Hansjoerg
Fri Mar 10, 2023 2:34 am
Forum: API
Topic: method: Convert to body
Replies: 3
Views: 521

method: Convert to body

Does anyone know if there is a method in the API for the Convert to Body function?
I have recorded the steps, but it looks like the function is not logged.
2023-03-10 08_27_58-Window.png
by Hansjoerg
Tue Mar 07, 2023 2:12 pm
Forum: SW General
Topic: How to mark models with artikelnumber
Replies: 8
Views: 631

Re: How to mark models with artikelnumber

@ JSculley .....so I'm whipping up a test add-in that uses a macro feature.... Interesting, just starting to look into macro feature. @ Frederick Law If I display the label already on the part, I can check in the assembly if the number is also readable, or hidden by other parts. With small assemblie...
by Hansjoerg
Tue Mar 07, 2023 2:47 am
Forum: SW General
Topic: How to mark models with artikelnumber
Replies: 8
Views: 631

Re: How to mark models with artikelnumber

I have tried different methods for marking. 2023-03-07 08_44_41-SOLIDWORKS 2021 SP5.1 - [Part_with_labels.SLDPRT].png I'll attach my trial part to the post. @Jason I have never worked with decals before. How do you create the decals? Also, with the decals, can I grab the label from the custom proper...
by Hansjoerg
Fri Mar 03, 2023 1:19 pm
Forum: SW General
Topic: How to mark models with artikelnumber
Replies: 8
Views: 631

How to mark models with artikelnumber

What method do you use to label parts with the part number / artikelnumber? I have considered and tried the following methods. 1. text as cut out 2. text as separated surface /split line 3. text as sketch 4. text as planar surface Each of the possibilities has advantages and disadvantages: 1. cut ou...
by Hansjoerg
Thu Mar 02, 2023 11:29 am
Forum: SW General
Topic: How to rebuild corrupt BOM tables
Replies: 16
Views: 1338

Re: How to rebuild corrupt BOM tables

I am also on SWX 2019 SP 5. And i have no problems with the BOM
by Hansjoerg
Thu Mar 02, 2023 4:33 am
Forum: SW General
Topic: How to rebuild corrupt BOM tables
Replies: 16
Views: 1338

Re: How to rebuild corrupt BOM tables

Check this Setting:

Dokument Settings -> Table -> BOM
2023-03-02 10_30_54-Window.png
by Hansjoerg
Wed Mar 01, 2023 11:42 am
Forum: API
Topic: Macro with multiple subs without references.
Replies: 2
Views: 477

Macro with multiple subs without references.

Again something learned. o[ I just finished a new macro, where I worked for the first time with multiple subs to structure the code a bit. One of the additional subs has no reference The macro worked without problems in the editor. If the mouse pointer did not point to the sub main, I had to select ...
by Hansjoerg
Wed Feb 22, 2023 11:28 am
Forum: SW General
Topic: Toby's Tips and Tricks 2023! (Livestream Feb 28)
Replies: 7
Views: 443

Re: Toby's Tips and Tricks 2023! (Livestream Feb 28)

TooTallToby wrote: Wed Feb 22, 2023 7:49 am.... Feb 28th at 10 AM ....
in which time zone?
by Hansjoerg
Wed Feb 22, 2023 2:57 am
Forum: SolidWorks FAQ
Topic: Distribute settings to clients, update/customize settings on clients.
Replies: 4
Views: 3482

Distribute settings to clients, update/customize settings on clients.

Hello all, How do you distribute the Solidworks settings to the clients in your company and make sure that everyone is using the correct settings? Some of the active here support installations with around 100 licenses? I can't imagine that the admin here goes from client to client and makes the user...
by Hansjoerg
Thu Feb 16, 2023 5:27 am
Forum: SolidWorks PDM
Topic: Save model as PNG graphic by PDM Task
Replies: 0
Views: 758

Save model as PNG graphic by PDM Task

Is there a way to save a model in PNG graphic format with a PDM task?

In the selection for the formats no *.PNG format is listed. Does/can this be changed in the advanced scripting options...? to be changed?
by Hansjoerg
Sun Feb 12, 2023 4:38 pm
Forum: SW General
Topic: SWYMP Status
Replies: 28
Views: 2273

Re: SWYMP Status

JSculley wrote: Sat Feb 11, 2023 1:31 pm {"success":false,"errorId":"frontal_1.1676140165862","errorMessage":"Internal Error"}
for me too
by Hansjoerg
Mon Feb 06, 2023 3:13 pm
Forum: SW General
Topic: Bend lines in assemblies.
Replies: 8
Views: 638

Re: Bend lines in assemblies.

So it's SOP to have separate template for sheet metal parts? I have it in my templates as a default setting. It doesn't bother me because I rarely work with configurations. I think it is easier to delete the link between display status and configuration and to delete the additionally created displa...
by Hansjoerg
Mon Feb 06, 2023 10:49 am
Forum: SW General
Topic: Bend lines in assemblies.
Replies: 8
Views: 638

Re: Bend lines in assemblies.

That´s the problem.
For sheet metal parts you must link the display state to the configuration.
by Hansjoerg
Sat Feb 04, 2023 4:49 am
Forum: SW General
Topic: Bend lines in assemblies.
Replies: 8
Views: 638

Re: Bend lines in assemblies.

I also had this problem after updating to SWX 2019.

Is the display status in your template linked to the configuration?
See also SPR 754516

I made the necessary setting in my part template, after that it works fine for me.
by Hansjoerg
Tue Jan 31, 2023 5:20 pm
Forum: API
Topic: Detect sheet metal part
Replies: 2
Views: 624

Re: Detect sheet metal part

Great!

Works even if the sheet metal part contains no bends at all

Thanks for this tip
by Hansjoerg
Tue Jan 31, 2023 11:08 am
Forum: API
Topic: Detect sheet metal part
Replies: 2
Views: 624

Detect sheet metal part

I am looking for a way to query if a part contains a sheet metal feature.

For weldments there is a command isWeldment which allows to easily query if the feater tree contains a weldment feature without traversing the structure.

Is there something like this for sheet metal features?
by Hansjoerg
Tue Jan 31, 2023 5:21 am
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1475

Re: Missing enumartion for equation

In case anyone can help, I'll post my solution and a demo file here. I have tested the workaround with SWX 2021 SP5.1. It is important to adjust the string for "equation" to the respective language setting of the menus. 2023-01-31 11_18_59-Microsoft Visual Basic for Applications - AddCutli...
by Hansjoerg
Thu Jan 12, 2023 7:27 am
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1475

Re: Missing enumartion for equation

I have found a solution! If you use the oldest version "Add" instead of the newest method "Add3" it works! The difference is due to the different declaration of the variables for fieldtype. With "Add3" it is in VBA a variable of the type "Long" or selectable o...
by Hansjoerg
Thu Jan 05, 2023 5:11 am
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1475

Re: Missing enumartion for equation

gupta9665 wrote: Sat Dec 31, 2022 1:04 am Well it's reported under SPR #1197201. Kindly vote for it.
Done!
Thanks to all for support!