Discover what SOLIDWORKS users are discussing.
Categories:
Sort:
Guys Iam trying to open an sldprt file using solidworks api. (1) Firstly I used the openfiledialog box to open the sldprt file and display its name in a textbox
SOLIDWORKS Forums
3 hours ago
Counting Hole Instances I've found a bug in a program I'm working on that has to do with my method of collecting hole feature instances. I'm trying to check if all instances of hole features have been fully dimensioned (based on a very simplified constraint model).
SOLIDWORKS Forums
6 hours ago
I have searched the forums here and external to this site trying to find any examples or discussions about the above topic to no avail. First, what I am trying to do is create a macro (vba) that will open a specifically named document we place in our SW files in the Design Binder.
SOLIDWORKS Forums
9 hours ago
I have a form that has a button, with the button i open a webpage, on that open webpage i need to scroll to the lower right. this is an internal company page. I'm using explorer.exe because it will open using whatever browser was last used. My issues is, that once open i need to scroll to the lower right of the browser, because the call shell "centers" the browser on one of the frames, instead of what i need.
SOLIDWORKS Forums
10 hours ago
I am trying to create a macro, that will switch the configuration of the drawing views in to my appointed name. I tried to record macro and run it, but looks like it didn’t work. The configuration stays the same as it is before.
SOLIDWORKS Forums
12 hours ago
I am working on a program to save DXF file into separate thickness wise folders(if it is there else create new folder). To get started i first need to get the thickness of part, and for that i found a program from one of forums, but when i select any face other than the base flange face, it gives me debug error, I am thinking if i can get the thickness without selecting any face. The program is:
SOLIDWORKS Forums
12 hours ago
Macro Instability With Different SolidWorks Versions? I am new to SolidWorks macros and looking into setting one up. Do macros not work with the different yearly versions of SolidWorks consistently?
SOLIDWORKS Forums
14 hours ago
TaskpaneView.AddControl question I'm writing an add-in for SolidWorks 2010 (C#).
SOLIDWORKS Forums
14 hours ago
We are in the process of getting 2018 ready to deploy and I am updating our existing VSTA macros to use the new version. I got some of them to open and compile but I have two left that will convert but the editor will never launch. Does anyone have any ideas as to why this might be happening?
SOLIDWORKS Forums
20 hours ago
Guys, Iam unable to find the'swvbaddin' template in Visual Studio for solidworks 2015 API. I downloaded and installed 'solidworks API sdk', but when I opened Visual studio and selected 'new project' the template wasn't there. Can anyone help me with a solution?
SOLIDWORKS Forums
22 hours ago
I use the following code to get center coordinate of circle01 (C01) and circle02 (C02). But the values are referencewith part origin(see Fig1) rather than assembly origin (see Fig2).
SOLIDWORKS Forums
1 day ago
I have already post the quesion here Unfortunately are not practical with macros.
SOLIDWORKS Forums
1 day ago
I want to export BOM to my ERP program. I need to iterate between model tree. Is there any good sample for this please?
SOLIDWORKS Forums
1 day ago
is there a way to get the Parent_Folder_ID from the file-ID ? At the end i need the Folder-Path but every api command to get the Folder Path Needs the Folder-ID ?
SOLIDWORKS Forums
1 day ago
I 'm not good at English. Sorry. Please teach me your skills.
SOLIDWORKS Forums
1 day ago
I want to use scroll bar to control angle between Link1 & Link2. But there's an error in .EditMate4 funtion.
SOLIDWORKS Forums
1 day ago
delete 3rdPartyStorage I can use the IModelDoc2.IGet3rdPartyStorage (in tandem with IRelease3rdPartyStorage) to write custom data into the SolidWorks file.
SOLIDWORKS Forums
1 day ago
I'm trying to understand principles of solidworks API, but have several problems. Here is my code: for(vari=0;iselMgr.GetSelectedObjectCount();
SOLIDWORKS Forums
1 day ago
I want to Save an assembly as a 3d PDF. That is the simple part. Where it gets difficult is changing the background of the 3d PDF, we would like to put our company logo on the background but I don't see anywhere that you can use a template for that. Any ideas?
SOLIDWORKS Forums
1 day ago
I need to loop through all levels of a drawing BOM from top level down and find all assembly drawings associated. The goal of this is to find all assembly drawings (and possibly export them as pdfs) associated to the product in the top drawing.
SOLIDWORKS Forums
1 day ago
Selections are major part of SOLIDWORKS API development and there are multiple techniques and aspects of selections API. I have written an article explaining the selection in depths, what is selection mark, selection data, different methods of selection (by id, in a batch, for API purpose only, etc.). Article and code examples can be found here:Selection
SOLIDWORKS Forums
1 day ago
Hi, We can send a message via SolidWoks below command;
SOLIDWORKS Forums
1 day ago
I have a macro that changes the values of several custom properties. The custom properties are imbedded in an annotation. The problem is that after changing the values of the custom properties, the note doesn't show the changes. If you double click on the note, it updates, but I'd like to have the macro refresh the note so the user doesn't have to remember to.
SOLIDWORKS Forums
1 day ago
There is a lib in the camworks API that look like it can be used to trigger some actions on events! There is no documentation with it, how do you think I can use this in a class to listen to events Jive Software Version: 2016.3.10.0, revision: 20180416115013.f4cb191.release_2016.3.10
SOLIDWORKS Forums
1 day ago