i've downloaded the vb.net addin template from:
http://www.solidworks.com/pages/services/APIDownloads.html
and opened it up fine. it works great, and shows how my macro can now look... but...
the menus disappear when you open an assembly, which is the one time i need them to appear. i can't...
sorry bout the subject.
I'm working with pipe fabrications in subassemblies within a main assembly. the problem i'm having is that my configurations in the main assembly can only determine wether or not each entire subassembly is suppressed. if i want only half of a subassembly to show in one...
I'm traversing the feature tree looking for parts, because they're organised in folders. the problem i'm having is the fact that all folders contain an assembly. i can find assemblies, but can't get the parts they contain. if i have a variable (as feature) that is the assembly, how do i open the...
I've got code that creates a drawing, inserts views, and inserts a table (not excel based) and adds a row to the bottom... now i need it to add a sum/total cell to a column, but i can't find how, or if it's even possible...
anyone done this successfully before?
I've made a macro to do some manipulation of BOM information that can take about a minute to run, depending on assembly size. while it's working in the background, there's no way to tell if it's working, or if it's crashed completely.
is there any way to show a status bar or even a form that...
My parts all have the following 4 attributes stored as text:
Size
Standard
Rating
Type
i need to keep them separate in the design tables for sorting/grouping purposes, but want them in one column on my BOM.
I'm trying to use SW's table-based BOM, but can't figure out how to show all 4 items...
I'm trying to change an entry in a design table, but can't get it to work. i don't understand the required syntax. here's what the help file says the syntax needs to be:
void DesignTable.SetEntryText ( row, col, textIn )
what goes in place of the void? if i put nothing int, it expects a = at...
SW2005, if it makes a difference....
I'm using API to create some drawings, and this (of course) involves some transformation matrices to convert between the different coordinate systems (component -> assembly -> drawing)
I've got a simple piping assembly made up of 90° elbows and pipe...
I seem to have had an error a couple of days ago and it's crippled my vbe big time.
the 'insert' option is completely gone from the menus, my file menu now has only 'export' and 'print', the 'tools' menu only has 'options', etc.
i can't change references, and so i can't do a lot of coding i...
I'm working on a macro, and want to dimension some pipe. all i really need to dimension are the centre lines.
i've got code that uses get centrelinesketch and getlines2 which returns an array that has data for all the centre lines in the view i've selected.
the example they have for getlines2...
i'm trying to insert a bom through API, but i'm having trouble.
here's my code line:
boolstatus = swview.InsertBomTable("C:\Documents and Settings\Administrator\Desktop\bomtemp.xls", 0.2794, 0,"?")
i can't figure out what goes in the "?" place. according to the help file:
Output: (long)...
I have a parts library of about 1500 parts. the format of the design tables is being overhauled, and i need to get rid of the 'description' custom property in each configuration in each part file.
I have code to open and close all the files, but i can't get code to delete the config-specific...
i'm trying to estimate assembly time, and we have rates for assembly of pipe as a function of cut length. is there a way to reference cut length in a custom property in the design table to output to a BOM?
I'm working on a macro to go through about 1900 part files in 150 directories and exporting their design tables to excel files. everything's working fine, but some parts are saved in 2004, and i'm working in 2005, so when the part is opened, i get a message saying it will be converted when...