Questions tagged [solidworks]

SolidWorks is a software company that produces several different CAD programs. Use this tag for code that interacts with their COM API.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Solidworks API to select Design Binder and empty the edited Design Binder

I am working on the Design Bilner macro and facing some issues with the code. Could you take a look and help me? Solidworks has a feature called “Design Binder”. The function of this is to store the ...
2 votes
0 answers

Collect the SKETCH NAME in the array and hunt for matching CUSTOME PROPERTY NAME and apply TOLERANCE (Bilateral or Symmetric)

I want to apply a tolerance value to my sketch using a custom property, the input for which will be provided as JSON Here I tried to collect the sketch name from the specific feature (i.e ISO Standard ...
2 votes
1 answer

Using a nonsense string to check if a call has completed, rather than timeout?

My question is whether or not this is a good practice, and/or if there is a more efficient way to do it. I have to access this Solidworks interop object and wait for it to return some value. The ...
  • 409
2 votes
1 answer

Solidworks save as PDF macro

This just opens all drawing files in solidworks and saves as a *.pdf file. I just wanted to to get a second set of eyes on this before I let it go on the actual ...
  • 21