Nouveautés du

Forum utilisateurs SOLIDWORKS

L'endroit où les utilisateurs SOLIDWORKS peuvent découvrir 3DEXPERIENCE Works, s'impliquer et partager leurs connaissances sur SOLIDWORKS Desktop, la version connectée au cloud et la version pur cloud.

Connectez-vous avec votre ID 3DEXPERIENCE.

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 années il y a
Is there a way to remove a file from an assy using the Document Manager API? SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
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 années il y a
hello auto cropping macro Can you please attach/share the SWP file? SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
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 années il y a
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 années il y a
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 années il y a
Hi All, Are there any SOLIDWORKS API and Macro enthusiasts who are coming to 3DExperience World 2020 in Nashville? It would be nice to catch up and share the experience. I will be presenting the Developing modern SOLIDWORKS add-ins from scratch - YouTube and invite everyone to the session. If you want to catch up or just say hello let's meet somewhere during the event.
SOLIDWORKS User Forum
4 années il y a
I'm trying to develop automatic drawings. I want to know: In the drawing, can we get the coordinate value on the view by specifying the feature. So that it can be used as the coordinate value when dimensioning. Which API do I need to use?
SOLIDWORKS User Forum
4 années il y a
Hi, I am trying to clear any dimension on a specific drawing view. I tried with outline to get the bounding box of the view then swApp.SetSelectionFilter 14, and then using the SketchBoxSelect to select the dimensions. However, it always deletes the view with it even if the filter is on! Any idea how to approach this is welcome!
SOLIDWORKS User Forum
4 années il y a
Hello community, has anybody a SolidWorks Marco to - delete all of the GeometricToleraceSymbols, and to - delete all of the DatumTags on a drawing? Thanks for support Dietmar SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
Hello all. I have such a question: Is it possible to remove assemblies or part from the tree while deleting files from the current folder? SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
I would like to move all views to the center of the sheet after changing paper size e.g. from A4 to A3. I am looking for a macro to achieve this. SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
Hi, I need to create a Macro to Turn on the views, Part list in the drawing based on the cell value in excel and then edit custom properties as given in the excel cell. Also I want to open solidworks and drawing and then trigger this macro from the Excel VBA only. Can anyone help? SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a
How to resize (larger) the ref. dialog box to see the whole path of the dll library or other trick to get the full path of the file SolidworksApi/macros
SOLIDWORKS User Forum
4 années il y a