We use cookies to operate this website, improve its usability and track visits. Please note that by using this site you are consenting to the use of cookies.
Learn More |
Discover what SOLIDWORKS users are discussing.
Categories:
Sort:
I will start off by saying I know how to make a macro button that can open a prompt box that you can then enter the search info and search it. That is not what I want. I want to know if it is possible to make a search window like this that the user would simply just type in what they want to find and hit enter then the macro runs and does the search.
SOLIDWORKS Forums
9 months ago
Hello, wondering if there is some way to call the treat as remote mass from the simulation API. We have a number of similar remote mass conditions (one cylinder in another) and it would be nice to interrogate the component mates, and use one of the mates to create a remote mass. I couldn't find anything in the help files other than the long solution which would be to create a numerical remote mass load on that face using the mass properties of the part and the mate geometry.
SOLIDWORKS Forums
9 months ago
I have a custom MacroFeature that I've created via InsertMacroFeature3 that produces no Solidworks features. It's simply a placeholder for a custom rendered OpenGL mesh. The problem I have is that, that zoom to fit doesn't work and the autosizes of planes are all broken because Solidworks thinks that the model doesn't have any size.
SOLIDWORKS Forums
9 months ago
I would like have more than one task on my addin, Is it possible ? Could tell me the procedure or give any example ?
SOLIDWORKS Forums
9 months ago
Hello all, I am working on a piece of code to better identify bodies or components without a material assigned since the stand solidworks dialog is absolutely ZERO help and I waste large amounts of time trying to find the issue in assemblies with >600 parts. The problem is that when I finally get to parsing out the material, it gives User Defined as the name regardless of the material (whether it be defined or not), a category of Iron, a count of 9, and no description. I'm wondering if anyone
SOLIDWORKS Forums
9 months ago
PropertyManagerPage2 Invalid Cast Exception I am currently writing a C# add-in and I want to create a custom PropertyManagerPage. But if I try to do so using the code below, I get Invalid cast exception.
SOLIDWORKS Forums
9 months ago
I am having an issue with my parts not saving in the assembly after I run my macro. I get an error that says "an unknown error occurred while accessing <...filepath>"
SOLIDWORKS Forums
9 months ago
I have a macro that i have uses that prints drawings. I use retrieve the papersize per the template loaded, & use pagesetup for paper size & scale. Then i currently use Printout3 to print to the specified printer, however Printout3 does not allow color control.
SOLIDWORKS Forums
9 months ago
How do you guys (n gals) handle this? As I recall Autodog has a file attribute that records the amount of time a file spends in the editor.
SOLIDWORKS Forums
9 months ago
Re: Change view orientation in drawing view. Re: Change view orientation in drawing view.
SOLIDWORKS Forums
9 months ago
Macro help. Planes,spline,points Hello everyone, help needed!
SOLIDWORKS Forums
9 months ago
I have been trying to get texture coordinates from SolidWorks using the API but I cannot seem to anything correct. I use the GetTessTextures function on the IFace2 interface, and the coordinates I get do not produce a texture image that matches the SolidWorks file. I have attached the file I used, cylinderTest.sldprt, where I applied cylindrical mapping. The image of the texture using the UVs I import from SolidWorks is attached as cylinderMappingWithSWUVs1.jpg and cylinderMappingWithSWUVs2.jpg.
SOLIDWORKS Forums
9 months ago
I'm writing a program in VBA that takes an XYZ table, draws lines in Solidworks, adds a radius and extrudes a circle over the path. I've programmed everything, but I am running into an issue with sketch orientation.
SOLIDWORKS Forums
9 months ago
I'm using SW2015, I need to export a drawing to .pdf at 200DPI...does anyone have VBA code snipet that does this? I've tried : bRet = swModelDocExt.SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swPDFExportShadedDraftDPI, 0, 200)
SOLIDWORKS Forums
9 months ago
Create extrusion from sketch line I am attempting to create a macro that can create some 3D volume from a sketch line. On the model there are many sketches on edges that represent where the weld will go.
SOLIDWORKS Forums
9 months ago
is there any way to run an external program/macro from SW? I'd like to start a python script from a button, but found no way to do this by SW macro button. Any ideas?
SOLIDWORKS Forums
9 months ago
Since a while now, ever since installing 2016 SP3) it happens that if I want to run a macro that it standard only shows me SW VSTA Macros (*.dll) Does anyone know of any way to have it either show all types of macros or even standard show only VBA Macros (*.swp)?
SOLIDWORKS Forums
9 months ago
Hoping someone can help me out with the following issue I am having. Basically I created a Macro through SolidWorks to save open drawings as a .dwg file, close that doc, and move to the next one. My question is:
SOLIDWORKS Forums
9 months ago
I am just trying to get the relative folder (current folder) of a file path with this macro but it doesn't show Can someone please correct me to make it work?
SOLIDWORKS Forums
9 months ago
I have an assembly with several parts that contain named coordinate system as in code below "INF_KST_BOTTEN". I would like to run a Macro that regardless of part searches for predefined names of coordsys. and add coincident mates between them.
SOLIDWORKS Forums
9 months ago
I am trying to find someone who can write 2 macros. One DXF and one PDF. *Removing Bend Lines and Sheet Format is not mandatory.
SOLIDWORKS Forums
9 months ago
1. My computer installed multiple versions of solidworks (for example: solidworks 2015, solidworks2016) 2.
SOLIDWORKS Forums
9 months ago
Can it be opened and viewed, written to? Any thing? , design journal
SOLIDWORKS Forums
9 months ago
Does anybody know if you can create a toolbar and make it show the value of a variable? I would like this toolbar to show the value of a variable in an add-on or macro, or the value of a custom property or model property. The new configurations toolbar can apparently show a dropdown menu, so there may be hope.
SOLIDWORKS Forums
9 months ago