Search results from your query.
Categories:
Sort:
So if I use Debug.Print(swSheetName) the console output of that should be Sheet ,sheetmetal macro
SOLIDWORKS Forums
2 hours ago
In the process of Drawing Automation using Solidworks vb.net API we are facing one major hurdle regarding dimensioning. For the drawing automation we are generating the drawings using a pre-drafted drawing of a parametric 3D Model. However, when the 3D Part/Assembly gets updated in Solidworks, the views get updated as required but the dimensions are misplaced/ overlapped on each other (Please refer below Screenshots).
SOLIDWORKS Forums
3 hours ago
I can use "ModelDoc2.SelectByRay" correctly in a Part document. But when I use the same code in Assemlby document ,it is unsuccessful. 'Here is the code in vba====================================
SOLIDWORKS Forums
3 hours ago
So that ,the user can select the entity when the distance between cursor and entity is less than PickRadius. Jive Software Version: 2018.10.0.1_jx, revision: 20181102150941.22e8dc7.release_2018.10.0-jx
SOLIDWORKS Forums
3 hours ago
depends on what you want to automate => scan folder => open assembly => get parts? or do you have an assembly opened in SW and you want dump part information to excel. In first case look atdocumentmanagerin second2017 SOLIDWORKS API Help - Traverse Assembly at Component and Feature Level Example (VBA)
SOLIDWORKS Forums
4 hours ago
I have created a macro that exports an image from SolidWorks to file and then copies it to the clipboard using Microsoft Excel in the background. This allows me to then quickly paste the image into emails and documents. Set xl = GetObject(, "Excel.Application") ' Excel is open
SOLIDWORKS Forums
6 hours ago
Unfortunately I don't think that we have a directAPIthat will suppress that particular popup. swApp.SetUserPreferenceToggle 999999, True
SOLIDWORKS Forums
7 hours ago
I have the same problem of this thread:https://forum.solidworks.com/thread/93844 Function CheckSubPart(swModelDoc As SldWorks.ModelDoc2, sFileNameCode As String) As Boolean CheckSubPart = False ' E' stato classificato come pezzo. Dim swFeat As SldWorks.Feature Dim FeatDefinition As SldWorks.DerivedPartFeatureData Dim sFeatName As String Dim sFeatType As String Dim bSkipImportSurf As Boolean Set swFeat = swModelDoc.FirstFeature bSkipImportSurf = False While Not swFeat Is Nothing sFeatName =
SOLIDWORKS Forums
7 hours ago
But you can keep the connection when renaming by right-click on file name and rename using solidworks tool for both files. For just one part it is pretty easy to do a Pack and Go, Select/Replace, and then replace the Save to Name text with the new part number/drawing number you want to give it.
SOLIDWORKS Forums
7 hours ago
"Batch Add Item References Example (VB.NET)" (API-Help) Prabaharan PichaiyanDec 11, 2018 10:28 PM(in response to Prabaharan Pichaiyan) Michael SpensEmployeeDec 12, 2018 5:48 PM(in response to Prabaharan Pichaiyan) Jive Software Version: 2018.10.0.1_jx, revision: 20181102150941.22e8dc7.release_2018.10.0-jx
SOLIDWORKS Forums
7 hours ago
I have a series of Library Feature Parts that I would like to assign to buttons in the Command Manager under a custom tab. This is because the Design Library itself is so overwhelmed with folder structure, that it doesn't make sense to bury it in there. Also, I intend to convert these into Macro Features in the future, so having the buttons already assigned and visible would be an easy transition in the future as well (once I get more comfortable with Macro Features).
SOLIDWORKS Forums
7 hours ago
activate advanced selection inside macro I'm trying to write a macro that activates an Advances Selection query I have that hides some components prior to saving off STEP files. I'm having trouble as the documentation mentions a .sqy file, but I'm getting a XML file when exporting my set up advanced selection?
SOLIDWORKS Forums
7 hours ago
I'm using the following (truncated) code to export table information to .csv. What's the method for exporting evaluated values as opposed to the raw values? Some of the info is currently coming from the title block and appears in $PRPSHEET:" format.
SOLIDWORKS Forums
7 hours ago
I have a macro that is saved to an internal server of my office. I have multiple users who have buttons, keyboard shortcuts, etc that are linked to this macro. If I want to update this macro for added functionality, I have to have EVERYONE close out of solidworks, save over the macro, and then everyone has to "reattach" the macro in their buttons again once they open up solidworks.
SOLIDWORKS Forums
8 hours ago
Long time "listener", first time "caller". I haven't done any coding in well over 15 years. I have attached one of the files I am trying to parse out the filename to only include the numbers, i.e.
SOLIDWORKS Forums
11 hours ago
I am having a hard time to make a circular pattern around a selected point (like what we do manually) through macro. However, the "createCircularSketchStepAndRepeat" treats the selected point as one of the targets which need to be patterned. Is it possible to set "point-1" as the centre of the circular pattern? (please refer to the following image)
SOLIDWORKS Forums
1 day ago
I want to have a Macro run every time the assembly gets rebuilt. My understanding that this is done by adding a Macro to the feature tree as a Macro Feature. I do not understand how to add a Macro feature from the SolidWorks help file. Nor can I find a simple tutorial (step by step instruction) or video on how to do this.
SOLIDWORKS Forums
1 day ago
In one of my project I need to rename hundred of dimension name (From RH to LH). Can any one help to rename multiple dimension with the help of macro or any other short process? Please find the macro in the attachment.
SOLIDWORKS Forums
1 day ago
Re: macro for export bom in to excel Rubén Rodolfo BalderramaDec 11, 2018 2:19 PM(in response to Bhavin Mistry) Re: macro for export bom in to excel
SOLIDWORKS Forums
1 day ago
I have been doing some really cool stuff in Powerapps to consolodate data across our company. I would like a little boost on this next function... I want to create a BOM from the latest released/approved assembly, just from using the SQL tables. I have had great success using the tables for extracting other information, at this point, I am ready to attempt this.
SOLIDWORKS Forums
1 day ago
I want to be able to run a pressure vessel study through the api. However, unfortunately ICWStudy.RunAnalysis() fails if the studies it depends on are out of date. I would expect that it simply runs the required studies but unfortunately that is not the case. I was thinking i could find and run the dependent studies but i cant find anywhere in the API that gives me information on the dependent studies.
SOLIDWORKS Forums
1 day ago
Imports EdmLib Public Class Class1 Implements IEdmAddIn5 Public name As String Public Sub GetAddInInfo(ByRef poInfo As EdmAddInInfo, poVault As IEdmVault5, poCmdMgr As IEdmCmdMgr5) Implements IEdmAddIn5.GetAddInInfo 'Specify add-in information poInfo.mbsAddInName = "My first add-in" poInfo.mbsCompany = "The name of my company" poInfo.mbsDescription = "This is a very nice add-in." poInfo.mlAddInVersion = 1 'Specify minimum version of SOLIDWORKS Enterprise PDM poInfo.mlRequiredVersionMajor = 5
SOLIDWORKS Forums
1 day ago
Now, i delete all mates of selected component, but, the problem is,when i removed those mates, the direction of the component is changed. you should know that, from the begining i forced the direction of the mate withswMateAlignANTI_ALIGNED.
SOLIDWORKS Forums
1 day ago
Jive Software Version: 2018.10.0.1_jx, revision: 20181102150941.22e8dc7.release_2018.10.0-jx
SOLIDWORKS Forums
1 day ago