Search found 483 matches

by AlexB
Tue Jun 13, 2023 2:02 pm
Forum: SW General
Topic: How is a linetype scale adjusted?
Replies: 7
Views: 1601

Re: How is a linetype scale adjusted?

It's in the Options menu on the Document Properties tab. I'm not sure what the standard units are but I would guess mm.
image.png
Edit: I measured the dimensions of the dashes on a drawing and have no idea how the values correlate to units
by AlexB
Tue Jun 13, 2023 9:16 am
Forum: SW General
Topic: Why do I have to manually update custom properties
Replies: 9
Views: 1024

Re: Why do I have to manually update custom properties

But why? I'm not allowed to keep any other legacy features. I don't have to go to every extrude and say "upgrade to latest version." It's because it makes something behave different that depends on legacy behavior. So, instead of fixing it, they left it up to us to determine if it will me...
by AlexB
Fri Jun 09, 2023 9:08 am
Forum: SolidWorks PDM
Topic: Advice Setting Up Student Use of PDM Standard
Replies: 16
Views: 2719

Re: Advice Setting Up Student Use of PDM Standard

Anyone try installing PDM Standard Server on a non-server Windows OS? Makes it easier if it can be on a PC because it could just be installed on the instructor's PC instead of having a dedicated PC. I've had a test vault installed on a Windows 10 PC for a long time now. It's using a development lic...
by AlexB
Tue Jun 06, 2023 4:12 pm
Forum: API
Topic: PDM API getvar on CardInput gets the previous value
Replies: 2
Views: 781

Re: PDM API getvar on CardInput gets the previous value

I have a similar one for a folder card using the IEdmEnumeratorVariable5.GetVar method. SPR 1111411 Desc: GetVar Method (IEdmEnumeratorVariable5) for folder returns values from deleted folder while actually value is empty My specific issue was that if a folder of the same name existed in the 'recycl...
by AlexB
Tue May 30, 2023 4:10 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM add-in task text box
Replies: 7
Views: 1294

Re: PDM add-in task text box

MMartens wrote: Tue May 30, 2023 3:07 pm That's what I initially thought but it doesn't work.
Okay, I played around with a task add-in and can replicate your issue. I even tried to intercept and cancel the keypress event and was not able to get it to do what you're looking for. Sorry :|
by AlexB
Tue May 30, 2023 2:31 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM add-in task text box
Replies: 7
Views: 1294

Re: PDM add-in task text box

I believe there is a property for TextBox controls called AcceptsReturn that you can set to allow it to create a new line when enter is pressed.

I believe this line should get you what you need.

Code: Select all

myTextBox.AcceptsReturn = true;
by AlexB
Tue May 30, 2023 2:20 pm
Forum: SW General
Topic: Export Solidworks model views to dxf file layers instead of sheets
Replies: 13
Views: 2280

Re: Export Solidworks model views to dxf file layers instead of sheets

How? Every time I tried to change a component to a different layer, it changed it for every single view. I even toggling layer for a specific view didn't do anything, just changed the active layer. If you edit the component line font for the item shown in the view, you can select the layer and chec...
by AlexB
Thu May 25, 2023 10:40 am
Forum: SolidWorks PDM
Topic: Advice Setting Up Student Use of PDM Standard
Replies: 16
Views: 2719

Re: Advice Setting Up Student Use of PDM Standard

I just remembered this thread. Will something like this help? I'm not sure if it will work on a google drive but it's worth a shot
viewtopic.php?p=27453#p27453
by AlexB
Thu May 25, 2023 10:31 am
Forum: SolidWorks PDM
Topic: Advice Setting Up Student Use of PDM Standard
Replies: 16
Views: 2719

Re: Advice Setting Up Student Use of PDM Standard

Unfortunately, the problem is that we are completely off the school network. For one, the school network has very restrictive access. The students can save their practice SWX files, but cannot even save their menu preferences. That is unfortunate. It sounds like the Solidworks PDM Standard will not...
by AlexB
Thu May 25, 2023 7:34 am
Forum: SolidWorks PDM
Topic: Advice Setting Up Student Use of PDM Standard
Replies: 16
Views: 2719

Re: Advice Setting Up Student Use of PDM Standard

PDM requires a central server for file storage and running of the archive and database server processes. This could be as simple as a PC sitting in the corner of your classroom that's always on and only your computers can access. Is that something that's possible? If they will be using their persona...
by AlexB
Mon May 22, 2023 12:01 pm
Forum: SolidWorks PDM
Topic: Conversion tasks
Replies: 13
Views: 2188

Re: Conversion tasks

Some of you said about Task-host machine that could run the tasks, but doesn't that require are a new license? My employer is too cheap for that kind of luxury. This has been in my mind for a long time but I have been very sure that it needs extra license to do that. If you're on a network license ...
by AlexB
Thu May 18, 2023 8:30 am
Forum: SW General
Topic: Performance Test Macro?
Replies: 9
Views: 1379

Re: Performance Test Macro?

I have had very little luck using "record macro." It records some things, but misses the majority of operations. Recording a macro almost always results in unusable code that doesn't capture most of what the user is doing. It gives insight to some operations, but 99% of cases require some...
by AlexB
Thu May 18, 2023 8:28 am
Forum: SolidWorks PDM
Topic: Conversion tasks
Replies: 13
Views: 2188

Re: Conversion tasks

I was going to say the same thing as @AlexLachance that it would take a customized API task add-in to accomplish this all in one go. Another option, which we utilize at my company, is to have a dedicated task computer that all of those time consuming conversions are offloaded to. This way, our engin...
by AlexB
Wed May 17, 2023 1:11 pm
Forum: SW General
Topic: Performance Test Macro?
Replies: 9
Views: 1379

Re: Performance Test Macro?

There's built in performance testing in Solidworks Rx on the benchmark tab that does exactly this.
image.png
by AlexB
Mon May 15, 2023 2:59 pm
Forum: SW General
Topic: Customer Portal Being Removed
Replies: 170
Views: 23735

Re: Customer Portal Being Removed

Per a post from April on the Help forum for the support app, the ability to view/manage licenses will not be available until sometime in May. Tick.....tock.... Thanks, I'm starting to dig through some of those posts to glean information on the plans for transferring everything over. It's really coo...
by AlexB
Mon May 15, 2023 11:54 am
Forum: SW General
Topic: Customer Portal Being Removed
Replies: 170
Views: 23735

Re: Customer Portal Being Removed

I tried accessing this again today to check something and I can't access the customer portal via solidworks.com or the Admin portal via my.solidworks.com It keeps saying I don't have an account with Solidworks and fails on the login screen, but I do have an account and it works on other login screen...
by AlexB
Wed May 03, 2023 1:43 pm
Forum: API
Topic: PDM Suddenly Won't Load Add-In
Replies: 2
Views: 1056

Re: PDM Suddenly Won't Load Add-In

Can you wrap the code in your GetAddInInfo function with a Try Catch block? This can happen if there's an unhandled exception within that function since it's called when an add-in is loaded. For example, I forced an error by converting a string to an int that was definitely too big for an int type. ...
by AlexB
Thu Apr 27, 2023 10:51 am
Forum: API
Topic: iedmFile.UnlockFile says non-current user has file checked out?
Replies: 4
Views: 1352

Re: iedmFile.UnlockFile says non-current user has file checked out?

I agree with @JSculley

If we can see your code, it'll help us help you. I've had PDM return errors that have nothing to do with the actual problem before so the only real way to verify if there's an access error on check-in is via the warnings on the batch check-in dialog he mentions.
by AlexB
Wed Apr 26, 2023 8:18 am
Forum: API
Topic: SOLIDWORKS PDM API to get referenced files
Replies: 2
Views: 1715

Re: SOLIDWORKS PDM API to get referenced files

You'll want to look at the following example to get the "Contains" files for a PDM file.

https://help.solidworks.com/2022/englis ... _VBNET.htm
by AlexB
Wed Apr 12, 2023 9:40 am
Forum: SolidWorks PDM
Topic: Conditional Notifications Missing
Replies: 8
Views: 1437

Re: Conditional Notifications Missing

I wish I could test it on a 2019 vault for you but I don't have anything older than 2020 at the moment. The option appears to be there for my installations of those.
by AlexB
Wed Apr 12, 2023 6:47 am
Forum: SW General
Topic: 'Old' Customer Portal Issues Today
Replies: 38
Views: 4117

Re: 'Old' Customer Portal Issues Today

SPerman wrote: Tue Apr 11, 2023 4:39 pm I find it here, but I'm not sure that is the "new" home.

https://www.solidworks.com/sw/support/downloads.htm
This is fun, apparently nothing can work right the first time. Got it on the 2nd try though, thanks!
image.png
by AlexB
Tue Apr 11, 2023 3:38 pm
Forum: SW General
Topic: 'Old' Customer Portal Issues Today
Replies: 38
Views: 4117

Re: 'Old' Customer Portal Issues Today

Trying to find where the downloads moved to...
image.png
Seems like the right spot, but no SPs listed. Maybe the "Find Media" search will work?
image.png
Voila! Works just as expected! I just needed to pick an option from the blank list of options!
by AlexB
Fri Mar 24, 2023 8:32 am
Forum: SolidWorks PDM
Topic: Asking for Recommendations for Starting PDM
Replies: 14
Views: 2726

Re: Asking for Recommendations for Starting PDM

Most of what our VAR set up went right in the trash shortly after they were gone. You simply cannot explain your processes and future needs to them in the time available. I requested the Admin Guide after we purchased PDM but before we implemented it. I read it cover to cover before they showed up ...
by AlexB
Thu Mar 23, 2023 10:58 am
Forum: SolidWorks PDM
Topic: Asking for Recommendations for Starting PDM
Replies: 14
Views: 2726

Re: Asking for Recommendations for Starting PDM

1. The migration can be as simple or as complex as you decide to make it. It's sounding like you don't have any SW files right now so would you essentially be re-modeling everything in Solidworks and saving that into PDM fresh? If that's the case, then you won't have to worry about a file migration ...
by AlexB
Mon Mar 20, 2023 11:43 am
Forum: SolidWorks PDM
Topic: PDM Dashboard
Replies: 2
Views: 925

Re: PDM Dashboard

I'm actually in the early stages of developing something like this myself for our internal processes. I'd be curious to see this post you mention as well if someone else knows where it is. My approach right now is to build a PDM add-in that will launch the tool from the "Tools" drop-down m...
by AlexB
Wed Mar 15, 2023 11:12 am
Forum: SolidWorks PDM
Topic: Deleting Users
Replies: 10
Views: 2383

Re: Deleting Users

The only issue, or quirk really, that we get is via the PDM add-in with the Get Version dialog. It will stop showing who the user was that checked it in if they're deleted. However, the file's history shows everything correctly. image.png image.png Users are still stored in the PDM database, but are...
by AlexB
Thu Mar 09, 2023 9:59 am
Forum: SW General
Topic: Macro to change Decimal Length
Replies: 12
Views: 2250

Re: Macro to change Decimal Length

SPerman wrote: Thu Mar 09, 2023 8:55 am Is it possible this setting is somehow conflicting with the Units setting?
In my short testing, one appears to control the display dimension precision and the other controls the decimal places of the dimension in other places in the UI like the Edit Dimension window.
by AlexB
Thu Mar 09, 2023 8:15 am
Forum: SW General
Topic: Macro to change Decimal Length
Replies: 12
Views: 2250

Re: Macro to change Decimal Length

1. As you mentioned, this is a document template setting so every new part should match your template. I've never seen this change as I'm working on something without me explicitly accessing the menu and changing it. 2. Yes, it's possible. The code below should set it to 2 for your active document. ...
by AlexB
Wed Mar 08, 2023 9:49 am
Forum: API
Topic: xCAD.NET and Visual Studio
Replies: 2
Views: 791

Re: xCAD.NET and Visual Studio

I'm not sure about VB.NET, but when I develop add-ins I use c# in the latest release of Visual Studio. I have no issues with VS2022 and add-in development with c#. I imagine that the same can be done with VB.NET. As for macros saving in the .vbproj extension, I believe that this help page covers why...
by AlexB
Tue Mar 07, 2023 8:52 am
Forum: Job Listings
Topic: Current Hourly Rate of Freelance CAD Drafters?
Replies: 27
Views: 12871

Re: Current Hourly Rate of Freelance CAD Drafters?

I do more freelance programming for PDM and Solidworks so my point of reference is a bit different, especially when I work on the order of weeks for custom projects. With that said, I agree with Glenn.
by AlexB
Thu Mar 02, 2023 10:39 am
Forum: CAD Admin (Install, PDM, etc)
Topic: Recording revision history
Replies: 7
Views: 1932

Re: Recording revision history

How do ECOs work in Solidworks PDM? In Teamcenter, Engineering Orders are their own item types that contain revisions. So EO000014 has a revision called EO000014/A. This method seems odd; I'm not sure why you would want to make a revision of an EO....??? image.png The reason I ask is because the re...
by AlexB
Thu Mar 02, 2023 8:16 am
Forum: CAD Admin (Install, PDM, etc)
Topic: Recording revision history
Replies: 7
Views: 1932

Re: Recording revision history

mike miller wrote: Thu Mar 02, 2023 7:55 am @AlexB do you require use of an ECO for every revision?
Yes we do
by AlexB
Wed Mar 01, 2023 9:40 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: Recording revision history
Replies: 7
Views: 1932

Re: Recording revision history

In our case, we use PDM so there is some history there for all part versions. For a quick look, we also have a PDF archive of all released drawings that we can quickly look through. Changes are officially documented in the ECO referenced on the drawing revision table. Those are also all kept as reco...
by AlexB
Wed Mar 01, 2023 4:42 pm
Forum: SW General
Topic: Exploded Assemblies
Replies: 5
Views: 479

Re: Exploded Assemblies

I looked in the KB and there are a few different entries regarding exploded views showing when they shouldn't. I couldn't reproduce any though. I tried to open my sub-assembly that uses and exploded view from 2021 SP5 and 2022 SP5 and all opened in the collapsed state. I can only imagine that the of...
by AlexB
Wed Mar 01, 2023 4:16 pm
Forum: API
Topic: Macro with multiple subs without references.
Replies: 2
Views: 692

Re: Macro with multiple subs without references.

Like you already mentioned, my go to method is to just make everything but the "main" a function that returns a boolean or something. If I use the value at all, I'd use that to tell me if the function completed with or without error.
by AlexB
Fri Feb 24, 2023 10:13 am
Forum: How To Questions
Topic: Reverse alphabetical order of detail views
Replies: 15
Views: 1881

Re: Reverse alphabetical order of detail views

You can likely accomplish this with a macro after the drawing is finished to re-name your view letters in reverse order. Otherwise, I don't believe it's possible
by AlexB
Thu Feb 23, 2023 2:22 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: Conversion Task Alternatives
Replies: 25
Views: 4769

Re: Conversion Task Alternatives

revenki wrote: Thu Feb 23, 2023 1:53 pm AlexB: I'll give that a try in the meantime, and see if that helps with the prior problem. That actually has been stable for a while.
An alternative may be BlueByte Systems - Convert Task Extended

He's posted a bunch of videos showing capabilities on their Linkedin page.
by AlexB
Thu Feb 23, 2023 8:31 am
Forum: CAD Admin (Install, PDM, etc)
Topic: Conversion Task Alternatives
Replies: 25
Views: 4769

Re: Conversion Task Alternatives

Resurrecting this thread... I really, really want an alternative to the convert-drawing-to-pdf task. Whether it's third party, or someone has a print -drawing-to-pdf mod that they'd be willing to share. I'm sick of the "task failed" emails coming to me on about a third of the conversion t...
by AlexB
Wed Feb 22, 2023 8:26 am
Forum: SolidWorks FAQ
Topic: Distribute settings to clients, update/customize settings on clients.
Replies: 4
Views: 4150

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

I've tried to use the settings administrator with limited success in most cases. It seems the settings I save aren't always the settings it provides to users, but I digress. I usually initially set the user settings during the Admin image install process by running a batch file after the installatio...
by AlexB
Tue Feb 21, 2023 5:03 pm
Forum: Macro Library
Topic: Need HELP for Macro to add new custom property with ConfigName!
Replies: 5
Views: 1378

Re: Need HELP for Macro to add new custom property with ConfigName!

This should work now. I shouldn't have used "Const" for the settings it seems. Option Explicit Sub main() Dim NAME_OF_CFG As String Dim NAME_OF_PROPERTY_TO_ADD As String Dim VALUE_OF_PROPERTY_TO_ADD As String NAME_OF_CFG = "" NAME_OF_PROPERTY_TO_ADD = "NEWPROP3" VALUE_O...
by AlexB
Tue Feb 21, 2023 9:19 am
Forum: Macro Library
Topic: Need HELP for Macro to add new custom property with ConfigName!
Replies: 5
Views: 1378

Re: Need HELP for Macro to add new custom property with ConfigName!

I'm not sure why you need it to work this way, but is this what you're looking for? - Add property to link to configuration name - Read property to get property name that it's evaluated to - Rewrite property value to hard-coded configuration name Option Explicit Sub main() Const NAME_OF_CFG As Strin...
by AlexB
Thu Feb 16, 2023 4:45 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: WIP for every part?
Replies: 8
Views: 1555

Re: WIP for every part?

That seems like a workaround to how PDM is intended to work... and we use PDM. It's there to lock down files so people cannot change them. If clerical corrections or other modifications that don't impact the "geometry" of the part are needed then that can be done on the issued versions of ...
by AlexB
Thu Feb 16, 2023 9:38 am
Forum: API
Topic: Using Document Manager API from Excel
Replies: 14
Views: 2844

Re: Using Document Manager API from Excel

gerard wrote: Thu Feb 16, 2023 8:47 am

Could this be a 32 bit vs 64 bit thing? Unfortunately we are running the 32 bit version of Excel 2016.
This is almost certainly the issue. It's a similar error I get when I forget to un-check "Prefer 32-bit" when I use Document Manager in Visual Studio.
by AlexB
Thu Feb 16, 2023 7:54 am
Forum: How To Questions
Topic: Open Drawing Only Opens Folder
Replies: 13
Views: 2652

Re: Open Drawing Only Opens Folder

Do the part and the drawing have exactly the same file name? If not, the right-click -> open drawing will not work right and will make you browse for your drawing.

Edit: I think they need to be in the same folder as well but am too lazy to verify.
by AlexB
Wed Feb 15, 2023 9:52 am
Forum: SW General
Topic: Open GL mode solves my graphics issue.. now what?
Replies: 35
Views: 5452

Re: Open GL mode solves my graphics issue.. now what?

My graphics problems are much better. Thanks for all of your help. I can't say which of these solved the problem: Install latest drivers Install SW patch Turn on full scene AA (I think this is probably what did the trick.) Reboot. Full scene anti-aliasing is a game changer, so that is probably the ...
by AlexB
Wed Feb 15, 2023 7:52 am
Forum: API
Topic: DeleteScene Method (IModelDocExtension)
Replies: 3
Views: 672

Re: DeleteScene Method (IModelDocExtension)

It works for me when I run my code, but I had to test a few things to make sure I knew what was going on.

You can delete a scene, however there needs to be a scene applied to the part so SW re-applies the default theme. This is why it doesn't appear that the scene is deleted from the feature tree.
by AlexB
Tue Feb 14, 2023 4:49 pm
Forum: SW General
Topic: Open GL mode solves my graphics issue.. now what?
Replies: 35
Views: 5452

Re: Open GL mode solves my graphics issue.. now what?

There's also this blurb at their link. Try to install the patch and see if that helps.
(The A4000 launched mid 2021 so I think this probably will help)

https://www.solidworks.com/support/hard ... ification/
image.png
by AlexB
Tue Feb 14, 2023 4:40 pm
Forum: SW General
Topic: Open GL mode solves my graphics issue.. now what?
Replies: 35
Views: 5452

Re: Open GL mode solves my graphics issue.. now what?

What does it mean if that option is greyed out? That's odd, I don't know why that would be grayed out unless a setting in your NVIDIA Control Panel is locking it out. For reference though, bolts and other items with interference or line-to-line fit won't show edges at the intersection. image.png
by AlexB
Tue Feb 14, 2023 4:15 pm
Forum: SW General
Topic: Open GL mode solves my graphics issue.. now what?
Replies: 35
Views: 5452

Re: Open GL mode solves my graphics issue.. now what?

What graphics card and graphics driver are you using? Looking up your specs, it looks like you should have R515 for your A4000 card in your Dell 3660. Can you verify? Edit: Also, check to make sure you have Full scene anti-aliasing enabled in [System Options] -> [Display] -> [anti-aliasing]. This wi...
by AlexB
Wed Feb 08, 2023 9:51 am
Forum: SW General
Topic: Surface Cut Direction Change
Replies: 5
Views: 985

Re: Surface Cut Direction Change

Alternatively, you could use the Split command with the "consume cut bodies" option or delete the bodies you don't want after the split with "Delete/Keep Bodies" when it's completed. This doesn't rely on surface direction and still performs the same way.