Search found 263 matches

by josh
Tue Nov 22, 2022 10:05 am
Forum: SW General
Topic: Spiral hole gauge (improve my design challenge)
Replies: 6
Views: 525

Re: Spiral hole gauge (improve my design challenge)

image.png You can vary the pitch increment of your spiral by defining its radius (or some portion thereof) as the opposite side of an angle. Then vary the angle in the pattern. In the pic below, my radius is defined as the opposite side of a 45 degree right triangle whose adjacent leg is 30mm. I’m ...
by josh
Mon Nov 14, 2022 4:23 pm
Forum: SW General
Topic: Why does SolidWorks create flat patterns for sheet metal parts without bends?
Replies: 11
Views: 1682

Re: Why does SolidWorks create flat patterns for sheet metal parts without bends?

I don't know about the OP but we cut many sheet metal parts on a laser, so we need to export the dxf. We've always exported the dxf from the model, not drawing. We also use CNC wood routers that use a dxf. To model those parts we use sheet metal environment and obviously those parts do not have ben...
by josh
Fri Nov 11, 2022 9:21 am
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

Are you guys "Authors"?

I tried to look it up on the "Members" page, but it looks like it will only load about 25 people.
image.png
If anyone goes to look at it again... I just set it to "Nobody". Hopefully that works.
by josh
Fri Nov 11, 2022 9:18 am
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

@dave.laban here's what I can see for you:
image.png
by josh
Fri Nov 11, 2022 8:56 am
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

Interesting... Looks like Dave can see more than Alex can? What a garbage platform that privacy settings don't even work. Unless I don't understand what "Company only" means. Actually, now that I think of it, the swamp was originally intended to be a collaborative workspace or something, r...
by josh
Fri Nov 11, 2022 8:45 am
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

Nope... Looks like he edited my first reply to remove the part about asking incomplete questions. In a DM he was like "we don't want to devolve into a reddit type flame war" or something like that. He also said that my company name is publicly visible. Not that it's so terrible, but based ...
by josh
Thu Nov 10, 2022 5:39 pm
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

I dunno why, but this one really grated my cheese.
image.png
by josh
Thu Nov 10, 2022 11:55 am
Forum: How To Questions
Topic: How to make an assembly flexible by default?
Replies: 23
Views: 2602

Re: How to make an assembly flexible by default?

If possible, I would recommend not using flexible subassemblies for this... It sounds like the components you're using as flexible are sort of two halves that move relative to one another. One strategy I have used for this in the past is to actually break these assemblies into two separate parts (or...
by josh
Tue Nov 01, 2022 1:53 pm
Forum: SW General
Topic: Auto Dual Dimension for Metric Holes
Replies: 3
Views: 364

Re: Auto Dual Dimension for Metric Holes

I don't know of a setting to get only hole callouts for metric holes to automatically come in with dual dimensions. I believe it would be possible to write a macro that would check all hole callouts to see if they are attached to holes made using a metric standard and turn on dual dimensions for tho...
by josh
Mon Oct 24, 2022 6:40 pm
Forum: API
Topic: Programmatically Determine if Configuration is From Design Table
Replies: 6
Views: 556

Re: Programmatically Determine if Configuration is From Design Table

Good line of thought... The Dimension object does have an IsDesignTableDimension property. However, it appears to me (after an admittedly quite brief test) that this returns "True" if the dimension is controlled by the DT in any config, whether or not the currently active config is control...
by josh
Mon Oct 24, 2022 4:54 pm
Forum: API
Topic: Programmatically Determine if Configuration is From Design Table
Replies: 6
Views: 556

Re: Programmatically Determine if Configuration is From Design Table

I can't see where that's exposed in the API. It's obviously stored somewhere because the tree shows a different icon for DT controlled configs, but I don't see it anywhere.
by josh
Mon Oct 24, 2022 1:24 pm
Forum: SW General
Topic: CL in Drawings - Holes Only?
Replies: 11
Views: 751

Re: CL in Drawings - Holes Only?

I also agree with Glenn's auto insert settings. However, they are entirely irrelevant to your question since you're asking about centerlines and not Center Marks.

Unfortunately, there's no way to specify that only holes get centerlines.
by josh
Wed Oct 05, 2022 9:34 pm
Forum: How To Questions
Topic: Pack and Go 2023 Duplicate filenames in red?
Replies: 12
Views: 3957

Re: Pack and Go 2023 Duplicate filenames in red?

Because this should never be done, ever. I would be glad PnG is preventing it from even trying to copy the structure until this issue is fixed in the files. Did I mention this should never be done, ever? Of course it shouldn't be done, but I didn't want it to copy the files. I didn't even want it t...
by josh
Fri Sep 30, 2022 2:29 pm
Forum: SW General
Topic: What are your most impressive tricks of Solidworks
Replies: 162
Views: 65974

Re: What are your most impressive tricks of Solidworks

Interesting... How is this different from using convert entity on face and trim it? It's the same, just a little quicker. SW isn't using a different function (offset vs convert). The difference is between selecting a face vs selecting edges and converting them. Somehow that "convert" oper...
by josh
Thu Sep 29, 2022 5:25 pm
Forum: SW General
Topic: Print Packets
Replies: 4
Views: 456

Re: Print Packets

Putting all parts and assemblies into one SW file is terrible. Highly recommend against this. Combining all PDFs in a folder into a single multipage PDF is pretty trivial with the right tool. Irfanview is free and can do this in a few seconds. Doesn't sound like that should be too much work for Prod...
by josh
Thu Sep 22, 2022 4:55 pm
Forum: SW General
Topic: Title block table not updating
Replies: 7
Views: 1218

Re: Title block table not updating

OK, that was the ticket... Thanks for the push to revisit. My issue was using the Equation button to pick the value, although I still don't understand why it doesn't update properly when you do so. I would think either way should be correct every time. Anyway, when you first select a cell, the popup...
by josh
Thu Sep 22, 2022 4:30 pm
Forum: SW General
Topic: Title block table not updating
Replies: 7
Views: 1218

Re: Title block table not updating

Thanks for checking it... I tried both with a macro that we usually use and through the custom properties dialog. Either way the table never updated until I double-clicked the cell. I wonder... How did you add the links? Did you use the Equation button and pick properties from the dropdown, or did y...
by josh
Thu Sep 22, 2022 3:49 pm
Forum: SW General
Topic: Title block table not updating
Replies: 7
Views: 1218

Re: Title block table not updating

Thanks, but...
image.png
image.png (10.09 KiB) Viewed 1133 times
Does nobody else use these things? I'm not necessarily looking for a diagnosis yet. Even a "They work just fine for me" would be a start. Or, if they don't update for anyone else, it's SR time.
by josh
Wed Sep 21, 2022 2:03 pm
Forum: SW General
Topic: Title block table not updating
Replies: 7
Views: 1218

Title block table not updating

Hey folks, we're trying to get into the whole MBD scene here. One thing we're trying is inserting a Title Block Table (Insert->Tables->Title block table) into the Notes Area of parts (not drawings). I've created a title block table that links to the custom properties of the part. The link works fine...
by josh
Sun Sep 18, 2022 6:35 pm
Forum: API
Topic: BOM Sorting Issue
Replies: 7
Views: 1382

Re: BOM Sorting Issue

Have you tried doing a manual sort through the UI using he exact same parameters? How is it inconsistent? Does the same BOM sort the same every time, just not as you expect? Or does the same BOM sort differently if you run it twice? You've specified literal sort order. This will cause 10, 11, 12, et...
by josh
Wed Sep 14, 2022 2:26 pm
Forum: How To Questions
Topic: How to Enter Dimension Value Automatically When Creating Sketch Dimensions?
Replies: 4
Views: 690

Re: How to Enter Dimension Value Automatically When Creating Sketch Dimensions?

The setting Glenn Schroeder mentioned enables the functionality where a dimension and numeric input box pops up during sketch entity creation. , allowing you to immediately specify both the length and value of a dimension driving that length. image.png The setting I mentioned enables you to enter a ...
by josh
Wed Sep 14, 2022 8:48 am
Forum: API
Topic: Get doc active configuration no matter what is loaded
Replies: 1
Views: 381

Re: Get doc active configuration no matter what is loaded

To read the file on disk you can use the Document Manager API to get a swDMdocument, get its ConfigurationManager, and use GetActiveConfigurationName.
by josh
Tue Sep 13, 2022 11:23 am
Forum: Macro Library
Topic: Multiple (2 or More!) monitor support
Replies: 9
Views: 2058

Re: Multiple (2 or More!) monitor support

Here's an updated version. Changes: It supports differently-sized or aligned monitors in the vertical direction, or any portion of the SW window off the viewable area. If some of the SW window is off the viewable area of the target monitor, the macro will compensate for that and not re-size the docu...
by josh
Sun Sep 11, 2022 9:25 pm
Forum: API
Topic: Doesn't work: GetAmbientLightProperties or SetAmbientLightProperties
Replies: 6
Views: 582

Re: Doesn't work: GetAmbientLightProperties or SetAmbientLightProperties

The Name is an input to the function. You have 7 light sources in your model. You have to specify the name of the light source you want. You will need to run GetAmbientLightProperties 7 times, each time with "Name" having the value of one of the names you retrieved using GetLightSourceName.
by josh
Sat Sep 10, 2022 7:00 pm
Forum: API
Topic: Doesn't work: GetAmbientLightProperties or SetAmbientLightProperties
Replies: 6
Views: 582

Re: Doesn't work: GetAmbientLightProperties or SetAmbientLightProperties

What are you expecting to get from the function? It returns true or false. Do you understand what ByRef means? You have to pass variables into the function to receive all the values.
by josh
Fri Sep 09, 2022 11:49 am
Forum: API
Topic: VBA True or Not False
Replies: 4
Views: 716

Re: VBA True or Not False

Please see this article in SW help. Short summary:
Do not use logical operators with returns of these functions. Always compare returned value to False.

https://help.solidworks.com/2019/englis ... _types.htm
by josh
Fri Sep 02, 2022 8:25 am
Forum: SW General
Topic: Selecting components instead of faces
Replies: 21
Views: 3363

Re: Selecting components instead of faces

SolidKeke wrote: Fri Sep 02, 2022 1:38 am Congrats, you were the only one to read the original post with brain mode not turned off 8-)
Did you read my post? It achieves the breadcrumb method, but with one keystroke instead of a keystroke plus a click.
by josh
Thu Sep 01, 2022 3:20 pm
Forum: SW General
Topic: Script Error
Replies: 3
Views: 510

Re: Script Error

//alert( "Error obtaining SwHtmlControl interface. 'swHTMLControl.dll' must be registered. SPR 162520 will get this registered for everyone, or see JPS.");
by josh
Thu Sep 01, 2022 9:34 am
Forum: SW General
Topic: Selecting components instead of faces
Replies: 21
Views: 3363

Re: Selecting components instead of faces

Map this macro to a shortcut key. After you select a face or edge etc, hit the key. It will un-select the face/edge/etc and select the component instead. It only acts on the most recent selection, any previous selections are unaffected. Depending on your workflow, you may be needing to select the to...
by josh
Thu Sep 01, 2022 8:58 am
Forum: SW General
Topic: SWX 2023 -- Whats New
Replies: 22
Views: 2549

Re: SWX 2023 -- Whats New

image.png Pretty sure this is going to be a game changer for us. We build assembly machines, and often need to show the workpiece in position with phantom line font, but show what's behind it as object lines as though the component wasn't there. This usually requires an alternate position view, whi...
by josh
Wed Aug 31, 2022 8:27 pm
Forum: How To Questions
Topic: Map "Show with dependents" to hotkey
Replies: 5
Views: 686

Re: Map "Show with dependents" to hotkey

Looking at the code again, one of the additional complications that the macro does is automatically select the top level assembly if nothing is already selected.
by josh
Wed Aug 31, 2022 5:19 pm
Forum: How To Questions
Topic: Map "Show with dependents" to hotkey
Replies: 5
Views: 686

Re: Map "Show with dependents" to hotkey

The simplest is actually to right-click and hit "W". You do have to click to select it after all. Might as well right-click instead of left. All of the items in the right-click menu have a letter you can use to activate them. You can see that letter by going all the way to the bottom of th...
by josh
Thu Aug 25, 2022 10:09 am
Forum: API
Topic: How to getting access to and use features in other AddIns
Replies: 5
Views: 608

Re: How to getting access to and use features in other AddIns

You have to ask SigmaTube.
by josh
Tue Aug 23, 2022 1:38 pm
Forum: How To Questions
Topic: Pack and Go 2023 Duplicate filenames in red?
Replies: 12
Views: 3957

Re: Pack and Go 2023 Duplicate filenames in red?

Pack and Go is bugged - 2022 is the same. If you have an assembly that references more than one file with the same name (for example, Screw.sldprt that's stored in multiple different locations), PnG will never allow you to proceed. Even if these files are de-selected for copying. Even if these same-...
by josh
Mon Aug 22, 2022 8:25 pm
Forum: SW General
Topic: Modelling negative space between components?
Replies: 40
Views: 2999

Re: Modelling negative space between components?

Wow... Is Frederick the only person here who realizes that so much time is being spent analyzing the trees that the forest is being completely missed? The ONLY thing that matters for bouyancy force is the external volume. That means the volume of whater that runs out on the ground when you force the...
by josh
Mon Aug 08, 2022 11:36 am
Forum: Macro Library
Topic: Multiple (2 or More!) monitor support
Replies: 9
Views: 2058

Re: Multiple (more than 2) monitor support

Off topic, but I would like to see/hear more about this. I try to keyboard my way around the command managers but I'm not doing very good. For example, in the selection boxes, sometimes pressing delete key will remove the selected object from the list, sometimes I have to right click and delete/rem...
by josh
Mon Aug 08, 2022 10:37 am
Forum: Macro Library
Topic: Multiple (2 or More!) monitor support
Replies: 9
Views: 2058

Re: Multiple (more than 2) monitor support

Just got this configured on my machine and it works just as described. It doesn't seem to re-draw the border when a full-size window is moved left or right, but besides that slight graphical oddity this is likely something I'll use in my modeling. Thanks Josh, you continually provide some cool stuf...
by josh
Mon Aug 08, 2022 9:07 am
Forum: Macro Library
Topic: Multiple (2 or More!) monitor support
Replies: 9
Views: 2058

Multiple (2 or More!) monitor support

Someone on the Swamp was complaining recently about multiple monitor support for SW. Basically (as far as I know) the only real "support" there is for multiple monitors is the "span" button that will spread the main SW application across two monitors and the little left and right...
by josh
Wed Jul 13, 2022 10:15 pm
Forum: SW General
Topic: Why do converted .stp files often have split lines in them?
Replies: 4
Views: 1721

Re: Why do converted .stp files often have split lines in them?

I believe it depends on how the STP file was exported. SolidWorks has export options for STP files to do this. The terminology is "Split periodic faces". A full understanding (beyond what the help file here states) prolly requires a lotta math. https://help.solidworks.com/2016/english/Soli...
by josh
Wed Jul 06, 2022 3:56 pm
Forum: How To Questions
Topic: assembly feature patterns
Replies: 13
Views: 1657

Re: assembly feature patterns

You may have to edit the feature scope to include all components instead of "selected components"
by josh
Mon Jun 06, 2022 11:43 am
Forum: API
Topic: Macros and Visual Studio
Replies: 8
Views: 1396

Re: Macros and Visual Studio

Unfortunately, VSTA seems to be some sort of bastard child. When it first came out, I thought it was gonna be the bees knees, but I ended up having stability problems using it where the same thing in VBA ran just fine. I read of real programmers having issues with it as well - specifically Artem and...
by josh
Fri May 27, 2022 2:26 pm
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

mattpeneguy wrote: Fri May 27, 2022 11:48 am
And it was a joke...Or it was meant to be, maybe it wasn't funny, but I meant it to be and definitely didn't mean any offense.
Of course, appreciated the joke. No offense received. ;)
by josh
Fri May 27, 2022 9:46 am
Forum: Catia and 3DX
Topic: Does anyone actually use 3DExperience in a productive manner?
Replies: 1290
Views: 269592

Re: Does anyone actually use 3DExperience? Still waiting.......

Hopefully the sarcasm is tempered with sufficient useful information to the point where my participation is at least chaotic neutral...
by josh
Wed May 25, 2022 10:16 am
Forum: SW General
Topic: Move/Copy Body oddity
Replies: 25
Views: 3597

Move/Copy Body oddity

Some weirdness today... I downloaded a parasolid model of a vendor part. Imported to .sldprt (none of that 3DInterconnnect crap). I didn't like how it was positioned in space relative to the primary planes, so I selected all the bodies and did a move/copy body feature to reposition, using the "...
by josh
Thu May 19, 2022 5:50 pm
Forum: SW General
Topic: SW2022 SP2 (Maybe SP1?) sometimes not saving Tessellation data in Assemblies
Replies: 4
Views: 536

Re: SW2022 SP2 (Maybe SP1?) sometimes not saving Tessellation data in Assemblies

Nope, nothing screwy like that. A lot of these assemblies are ones I created myself. When you open them in SW nothing appears different or amiss - nothing suppressed or anything. All you have to do to restore the tess data is just open the file, save it, and close it. I thought maybe the tess data w...
by josh
Thu May 19, 2022 1:41 pm
Forum: How To Questions
Topic: Solidworks BOM help needed
Replies: 19
Views: 3011

Re: Solidworks BOM help needed

We typically approach it from the other direction. The BOM is Parts Only (which by default shows every part), but then for bought-in subassemblies that don't' need to show individual components, we set the option that Mike specified above to "Hide".
by josh
Thu May 19, 2022 1:24 pm
Forum: SW General
Topic: SW2022 SP2 (Maybe SP1?) sometimes not saving Tessellation data in Assemblies
Replies: 4
Views: 536

SW2022 SP2 (Maybe SP1?) sometimes not saving Tessellation data in Assemblies

Has anyone here experienced this? We updated a month or two ago and didn't have any issues during the design process. However, those projects are now hitting the assembly floor. Our assembly techs use eDrawings to open the assemblies directly as they do their work, and we've found that quite a few o...
by josh
Sat May 07, 2022 9:34 pm
Forum: API
Topic: How to identify the "parent" of a Centermark?
Replies: 1
Views: 372

Re: How to identify the "parent" of a Centermark?

Meh, I'll post it here too for posterity. Sub main() Dim swApp As SldWorks.SldWorks Dim swDwg As SldWorks.DrawingDoc Dim swAnnot As SldWorks.Annotation Dim swView As SldWorks.View Dim swEnt As SldWorks.Entity Set swApp = Application.SldWorks Set swDwg = swApp.ActiveDoc Set swView = swDwg.GetFirstVie...
by josh
Thu Feb 24, 2022 3:45 pm
Forum: SW General
Topic: Tone-deafness has reached a new high...
Replies: 8
Views: 870

Tone-deafness has reached a new high...

Aseninity level: Legendary!
image.png