Search found 253 matches

by josh
Thu Mar 16, 2023 1:23 pm
Forum: SW General
Topic: Interesting (?) behavior of design tables
Replies: 3
Views: 442

Re: Interesting (?) behavior of design tables

Format the cells. Change to "general".
by josh
Thu Mar 09, 2023 1:19 pm
Forum: SW General
Topic: Have anyone successful get power in charge to decide to leave SW ?
Replies: 203
Views: 86317

Re: Have anyone successful get power in charge to decide to leave SW ?

Okay everyone thinks .. this is exactly what we have been telling you all the time.. but for me example a part behave different selection wise if it have a cosmetic thread or not is a flaw and not a needed feature. Even Matt is pointing out that a consistent behaviour is important element in a soft...
by josh
Thu Mar 09, 2023 9:23 am
Forum: SW General
Topic: Have anyone successful get power in charge to decide to leave SW ?
Replies: 203
Views: 86317

Re: Have anyone successful get power in charge to decide to leave SW ?

I admit that I have missed instant2d and instant3d, will explore those for comparison. But the fact is that both product is so called midrange cad system. One of them have still to this date a non responsive modelling environment, in other word is forcing end user to constant give a command for reb...
by josh
Wed Mar 08, 2023 8:29 pm
Forum: SW General
Topic: Have anyone successful get power in charge to decide to leave SW ?
Replies: 203
Views: 86317

Re: Have anyone successful get power in charge to decide to leave SW ?

I watched the whole video. I didn't see much in the way of shortcomings. Mostly minor differences and personal preferences in the interface or the steps used. Some of the complaints could be solved by changing settings, using Instant3D, etc. Looks like creating section views in SW is less than half ...
by josh
Wed Mar 01, 2023 1:20 pm
Forum: API
Topic: Macro with multiple subs without references.
Replies: 2
Views: 489

Re: Macro with multiple subs without references.

I like to add optional arguments that don't do anything. Like: Sub NotMain(Optional NotMeDummy as Long) This will keep the execute button from calling them, and also prevent some user from mapping the macro button incorrectly. Multiple options for start routine are actually useful sometimes. It allo...
by josh
Fri Feb 24, 2023 5:09 pm
Forum: SW General
Topic: Shrinking part to account for coating
Replies: 25
Views: 1608

Re: Shrinking part to account for coating

I wrote a macro several years ago for tolerance analysis that creates configs of your part (leaving the default untouched) for MMC and LMC based on the tolerance applied to the dimensions. It does this by changing the dimension value to the tolereance limit, then analyzing if the part volume grew or...
by josh
Tue Feb 14, 2023 8:25 am
Forum: SW General
Topic: SWYMP Status
Replies: 28
Views: 2287

Re: SWYMP Status

I knew this was gonna be spam when I started reading about how "great" the swamp was...
image.png
by josh
Thu Feb 09, 2023 4:07 pm
Forum: SW General
Topic: Finding the center of volume of an assembly without using Save As Part
Replies: 9
Views: 947

Re: Finding the center of volume of an assembly without using Save As Part

These settings (particularly the circled one) should let you import the parasolid as a multibody part.
image.png
You probably want to set this option for the export as well:
image.png
by josh
Thu Feb 09, 2023 11:57 am
Forum: How To Questions
Topic: Direct Editing in SOLIDWORKS (for simplifying complex imported geometry)
Replies: 33
Views: 3073

Re: Direct Editing in SOLIDWORKS (for simplifying complex imported geometry)

So... Just one point. Seems to me that a triad makes no sense with "offset". With offset you can select multiple different faces that point in different directions. By definition offset goes normal to those faces. What would you do with a triad in that case?
image.png
by josh
Thu Feb 09, 2023 11:50 am
Forum: SW General
Topic: Grouping a note with a balloon
Replies: 10
Views: 671

Re: Grouping a note with a balloon

Million thanks. Seems that I'd forgotten the step mentioned above (attaching the note to view) Thanks. If you can remember this issue ahead of time before you create the note, you can create it within the boundary of the view and it will already be attached to the view. But then you have to move it...
by josh
Wed Feb 08, 2023 8:29 am
Forum: SW General
Topic: Grouping a note with a balloon
Replies: 10
Views: 671

Re: Grouping a note with a balloon

Your note doesn't belong to the same view as the balloon. Grab the view and move it. See, the balloon moves, but the note doesn't. You need to attach the note to the view, then you can group them.
image.png
by josh
Tue Jan 31, 2023 11:14 am
Forum: How To Questions
Topic: Solidworks BOM help needed
Replies: 19
Views: 2770

Re: Solidworks BOM help needed

As many times as I’ve picked a sketch or edge to define the direction of the Move/Copy, I never realized you could pick two vertices or sketchpoints to define both the direction and magnitude! Thanks Glenn!
by josh
Tue Jan 31, 2023 10:36 am
Forum: SW General
Topic: Solidworks showed me a new trick today
Replies: 9
Views: 1052

Re: Solidworks showed me a new trick today

Yes, grouping is buggy as crap. I wrote some code a while back to do some custom grouping for annotations, and I had to write a whole routine that would fix the relative positioning for all my custom groups after they got blown up. Changing view scale was the biggest culprit, although there were a l...
by josh
Tue Jan 31, 2023 10:33 am
Forum: How To Questions
Topic: Solidworks BOM help needed
Replies: 19
Views: 2770

Re: Solidworks BOM help needed

Yep... Biggest drawback of that is currently (well, for me with 2022) Move/Copy Body is a bodgy feature that doesn't actually have live dimensions that can be configured. You have to edit the feature to change the stroke, and suppress/unsuppress different ones for different stroke amounts, etc. If I...
by josh
Tue Jan 31, 2023 9:27 am
Forum: How To Questions
Topic: Solidworks BOM help needed
Replies: 19
Views: 2770

Re: Solidworks BOM help needed

That's a good point too, @ellundo . There are definite performance benefits to this as well both in file I/O and rebuild. I do that any time I'm not looking for the vendor assembly to be capable of movement in my assembly.
by josh
Tue Jan 31, 2023 8:19 am
Forum: How To Questions
Topic: Solidworks BOM help needed
Replies: 19
Views: 2770

Re: Solidworks BOM help needed

Sooo... You finally found the option that I mentioned above, which you even quoted?
by josh
Thu Jan 19, 2023 5:49 pm
Forum: API
Topic: Getting surface model vertex coordinates
Replies: 3
Views: 649

Re: Getting surface model vertex coordinates

set selected object = a Vertex object and use GetPoint
by josh
Wed Jan 18, 2023 9:00 am
Forum: SW General
Topic: Why Solidworks prevents adding this hole?
Replies: 25
Views: 1612

Re: Why Solidworks prevents adding this hole?

Solidworks Sucks in sheet metal. They know it and that's why they have an option to bypass the error you mentioned. 0 clearance is different with intersect. We are manufacturing several thousands of these kind of brackets and it's absolutely possible. If we have a clearance between two flanges, how...
by josh
Thu Jan 12, 2023 10:27 am
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1553

Re: Missing enumartion for equation

Gold star for you sir! Way to dig back through the archives! You may want to inform whoever told you there is no workaround and rub it in their face... :lol:
by josh
Tue Jan 10, 2023 12:25 pm
Forum: Macro Library
Topic: Viewing swp files without opening them in SolidWorks
Replies: 8
Views: 2095

Re: Viewing swp files without opening them in SolidWorks

So... Just the time savings of double-clicking a file in Explorer vs going to Tools->Macro->Edit and viewing in the VBA editor? I don't think you're going to find anything more efficient than mapping Edit to a SW shortcut key. I've not tried it myself (Maybe AlexLachance has verified?) but I'd be a ...
by josh
Tue Jan 10, 2023 11:47 am
Forum: Macro Library
Topic: Viewing swp files without opening them in SolidWorks
Replies: 8
Views: 2095

Re: Viewing swp files without opening them in SolidWorks

I'm not sure what you mean by "Document all your macros for future usage"...

Why not just take the .swp files themselves? What is the value of having access to the code if you don't have SolidWorks? It's like having a set of car keys but no car.
by josh
Fri Jan 06, 2023 3:01 pm
Forum: API
Topic: Transform.ArrayData - Cannot apply indexing?
Replies: 10
Views: 837

Re: Transform.ArrayData - Cannot apply indexing?

I still don't see what you're doing with the direct math on the transform elements. You're taking the sqrt of an expression that could be negative.

.Normalize will normalize a MathVector.
by josh
Fri Jan 06, 2023 2:39 pm
Forum: API
Topic: Transform.ArrayData - Cannot apply indexing?
Replies: 10
Views: 837

Re: Transform.ArrayData - Cannot apply indexing?

I don't understand what the math is supposed to be doing... For an arbitrary transformation matrix there's nothing there that keeps you from trying to take the sqrt of a negative number, which of course returns an error. Your cylinder params already give you a vector. Why not just multiply that vect...
by josh
Fri Jan 06, 2023 1:51 pm
Forum: API
Topic: Transform.ArrayData - Cannot apply indexing?
Replies: 10
Views: 837

Re: Transform.ArrayData - Cannot apply indexing?

Just curious... What are you trying to do here? It's not often you need to do direct math with the individual elements of a transform...
by josh
Thu Jan 05, 2023 5:17 pm
Forum: API
Topic: Get a count of component occurrences in an assembly?
Replies: 10
Views: 3061

Re: Get a count of component occurrences in an assembly?

Ah, that would work - nice workaround. Unfortunately that's not a great solution for us, we have thousands of assemblies from over the years (been using SW since 2000). We would have to manually add this dummy part to all of those assemblies - and any new assembly going forward. What format do you ...
by josh
Wed Jan 04, 2023 6:05 pm
Forum: API
Topic: Get a count of component occurrences in an assembly?
Replies: 10
Views: 3061

Re: Get a count of component occurrences in an assembly?

Place a single "dummy" empty part in each assembly/subassembly. Give it the custom properties that you want to show in the BOM for that assembly/subassembly. Make a "Parts Only" BOM instead of indented.
by josh
Fri Dec 30, 2022 5:22 pm
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1553

Re: Missing enumartion for equation

Well, this is pretty interesting. I finally took a minute to try it out for myself, and also it looks like some more detail has been posted over on the other referenced forum. It looks like the other poster was unintentionally ending up with an equation type when his input value was interpretable as...
by josh
Wed Dec 28, 2022 9:43 am
Forum: API
Topic: Missing enumartion for equation
Replies: 12
Views: 1553

Re: Missing enumartion for equation

If I'm reading all this correctly, the type "equation" does not actually exist. You read the type of an equation with API and you got "30" At the cadoveflow link, the OP used "30" to create their property, and they ended up with an Equation type. This should clue you in...
by josh
Fri Dec 16, 2022 11:54 am
Forum: SolidWorks FAQ
Topic: I'm having trouble with my sketch pattern
Replies: 25
Views: 3607

Re: I'm having trouble with my sketch pattern

Yeah. There really is no way to get it to 2 references for the 1 direction (which is what you need) as far as I know. One thing I thought of was to use a 2-direction pattern and then select the un-needed instances to skip, since that would allow you two "up to" references. But I still did...
by josh
Fri Dec 16, 2022 10:37 am
Forum: SolidWorks FAQ
Topic: I'm having trouble with my sketch pattern
Replies: 25
Views: 3607

Re: I'm having trouble with my sketch pattern

Here is sort of a way. But I agree...sketch pattern may have been better I'm not sure this works... Spec is for the edge of the bottom-right and upper-left rectangular holes to be 10mm from the nearest edge, no matter what size the plate is or what size the rectangular holes are. image.png image.pn...
by josh
Thu Dec 15, 2022 6:06 pm
Forum: SolidWorks FAQ
Topic: I'm having trouble with my sketch pattern
Replies: 25
Views: 3607

Re: I'm having trouble with my sketch pattern

I think one struggle point of sketch patterns vs feature patterns is the fact that sketch patterns aren’t always fully locked in by default. When you make a feature pattern, and you check that box, the yellow preview immediately turns into hard, fully defined geometry. Ain’t nothing moving around. W...
by josh
Thu Dec 15, 2022 1:35 pm
Forum: SolidWorks FAQ
Topic: I'm having trouble with my sketch pattern
Replies: 25
Views: 3607

Re: I'm having trouble with my sketch pattern

If you're going to be pointing people to this advice, then there should be a tempering voice here . You should work to understand both and how they work, and use them when appropriate. I do agree that feature patterns are better most of the time, but sketch patterns have their use. Understanding bot...
by josh
Fri Dec 09, 2022 8:30 am
Forum: How To Questions
Topic: Hole wizard: controlling counterbore distance from the far side
Replies: 6
Views: 1137

Re: Hole wizard: controlling counterbore distance from the far side

This is quite clever. I like it.

I'm pretty sure you can actually create a derived standard in your Toolbox browser and edit the diameters there so that you can pick this type of hole anytime. You can then modify your calloutformat.txt file to properly call out your holes automatically.
by josh
Tue Nov 29, 2022 10:14 am
Forum: How To Questions
Topic: Problem w/ Revolved Boss/Base?
Replies: 13
Views: 1629

Re: Problem w/ Revolved Boss/Base?

Late to the game, but... Turn on Zebra stripes?
by josh
Fri Nov 25, 2022 2:48 pm
Forum: API
Topic: How to close popups
Replies: 2
Views: 539

Re: How to close popups

You might have better luck figuring out what condition of the document is causing the message and preventing it by removing the condition.
by josh
Wed Nov 23, 2022 12:01 pm
Forum: API
Topic: Macro for changing selected entity of feature
Replies: 3
Views: 702

Re: Macro for changing selected entity of feature

Why are you wanting to use SelectByRay? It's pretty dependent on lots of stuff about your model view, geometry, etc. Typically this kind of thing is done by the user pre-selecting the desired face and then running the macro.
by josh
Tue Nov 22, 2022 5:31 pm
Forum: SW General
Topic: Solidworks - "Forgetfulness"......Le Sigh!!!!
Replies: 19
Views: 1678

Re: Solidworks - "Forgetfulness"......Le Sigh!!!!

. . . and then there's one of my biggest pet peeves. Most of my drawings have anywhere from two to eight detail views. I always use the "with Leader" option. And I have had to change it from the default every stinking time for 13 years. Easy fix... Just change your base detail view standa...
by josh
Tue Nov 22, 2022 2:52 pm
Forum: SW General
Topic: Spiral hole gauge (improve my design challenge)
Replies: 6
Views: 493

Re: Spiral hole gauge (improve my design challenge)

Here’s something for you to play with. As I mentioned before, the way that you set up your original pattern basically maintained spacing between your adjacent circles by putting each one further from the center. The fact that your spiral is not compact is what allows your holes not to run into one a...
by josh
Tue Nov 22, 2022 10:05 am
Forum: SW General
Topic: Spiral hole gauge (improve my design challenge)
Replies: 6
Views: 493

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: 1568

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: 1288
Views: 245807

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: 1288
Views: 245807

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: 1288
Views: 245807

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: 1288
Views: 245807

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: 1288
Views: 245807

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: 2399

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: 346

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: 534

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...