Search found 359 matches

by gupta9665
Thu Dec 21, 2023 12:39 am
Forum: Macro Library
Topic: Automate Featureworks on assembly
Replies: 4
Views: 1033

Re: Automate Featureworks on assembly

SW2024 can save files in lower version with history preserved. Some new feature may not convert though.

You can have 2023 or 2022 files generated from 2024.
by gupta9665
Wed Dec 20, 2023 5:11 am
Forum: How To Questions
Topic: Replace feature with pattern and preserve mates?
Replies: 6
Views: 1078

Re: Replace feature with pattern and preserve mates?

SolidKeke wrote: Wed Dec 20, 2023 3:41 am ....but concentric mates to hole's face unfortunately did not survive.
hhhh
by gupta9665
Wed Dec 20, 2023 3:05 am
Forum: How To Questions
Topic: Replace feature with pattern and preserve mates?
Replies: 6
Views: 1078

Re: Replace feature with pattern and preserve mates?

No, the face id will change. Try one thing: Create a copy of this file and give name to the 2 faces (remember the names exactly for each face). Create a new assembly using this new plate and add cylindrical components using the concentric mate using the 2 holes. Go back to the part and instead of th...
by gupta9665
Mon Dec 18, 2023 1:25 pm
Forum: SolidWorks PDM
Topic: PDF creation on release in PDM standard in SW2023 impacted by "View PDF after saving" check box
Replies: 9
Views: 1449

Re: PDF creation on release in PDM standard in SW2023 impacted by "View PDF after saving" check box

CarrieIves wrote: Mon Dec 18, 2023 11:54 am And my VAR did open a ticket and I have an SR# - SR01127639-01. Not sure if anyone besides me, my VAR, and SW can see it, but it's there.
This is a service request only. So only you, your VAR, and SW can see it. Others can not see it until is it converted to SPR.
by gupta9665
Mon Dec 18, 2023 12:26 am
Forum: How To Questions
Topic: Solidworks API
Replies: 3
Views: 808

Re: Solidworks API

I want to create multiple assemblies with some user-input parameters, for example: height, width and depth, ect.. There are several ways to do this: 1. Design Table - Will create a new configuration in the same model 2. Configuration Publisher - Will create a new configuration in the same model 3. ...
by gupta9665
Wed Dec 13, 2023 11:02 am
Forum: 2D Drawings
Topic: BOM sort (sort on insert)
Replies: 6
Views: 1254

Re: BOM sort (sort on insert)

The API person inside me is thinking of a macro using which you insert the BOM and it get sorted as needed.
by gupta9665
Wed Dec 13, 2023 7:48 am
Forum: How To Questions
Topic: Solidworks API
Replies: 3
Views: 808

Re: Solidworks API

I have a library with tons of available components. Can I create an assembly from them, or can I open an assembly using the Solidworks API? You can do both the tasks using API. Are you looking to make single assemblies of them or multiple assemblies based on the components type? And what is your ac...
by gupta9665
Wed Dec 13, 2023 12:26 am
Forum: How To Questions
Topic: Pipes in 3 dimensions
Replies: 8
Views: 1499

Re: Pipes in 3 dimensions

Press tab while you are in 3d sketch and that will change the direction of the sketch. And then you should be able to sketch in Y direction.
by gupta9665
Wed Dec 13, 2023 12:22 am
Forum: 2D Drawings
Topic: BOM sort (sort on insert)
Replies: 6
Views: 1254

Re: BOM sort (sort on insert)

I don't think you can. You can save the sort settings to the template, but you must manually apply the saved settings in new documents that use the template. See: https://help.solidworks.com/2024/English/SolidWorks/sldworks/t_save_bom_sort_setting.htm Yes that is correct once I rechecked. But it wa...
by gupta9665
Tue Dec 12, 2023 10:51 am
Forum: 2D Drawings
Topic: BOM sort (sort on insert)
Replies: 6
Views: 1254

Re: BOM sort (sort on insert)

After doing the desired sort, save the BOM template. And then next time it should sort on sort, you can right click on the BOM and select sort > apply sort (check reply by @JSculley below)
by gupta9665
Mon Dec 11, 2023 1:32 am
Forum: 2D Drawings
Topic: bill of materials HEADER and row reorder behavior
Replies: 3
Views: 1033

Re: bill of materials TITLE and row reorder behavior

Not able to replicate the first behavior on 2022 SP 5.0 but yes deleting the header row, I can see the same behavior ie. duplication of the column header row and other issue. So time to knock the VAR's door.

And you can not delete the header row as SW will add it again.
by gupta9665
Tue Dec 05, 2023 12:40 pm
Forum: API
Topic: SolidWorks Save as PDF macro - description and toggle of "View PDF after Saving"
Replies: 9
Views: 1191

Re: SolidWorks Save as PDF macro - description and toggle of "View PDF after Saving"

Add the below line above boolstatus = swModelDocExt.SaveAs(Full File Name Here with extension, 0, 0, swExportPdfData, lErrors, lWarnings) Dim swExportData As SldWorks.ExportPdfData Set swExportData = swApp.GetExportFileData(swExportPdfData) swExportData.ViewPdfAfterSaving = False Also, the descripti...
by gupta9665
Thu Nov 30, 2023 11:37 am
Forum: CAD Admin (Install, PDM, etc)
Topic: cannabis kaufen online
Replies: 14
Views: 2458

Re: cannabis kaufen online

Yeah, I was too slow. Not sure how that one got through. It was a first post, yet it was able to post without going into moderation... Didn't have any of the usual bot signs. Have to check the logs. Too early in the AM for looking at blog logs. Deepak reported it first, so it must have been posted ...
by gupta9665
Thu Nov 23, 2023 7:57 am
Forum: How To Questions
Topic: How to flatten a spiral
Replies: 3
Views: 651

Re: How to flatten a spiral

Yes but you need to use a different method to model it (check following videos) or use surface flatten tool (you need to have SW premium version).



by gupta9665
Fri Nov 17, 2023 12:48 pm
Forum: 2D Drawings
Topic: Cut List properties in BOM's
Replies: 3
Views: 1114

Re: Cut List properties in BOM's

You need to update the cutlist in the model so that BOM/cutlist in the drawing is populated with required details. If I have to purchase it as one component, then I'll simply detail them in assembled condition and provide the required flat pattern. OR I would detail individual bodies but will have o...
by gupta9665
Thu Nov 16, 2023 7:18 am
Forum: 2D Drawings
Topic: Drawing slow, lot faster with parasolid imported data
Replies: 28
Views: 3438

Re: Drawing slow, lot faster with parasolid imported data

I could try, but we disabled the freeze bar years ago as I have been said it caused a lot of troubles in PDM. For my personal experience I had part corruption and instability with that bar enabled so I avoided it. but it was yars ago. You can make a copy of the part and try with that. Other thing t...
by gupta9665
Thu Nov 16, 2023 5:06 am
Forum: 2D Drawings
Topic: Drawing slow, lot faster with parasolid imported data
Replies: 28
Views: 3438

Re: Drawing slow, lot faster with parasolid imported data

Check the performance evaluation of the model and see which features are taking more time.

When you use imported body, all the history is gone and there are no features to rebuild. This makes the model/drawing faster.
by gupta9665
Thu Nov 16, 2023 3:07 am
Forum: How To Questions
Topic: Instance Properties in Solidworks?
Replies: 4
Views: 818

Re: Instance Properties in Solidworks?

There can not be a custom property specific to that instance but you can have configuration property. But this would mean that you need to have different config for each instance.

Further can you please explain why you need to an instance specific custom property. What is the use or this is helpful?
by gupta9665
Thu Nov 16, 2023 12:29 am
Forum: API
Topic: Looping views inside sheets and retrieve hatches info
Replies: 3
Views: 573

Re: Looping views inside sheets and retrieve hatches info

Can you share one dummy set of files to debug the macro?
by gupta9665
Wed Nov 15, 2023 11:53 am
Forum: SW General
Topic: Printing Utility
Replies: 4
Views: 659

Re: Printing Utility

Free eDrawings Viewer
by gupta9665
Wed Nov 15, 2023 7:45 am
Forum: API
Topic: Looping views inside sheets and retrieve hatches info
Replies: 3
Views: 573

Re: Looping views inside sheets and retrieve hatches info

If I remove the codes to get the hatch information, the loop works OK.

And you should not need to select the face of the view but should be able to get the hatch information from the view. Check this example https://help.solidworks.com/2022/englis ... ple_vb.htm
by gupta9665
Tue Nov 14, 2023 10:49 am
Forum: SW General
Topic: transitioning from a straight line to a fillet to a straight line
Replies: 30
Views: 2737

Re: transitioning from a straight line to a fillet to a straight line

Mike Gera wrote: Tue Nov 14, 2023 10:38 am Not happening on my end.
I know it is stupid to ask but check if "automatic relation" is set to on. If all settings are good then knock on your VAR door.
by gupta9665
Tue Nov 14, 2023 10:36 am
Forum: SW General
Topic: transitioning from a straight line to a fillet to a straight line
Replies: 30
Views: 2737

Re: transitioning from a straight line to a fillet to a straight line

This works, but it does require that I then go back and add two "tangency relations. Is there a way to avoid having to do that? When you add the arc, SW should automatically add the tangent relation. It does for me using both options i.e. on pressing A to start the arc OR dragging the cursor b...
by gupta9665
Tue Nov 14, 2023 9:46 am
Forum: Macro Library
Topic: How to extract configation name of a selected view with Macro ?
Replies: 1
Views: 444

Re: How to extract configation name of a selected view with Macro ?

A view must be selected before you run the following macro Option Explicit Sub main() Dim swApp As SldWorks.SldWorks Dim swModel As SldWorks.ModelDoc2 Dim swSelMgr As SldWorks.SelectionMgr Dim swView As SldWorks.View Dim bRet As Boolean Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc ...
by gupta9665
Mon Nov 13, 2023 3:05 am
Forum: API
Topic: Sketches on drawing views
Replies: 7
Views: 942

Re: Sketches on drawing views

The views have an underlying sketch and when you double click on a view, the view get activated and also the sketch add/edit mode is on. This means that any sketch entity you will add, will be added to that view. Unlike models where you can add multiple/separate sketches, in drawing mode, you have o...
by gupta9665
Sat Nov 11, 2023 2:09 am
Forum: SW General
Topic: Baseline Dimension Spacing
Replies: 2
Views: 759

Re: Baseline Dimension Spacing

You can adjust them under Tools > Options > Document Properties > Dimensions > Offset distances
by gupta9665
Tue Nov 07, 2023 3:21 am
Forum: How To Questions
Topic: Find specific property in drawing sheet format and change the content
Replies: 8
Views: 1097

Re: Find specified property in drawing sheet format and change the content

Like josh said, this is possible. Below are some links for reference https://help.solidworks.com/2023/English/api/sldworksapi/Change_Note_Text_Example_VB.htm https://www.codestack.net/solidworks-api/document/notes/find-delete/ https://r1132100503382-eu1-3dswym.3dexperience.3ds.com/?_gl=1*1bbvwls*_ga...
by gupta9665
Wed Nov 01, 2023 5:25 am
Forum: SW General
Topic: Does a 32 inch monitor make sense for drawing?
Replies: 29
Views: 4868

Re: Does a 32 inch monitor make sense for drawing?

I would prefer 2 monitors instead of 1.
by gupta9665
Wed Oct 18, 2023 11:48 am
Forum: SW General
Topic: 2023 SP4 is now available
Replies: 32
Views: 3898

Re: 2023 SP4 is now available

Q4 is 4th quarter 4 (October to December)
by gupta9665
Tue Oct 10, 2023 1:43 pm
Forum: SW General
Topic: Hole table
Topic: Hole table
Replies: 4
Views: 687

Re: Hole table

Sorry I meant fill pattern only and accidently typed shape. But glad to know that table driven worked well.
by gupta9665
Tue Oct 10, 2023 2:11 am
Forum: SW General
Topic: Hole table
Topic: Hole table
Replies: 4
Views: 687

Re: Hole table

I have a sheet metal with a lot of holes (maybe more than 60) on one of its flanges. Even by using patterns etc, I have to add a lot of dimensions that makes the sketch too crowded and makes it very hard to check if the dimensions are correct. Is there any possible way to use a table or an excel fi...
by gupta9665
Fri Oct 06, 2023 4:19 pm
Forum: How To Questions
Topic: Advance BOM with Drawing View
Replies: 4
Views: 931

Re: Advance BOM with Drawing View

Jacomuller wrote: Wed Oct 04, 2023 9:36 pm Thanks, I missed your answer before - got side tracked :) I can use parts of it but it will still need a few major steps.
I'm working on building an add-in (paid) for a customer with similar requirements. When finished I will share a video of how it works.
by gupta9665
Fri Oct 06, 2023 1:25 am
Forum: How To Questions
Topic: Assembly custom property linked to part configuration
Replies: 10
Views: 1203

Re: Assembly custom property linked to part configuration

This is not doable without a macro. And even with the macro, it won't be dynamic. Maybe a macro feature could be utilized to keep it dynamic.
by gupta9665
Mon Oct 02, 2023 1:55 pm
Forum: Macro Library
Topic: Qr code generator for solidworks drawing
Replies: 21
Views: 2138

Re: Qr code generator.

Thank you for sharing :)
by gupta9665
Mon Oct 02, 2023 1:54 pm
Forum: SW General
Topic: Tutorial PDF
Replies: 2
Views: 684

Re: Tutorial PDF

For some, you will have create them as given in the tutorials. For other, you can find them under C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2023\samples\tutorial (path might be different on your machine). You can also open the advanced tutorials and there will be link to open the models. And t...
by gupta9665
Fri Sep 29, 2023 12:07 pm
Forum: API
Topic: change properties of assemblies and parts from an excel list
Replies: 7
Views: 992

Re: change properties of assemblies and parts from an excel list

Thank you for your answer, but Swie doesn't work for me, it said "an activeX component cannot create an object" stopped at: "Set swApp = CreateObject("SldWorks.Application.31")" What is your current SW version? The 31 in the line above is for 2023 version (23 +8). Add ...
by gupta9665
Thu Sep 28, 2023 1:23 pm
Forum: API
Topic: Unable to Select and Unsuppress Center of Mass Feature
Replies: 10
Views: 1019

Re: Unable to Select and Unsuppress Center of Mass Feature

loeb wrote: Thu Sep 28, 2023 9:38 am I don't use the macro recorder. When I use print.debug to print the type, it was in mixed case..
That is correct and that is how I started to check. But when it did not worked, then I use the recorder and then found the mystery of upper case.
by gupta9665
Thu Sep 28, 2023 6:56 am
Forum: API
Topic: Unable to Select and Unsuppress Center of Mass Feature
Replies: 10
Views: 1019

Re: Unable to Select and Unsuppress Center of Mass Feature

loeb wrote: Wed Sep 27, 2023 11:58 am UCASE? That's nuts when swFeat.GetTypeName literally returns "CenterOfMass"

Thanks
Yes because recorder was spiting "CenterOfMass" as "CENTEROFMASS".
by gupta9665
Wed Sep 27, 2023 9:34 am
Forum: API
Topic: Unable to Select and Unsuppress Center of Mass Feature
Replies: 10
Views: 1019

Re: Unable to Select and Unsuppress Center of Mass Feature

Try this
BoolStatus = swModelDocExt.SelectByID2(swFeat.Name, ucase(swFeat.GetTypeName), 0, 0, 0, False, 0, Nothing, 0)
by gupta9665
Mon Sep 25, 2023 9:34 am
Forum: How To Questions
Topic: NEED HELP WITH SOLIDWORKS
Replies: 8
Views: 1148

Re: NEED HELP WITH SOLIDWORKS

DanPihlaja wrote: Mon Sep 25, 2023 8:29 am Why disable 3d interconnct?
With 3dInterConnect enabled, no induvial components will be created but only top level assembly but that too 1 level don.
by gupta9665
Sun Sep 24, 2023 11:20 am
Forum: Welcome
Topic: Just wanted to say Hi.
Replies: 2
Views: 1421

Re: Just wanted to say Hi.

Welcome to the group :)
by gupta9665
Sun Sep 24, 2023 3:37 am
Forum: How To Questions
Topic: NEED HELP WITH SOLIDWORKS
Replies: 8
Views: 1148

Re: NEED HELP WITH SOLIDWORKS

Open the STEP file into SW (make sure you disable 3dinterconnect under Tools > Options > Import). And once assembly is fully open, click on save all.
by gupta9665
Wed Sep 13, 2023 2:29 pm
Forum: SW General
Topic: New for SW2024
Replies: 95
Views: 89792

Re: New for SW2024

Lot of crazy things to be witnessed in SW 2024.
by gupta9665
Mon Sep 11, 2023 7:33 am
Forum: SW General
Topic: Impossible to create machine threads on cosmetic threads
Replies: 19
Views: 1758

Re: Impossible to create machine threads on cosmetic threads

OMG, I don't know how to thank you, I've been stuck for days on this problem and didn't know Solidworks actually took into account the units of measurement to any of their processes, I thought it was more of a formal thing. Glad to hear that all is working now. You need to get your basics clear bud...