Search results from your query.
Categories:
Sort:
Is it any macro available to rename a part and its references? I found this example, but its for Assembly only.
SOLIDWORKS Forums
1 hour ago
Trim Surface Macro A macro to split a cylindrical surface with two planar surfaces, the end result is a quater of a cylinder. The trimmed surface is then mirrored about the plane.
SOLIDWORKS Forums
1 hour ago
I’m working on Solidworks 2014 and am trying to make a mate between a component and a coordinate system within an assembly. The manual way to do it is to select the origin on the component and the coordinate system and click mate, then ensure Align Axes is selected.
SOLIDWORKS Forums
8 hours ago
I am trying to figure out how to run a macro inside another macro. I want to set the flute type combobox to #0=none, #1=Straight Flute & #2=Spiral flute. If I select #(1)=Straight Flute, It runs the spiral delete macro.
SOLIDWORKS Forums
9 hours ago
I have a macro attached which I downloaded from 3DContent central for creating 2d drawings , as I have just started researching macros and still v. much a novice could any one show how you update the path to your own sheet formats/ templates, it does look to be a great time saver. Is this helpful? I'm not sure what version of Solidworks you are using.
SOLIDWORKS Forums
16 hours ago
I’m looking for a macro that would collect (make a copy of) all the drawings and sheet metal files that I have created and saved as *.pdf and *.dxf file format into one folder from an open assembly file. Folder to be created prior to collection. The assembly file usually contains subassemblies as well as single part files, and the same part files are being used in different subassemblies, eg.:
SOLIDWORKS Forums
17 hours ago
I would appreciate anyone that can help with this. To briefly explain what i am trying to do, we name our files as following eg: TE1234 Description
SOLIDWORKS Forums
19 hours ago
Any tips for this problem? I'll send this toapisupport@solidworks.com
SOLIDWORKS Forums
19 hours ago
i looked in the API help and it seems like a loop thru all the equations needed to get a certain equation is there a function call to get an equation without runn thru a loop
SOLIDWORKS Forums
20 hours ago
Having switched from VBA to VB.NET (on Visual Studio), I'm encoutering a bizarre behavior of termination of temporary bodies. When I run a VB.NET script that creates temporary bodies, and at the end, set the pointers to Nothing and let the script complete itself, it disposes of all temporary bodies in the model. However, if at any point of debugging my script, I terminate it prematurely (Shift+F5, or if it encounter any error and stops by itself), the temporary bodies remain in the model, and I
SOLIDWORKS Forums
20 hours ago
I trying to makecombine a powerful macro for documentation the macro will make from the active drawing : parasolid&pdf&zip pack and go to the same folder. (predefined folder in the macro without any input from the user while Running the macro.)
SOLIDWORKS Forums
22 hours ago
Irecordedthis simple macro which creates 2 lines and adds a dimension to one of them, yet I cannot run it. Each time I try to run the macro I get "Run-time error '91': Object variable or With block variable not set". What's happening?
SOLIDWORKS Forums
22 hours ago
We are trying to handle document close event. When document closed if has some change Save as Dialog raised. When try to close document by click on close button of document, Destroy event has raised (We have some functions by raising destroy event).
SOLIDWORKS Forums
23 hours ago
I'm looking for a way to open the containing folder of an selected file (part/sub-assembly) in a graphic area form an open assembly. A shortcut very similar to "Show in Folder" function except I would like it to be executed for an selected part in an assembly instead of opening the part/sub-assembly file and then going to Windows menu. I have tried to record a macro for "Show in Folder" but I got nothing.
SOLIDWORKS Forums
1 day ago
I am doing a project, theproject’s function is that operators input some parameters and then it will produce parts and mate these parts automatically. The assembly relationship is to choose plane of two parts and then set distance mate, just like the pictures below show: Now I have some troubles...
SOLIDWORKS Forums
1 day ago
Hello,everyone.I am now having some poblem with the Api function GetBCurveParams,I want to extract the params of a spline after I have sktched in Solidworks before.Because the skecth is drawed by myself,so I know the coordinates of the spline's control points.However,I have test the api GetBCurveParams(false/true),GetBCurveParams3(true,false/true,false/true),GetBCurveParams4(true,false,false,false)to get the control points and knot vector in cubic curve ,none of them can accurately does well.For
SOLIDWORKS Forums
1 day ago
Hello everyone, I hope you are doing great. If you can help me find a solution for my problem I would really appreciate it. Basically, I have a model of a bone and I wish to project a point, along certain direction, on the surface of the bone.
SOLIDWORKS Forums
1 day ago
I have a PDM addin that uses some SQL queries directly to the database. I am trying to find a way to get the server name itself from the API, so I don't have to hardcode it in to the connection string. I didn't see anything useful in IEdmVault(n). Is there some easy way?
SOLIDWORKS Forums
1 day ago
I am trying to write an all purpose macro that will output a 3D object as a 3D PDF, and will also output a 2D object as a 2D PDF (all sheets). I have tried combining 2 existing macros which do those jobs, but now can only seem to create a 2D image of the 3D object.
SOLIDWORKS Forums
1 day ago
While in an ASM in the tree display one can choose one or the other. Does anyone have a routine that switches between those two options?
SOLIDWORKS Forums
1 day ago
Create automatic sheet metal flat panel configurations? I have a sheet metal part but I was wondering if there was something that automatically gives every configuration a Flat_Pattern sub-configuration if it recognizes it as being a sheet metal part.
SOLIDWORKS Forums
1 day ago
There is a lot of posts on the forum regarding the issues with the macros. This includes but not limited to the issues like: I have published the blog post which describes the most common issues, causes and resolutions when it comes to the SOLIDWORKS macros:Macros Troubleshooting: Issues And Resolutions
SOLIDWORKS Forums
1 day ago
I am new to programming in SolidWorks API. I would like to know if there is a way to store information to a feature. For example, in the code attached I create a box and once the user clicks on a face a drop down menu presents itself asking the user to specify how they created that surface. I would like to store their selection from the drop down list with the surface.
SOLIDWORKS Forums
2 days ago
I need to export X_T files of the parts and individual PDFs from a multi-sheet drawing file with a very specific naming convention. I found a few macros from these forums that get close and I tried tweeking them but I haven’t been able to get either macro to work.
SOLIDWORKS Forums
2 days ago