Discover what SOLIDWORKS users are discussing.
Categories:
Sort:
I am trying to create a macro to save flat pattern to dxf. I know there are so many similar macro already but i would like to ask help on how to select the "Output Alignment" of the Flat Pattern before it will be save to dxf. This is to save time in re-orienting the dxf and locating the 0,0 origin. Thank in advance.
SOLIDWORKS Forums
14 minutes ago
I'm trying to streamline some of my processes for exporting faces as DXF's. This process is time consuming and very repetitive. I have limited knowledge of created Solidwork Macros and now require a macro to save selected faces as DXF's and then save them in a required folder in the pathfile called "DXF'S", with a certain name.
SOLIDWORKS Forums
33 minutes ago
This code inserts a BOM. The template, if I insert it manually sorts and pins the BOM, when called in the macro it doesn't, how do I achieve this? The template is attached.
SOLIDWORKS Forums
3 hours ago
You've drawn a weldment and are wondering how many lengths of steel to order? Solidworks gives you the total length - but that doesn't really help most of the time.
SOLIDWORKS Forums
5 hours ago
Robust Selections I try to avoid using selection-dependent functions in my macro workflow - it isn't always possible.
SOLIDWORKS Forums
5 hours ago
Is there a way to drag multiple components at once using drag operator? I can drag one component at a time just fine, but I need to be able to move multiple things at once. You should use the AddComponent method of the DragOperator to add as many components as you need to move.
SOLIDWORKS Forums
6 hours ago
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. The result needed is not always be the same quater of the surface (see EndSurface.SLDPART)
SOLIDWORKS Forums
10 hours ago
I am trying to determine if what I'm attempting is even possible. I am aware that excel macros can edit information in other programs, although I am unsure how to do that at this time. What I am attempting to do is save myself the task of opening the dxf, of the flat-pattern, I just saved and turn the perimeter into a poly-line for our CNC router. I have attempted to read through the recorded macro I get from recording my process but I get quickly confused in the mess.
SOLIDWORKS Forums
12 hours ago
Hi, I was using a macro written byLenny Kikstra. Here is the link of the page byLenny Kikstra.
SOLIDWORKS Forums
16 hours ago
I for the life of me can not get api to delete a drawing sheet for me. I swear it worked before and now no longer. My "tests" show me that the sheet is not being selected for deletion. What am i doing wrong here?
SOLIDWORKS Forums
16 hours ago
Good morning, everyone I'm writing a macro to take an Excel list of machines and then:
SOLIDWORKS Forums
21 hours ago
Apply Sort Macro Does anyone have a macro which they are willing to share that will apply the saved sorting method for a BOM ?
SOLIDWORKS Forums
22 hours ago
Flat Pattern Multi-Bodied Sheet Metal Part Is there a way when exporting flat patterns to DWG/DXF to have all the flat patterns inserted into the ACAD Model instead of creating multiple layout tabs for each individual flat pattern?
SOLIDWORKS Forums
1 day ago
This is a query whether we can automate table which are placed in SW drawing. Our customer requires tolerance key table at the bottom of each drawing. As shown below.
SOLIDWORKS Forums
1 day ago
I have a user form where the user needs to select a sketch segment. Once selected, you click on accept and some calculations are performed. I'm having the hardest time figuring out the correct way to code this. Below is my first attempt taking some bits of code from a different example I found online.
SOLIDWORKS Forums
1 day ago
Has anyone written a macro to update all Hole Wizard Holes to a specific Cosmetic Thread Option? It can be set in theHoleWizard5 Method (IFeatureManager)when creating a hole.
SOLIDWORKS Forums
1 day ago
I have put together several Image Quality macro buttons for high and low quality viewing based on the work of others on this site (https://forum.solidworks.com/thread/48935and hadleman's work onhttp://www.eng-tips.com/), but have not been able to determine the api commands to get the slider into the high "red zone". Feeding input values to swImageQualityShadedDeviation past the reported min value just caused the macro to fail and the doccumentation page athttp://help.solidworks.com/2013/English/
SOLIDWORKS Forums
1 day ago
Im looking for an easy way to get the usergroup(s) from the logged-in user. IEdmUserMgr5 UserMgr = default(IEdmUserMgr5); UserMgr = (IEdmUserMgr5)vault;
SOLIDWORKS Forums
1 day ago
Is it any macro available to rename a part and its references? I found this example, but its for Assembly only.
SOLIDWORKS Forums
1 day ago
I am working in a curved part that needs to be cut with notches [0.3 in deep all around -Look at the picture plz].The part has two profiles one is the circular diameter its bend around and the second is the cylindrical form it has.
SOLIDWORKS Forums
1 day ago
I am working on an add-in to copy variable values from the active tab to the other card tabs using a button. I have run across an issue. Using IEdmEnumeratorVariable5.GetUpdateVars() or IEdmEnumeratorVariable7.GetVersionVars() was crashing Windows Explorer.
SOLIDWORKS Forums
2 days ago
Hi, I have a question that I couldn't find an answer to after days of searching. We have an assembly document that has several sketches. It is important to distinguish these sketched by coloring them.
SOLIDWORKS Forums
2 days ago
I am using a macro to export .igs files to a specific location. We'd like to take the existing part #'s which are for example 900.3680.001.01 and export the file name as 900_3680_001_01 instead. I'm sure this is easy, I'm just not coming across it in my head at the moment.
SOLIDWORKS Forums
2 days ago
I am running SolidWorks 2017 SP2.0 under Windows 10. I would like to create a C++ SW COM Non-Attributed Add-in project in Visual Studio 2015 Enterprise . According to Online API help, when I go to File -> New Project ->SOLIDWORKS COM Non-Attributed Addinfrom the templates list in Visual Studio 2015. However, I clickOK, I get the "project creation failed" error message.
SOLIDWORKS Forums
2 days ago