What's new in the

SOLIDWORKS User Forum

Where SOLIDWORKS users discover, engage, and share about 3DEXPERIENCE Works - SOLIDWORKS desktop, cloud-connected, and pure cloud.

Just log in with your 3DEXPERIENCE ID.

I heard a rumor that someone had come up with a macro or program that would automatically create a PDF and a DXF when you saved a drawing file. Anyone heard of that? SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Oi I have a simple extrusion (not well oriented). With the file already open i want the code to: get normal to extrusion; view>modify>orientation; new view;
SOLIDWORKS User Forum
4 years ago
Hello, As the image shows. I create a TAB in Fearture Design Tree use "CreateFeatureMgrView2", then I want to draw the MFC controls in this TAB. I use "GetFeatMgrViewWnd" to get the hwnd, but the button couldn't create and has errors when it runs.(line 759, just error no error massage shows) Thanks. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
hello auto cropping macro Can you please attach/share the SWP file? SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
What macros are you all using to split up your macros and what characteristics are you using to tell them apart eg. Cutson property, tag, toolbox SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Goodmorning everyone, I would have hundreds of tables already created with the hole table, unfortunately the hole table was created with a wrong calloutformat.txt, the static annotations are incorrect. Is it possible to update the table without do it again, but pointing it to another Calloutformat.txt? If you know any API I would be grateful to you. Thank you all Roberto SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
I have recently recieved help on deleting rows that do not have the YES quantity in a certain coloumn. Is there anyway to keep the title row/Header row? Attached pictures are as explained. First is before i run macro and highlighted row is the row i want to stay.
SOLIDWORKS User Forum
4 years ago
Hi, in VBA my code works fine. I can read the custom properties from SolidWorks file. In c# i get the error swDmDocumentOpenErrorFutureVersion. I installed DM API from 2018, my key is from 2018 (same key used in vba), c# is debugged for "Any CPU" and 32 bit is enabled.
SOLIDWORKS User Forum
4 years ago
I'm looking to simplify a bit of code and I wondered if SolidWorks has a built in method of finding the endpoint of a line segment that a plane is located on. I know I could do this by getting the normal distance to the plane and select the point whose distance is below a threshold value. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hey does anyone have a macro to organize or name parts and sub-assemblies based on position in the assembly position? There is an example. It honestly doesn't matter where it starts from. I have it so it will go in order but if 2 parts are beside each other by a mate I will get an error.
SOLIDWORKS User Forum
4 years ago
I want a macro that when I run a macro on Drawing then it pops up with 3 options(A, B & C) that will ask which image you want to insert. Then When someone selects can say on A option then it should insert an image A on a specified location or can say near BOM location. Or When it Selects B then it should Insert Image B. & same with C option. ‌ ‌ Or anyone who can help me with this.... SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Is there a free sdk provide the ablitities to retrive the data of solidworks files, like bodies, faces and edges? I want to build an desktop app consume the sdk to read solidworks files, and show the models in the app viewer in faces and edges level. Thanks. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
In drawing file, I want to get self- interecting points by using API. Is there the way that I get self-intersecting points from 2D sketch. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
In drawing file, I want to get the gap between splines. And then, if there is a gap between splines, i want to do Fit Spline. Can I do them by using API? SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Is there a way to remove a file from an assy using the Document Manager API? SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
I have this macro which i wanted to use for ease of my operation . But it is showing run time error. Can some one please help me fix this error! ‌ SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
want to calculate laser cutting cost using no of cut paths in sheet metal costing. e.g. following image having 3 cut paths & rate for single cut path is 2 so cost = no of cut path(3) * rate (2) = 6 how to calculate total no of cut path? Is possible using in costing template or need a macro? SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Need custom property from each sheet to show on the first sheet of drawing. The problem I am having is that it pulls from the "Default" view and not independent per sheet. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hi, I have published new blog post which shows different ways of adding watermark into SOLIDWORKS document. This includes: macro feature with secure notes, invisible features with owner name, 3rd party storage stamps. Thanks, Artem SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hideshowdimensions through API without pick mode SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
I want to work with Solidworks exporter api's in order to save the loaded model in .gltf format, but could not find anything. Are there any api's related to exporter? Any suggestions will be really helpful. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
PDM,API file open dialog box, open the PDM local view gallery under win10, resource manager display incomplete, all the file icon lost, statement as follows 'Set the initial directory in the File Open dialog CustRefOpenFileDialog.InitialDirectory = vault1.RootFolderPath SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
In drawing,I have selected one segment and I want to know that how to get which part it belongs to? Please look at the information selected below in the diagram . I am fluent in VB. Thank you for all your help! SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
any one can help me ,How to setting a part of file name link to the file property? thank you very much. for example , fliename is "R.125.212 Stop Part", and i want to get "R.125.212" link to my file property. SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago