Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How can I make a spiral cone with variable radius?

A spiral cone with a parameterized radius Hello, I am struggling with filling the cone in the attached image. I drew the spiral line with a curve through XYZ points. The radius is parameterized, and I ...
Gihyeok Na's user avatar
0 votes
0 answers
24 views

How can I get dimensions to place correctly, using Solidworks API, in a Solidworks drawing that is using a broken view?

I am trying to write a Solidworks add-in that automatically adds dimensions to drawing docs according to a client's specs. Some of the part types they want dimensioned involve broken views, and the ...
John Ziegler's user avatar
0 votes
0 answers
19 views

How to distinguish holes drawn using extrude cut?

In SOLIDWORKS, for a hole drawn by the wizardHole, it can be easily obtained through the hole feature in SOLIDWORKS, and its diameter and hole type can be obtained, but the hole drawn by extrusion cut,...
Stone's user avatar
  • 55
0 votes
2 answers
81 views

Check read only for PDF file from SolidWorks

I'm here in need of help for a macro in SolidWorks that works correctly, but is lacking a crucial check while working. The macro simply saves the document (drawing) as a PDF. Simple right? Well, it ...
Adrian Crisci's user avatar
0 votes
0 answers
113 views

Python code to open a .sldprt and .sldasm file using solidworks whose shortcut is located in a different location

def open_file(): """ Open a file dialog to select a file and launch SolidWorks for supported files. """ # Specify the SolidWorks shortcut location (modify ...
Jagadeshrao Thalur's user avatar
0 votes
0 answers
97 views

Solidworks API table

I'm having a problem with generating a table with VBA. I'm getting an error '438': Object doesn't support this property or method to the following line: value = swTable.SetCellText(rowindex + 1, 1, ...
Arijana's user avatar
0 votes
0 answers
60 views

Why don't save 'Extension.SaveAs3' the step without new coordinate system?

I often get step-files. The coordinate system will never be the same. So I searched for solutions, that transform the main coordinate system into another. I found a good solution here on Stack ...
user28659248's user avatar
0 votes
0 answers
157 views

Solidworks Macro to turn off "Automatically update cut lists"

I am using PDM Pro, and want to make a macro that can run on the task scheduler to turn off "Automatically update cut lists" option. I have recorded a macro that works, but I want to be able ...
bbjarvis's user avatar
0 votes
1 answer
91 views

Solidworks API AddMenu not showing

Working on an addin. Solidwokrs api documentation is very very bad made. Saw almost every video on youtube on the matter. Simple thing is not working for me, cannot get why. Trying to add a menu to ...
aleXela's user avatar
  • 1,301
0 votes
0 answers
35 views

Modify the global variables in SolidWorks using Python script

I am trying to modify global variables in an existed part using python. The command that I'm using now is "model.GetEquationMgr()" but it doesn't work. I would appreciate if you can provide ...
AmirMohammad Daareyni's user avatar
2 votes
0 answers
93 views

Retrieving a Hebrew folder path using VBA 7.1

I get wrong characters and "???" instead of Hebrew when trying to retrieve a folder path using VBA (by user browse selection) then plot it with question marks. I changed the locale. Is there ...
lila's user avatar
  • 21
0 votes
0 answers
96 views

Solidworks API moving components

I'm trying to use transform on a list of component2, but when I move a component in one list, the components in the other list move also: private double[][] transform2ProssedPartAndGetCache(List<...
itay bielski's user avatar
0 votes
1 answer
101 views

Messagebox for overwriting files does not pop up

I have written the following VBA code to save my Solidworks files. It also checks if files already exists in the folder and if so - asks through a messagebox if these files need to be overwritten. ...
JetskiS's user avatar
  • 133
0 votes
0 answers
74 views

Vba macro userform does not show due to system error

I have a piece of VBA code that generally works fine. It automatically saves Solidworks files and names the files based on user input from my user form. Suddenly, when I run my Main sub, it gives the ...
JetskiS's user avatar
  • 133
1 vote
2 answers
85 views

Use string in another sub

I am aware I'm not the first to have this question. Still I cannot find the solution. I have some vba code for my solidworks, that works fine. However, I want to use a string that I defined in one sub,...
JetskiS's user avatar
  • 133

15 30 50 per page
1
2 3 4 5
31