Search results from your query.
Categories:
Sort:
Frist, I'm a rookie at writing macros. But I have written some simple macros. Here's my question: I want to load my macro on another someone else's computer. But when he runs the macro he gets an error.
SOLIDWORKS Forums
18 minutes ago
So, after doing a bit of research and wrote this macro to cycle through the sheets in a drawing and update their format: boolstatus = swDraw.SetupSheet4(SheetName(i), 12, 12, 1, 2, False, "Y:Engineering1_Engineering Technical Library8_LigisticsCAD ToolsSolidWorksTEMPLATESOPER SHEET -A-.SLDDRT", 0.2794, 0.2159, "Default")
SOLIDWORKS Forums
4 hours ago
Solidworks 2017 Selection Macro Error We have a macro that in previous versions of Solidworks, was able to cycle through the planes of a part. This macro helps us to mate quicker as we can quickly grab the planes on two parts and mate using just hotkeys.
SOLIDWORKS Forums
6 hours ago
I have a SketchBlockDefinition in a drawing. The drawing has just one sheet.
SOLIDWORKS Forums
6 hours ago
I need to process an assembly. and create a combined PDF of the assembly drawing and all the details drawing...anyone ever done anything like this... Can i combine PDF's from within SolidWorks VBA API?
SOLIDWORKS Forums
8 hours ago
Is it possible to make Solidworks show the total number of a particular part i have in an assembly in the drawing stamp of that part? ,drawing sheet format
SOLIDWORKS Forums
9 hours ago
I tried many times to record macro to update view . No success so far so decided to take expert help. I received assembly in different orientation.
SOLIDWORKS Forums
15 hours ago
Hello, I have no programming skills and have found a couple macros that will save a drawing as a .PDF. These are great but i would like to save the PDF name as the part configuration name followed by the drawing sheet size then the rev. letter. Thank you for taking the time.
SOLIDWORKS Forums
15 hours ago
I used the "Add and Remove Programs" feature to uninstall Visual Basic from my Windows 7 Ultimate workstation, not realizing that SolidWorks needed it. I've re-installed MS Visual Basic 2010 Express, and noted that a new "C:Program Files (x86)Common Filesmicrosoft sharedVBAVBA6VBE6EXT.OLB" file was created the first time I launched the app, but alas, SolidWorks is still throwing up the same message every time I launch:
SOLIDWORKS Forums
1 day ago
I have been finding lots of different macros to apply appearance and/or materials. However the material of the part must be known before, and the appearance is only an RGB number. I'm trying to figure out how to apply a .p2m appearance file to a part, based on the already applied material. I was hoping to do a lookup and an If/Then action.
SOLIDWORKS Forums
1 day ago
I use DocumentManager to the mass from all configurations: Sometimes I get a swDmMassPropErrorNoData-error for a configuration. When I open the file in SWX, change to this configuration and use swModel.Extension.GetMassProperties, I get the mass.
SOLIDWORKS Forums
1 day ago
I have some problem when i try add custom property to cut list by docmgr. when i add custom property i cant see it by SW, only by docmgr.
SOLIDWORKS Forums
1 day ago
when I faced the problem, that you cannot change the configuration of sub level assemblies components with I have created an iterator function, that always ensures to use assemblies as new root while traversing:
SOLIDWORKS Forums
1 day ago
How to get the sectionview cut in Components?Does anyone know about it? Need to make a cut in component with respect to section view,whether am i correct?
SOLIDWORKS Forums
1 day ago
For the life of me I can't figure out how to programmatically modify my equations via VBA. I've tried: Assignment to theEquationManager.Equationproperty
SOLIDWORKS Forums
1 day ago
Hello, I have a sketch with a spline and several planes intersecting it. Is there a way to get the points where the reference planes intersect the spline programmatically? Maybe using 3D sketches?
SOLIDWORKS Forums
2 days ago
I have a sketch block definition that contains a circle. The center of the circle is the origin for a coordinate system. At runtime, I will add lines to the block sketch where needed.
SOLIDWORKS Forums
2 days ago
I tried to search but failed to succeed. Is someone aware of macro that can help me assign all my views (section, details) on multiple sheet to a BOM. Could you please clarify what are you looknig for.
SOLIDWORKS Forums
2 days ago
Hello all, is there an easy way to export a BOM from an assembly and maintain the formatting of the text? I'm basing my code on this example:
SOLIDWORKS Forums
3 days ago
as the title states, I would like a macro that has 3 steps; Forces Rebuild (ctrl+q) of the current document, then iso view (ctrl+7) if its a part or asm, or zoom to fit (f) if its a drawing, then save the document (ctrl+s). I found some macro's that are close to what I want;
SOLIDWORKS Forums
3 days ago
someone can change this Macro to browse a Folder? (not Daten-CAD). I would like this lines inside:
SOLIDWORKS Forums
3 days ago
I have a following code which is not allowing me to save file to PDF. I was wondering if someone can help me with it. This code, checks if a folder exists and if not it creates the folder, add revision number to the file name.
SOLIDWORKS Forums
3 days ago
I am keen to know about how I can load Solidworks in invisible mode, to perform several query operations on a model in invisible mode? I hope there might be an option in Solidworks, which can load Solidworks session withour loading UI.
SOLIDWORKS Forums
3 days ago