Group components in an assembly

Good evening

 

  Here's the idea: I have an assembly in SW with 52 M5x20 screws (which have a number) but I also have nuts and washers etc etc it makes a super large shaft for not much, the important parts are lost in this shaft. Until now, all these references are put in a folder to "decontaminate" the tree, but it is tedious and a source of error. So all this to ask, is there a way to group the same parts together? Like there are 52x reference 1 below 52x reference 2..... instead of reference1<1> then below reference1<2>....

   If it's not an option, does a macro exist?

 

 

Thank you and have a good evening

 

Well seen the idea of the macro! There are specialists for that here!

I'll probably be interested!

If you must be able if your parts are defined in purchase ext for example screw library

Create an external purchase folder (Screws or external purchase) in the Feature Manager

To do this, they must be declared as in the personal property of these said screws 

which of + is you must also be able to import an assembly of screws, washers and nuts  in a single element that includes these key elements

@+ ;-))

In your feature manager you also have the option to sort your elements

via the search box of it search filter

This sorting can be done in the same way 

if you have indicated in the personal properties that it is

workshop, purchasing, mechanic, sheet metal work etc.......

@+;-))

Hello I would advise you to use the selection filter of the Feature Manager, it allows you to filter by name: http://help.solidworks.com/2013/french/SolidWorks/sldworks/t_filtering_the_featuremanager_design_tree.htm
1 Like

Otherwise there is also the advanced selection, in the Tools menu > Component Selection > Advanced Selection, and if the library parts have a special property like isfastener=1 then it is very simple to select them all.

The idea of @.PL is a good one, especially since the filter doesn't just look at the file name, but also at its custom properties.

So even if your hardware stores have encoded file names, you can type in "Screws" and the filter will look at the properties!

1 Like

Hello

It is not possible to classify identical components other than using folders.

The number found between the symbols "<x>" is used to identify the occurrence to be parameterized (in constraints, in a family of parts in equations...)

As indicated by other members, it is possible to use the selection filters to quickly select components and add them more quickly to a folder or the feature manager's search box

1 Like

Hello

Otherwise to make it very simple, you have to create a screws folder and put all the parts concerned in it it allows you to gain a lot of clarity without having to worry about it, for very large assemblies it's good to make several files depending on the type of part it helps to quickly find what you are looking for and sort it.

From experience, I have noticed that few people use repeat-driven component repeats (which involves using the wizard for drilling in parts).

And then, in the office, unfortunately, we didn't find any other solutions than the files (which you have to do as you go along)

Thank you for your constructive answers!

We use folders as well but the idea of "special property + advanced selection" is interesting, it would save time and know exactly what we select. On the other hand, this property should be added retroactively:(

 

 

I have an excel file that lists all the parts that exist.

In this excel file I have the "supply" category. In this same excel paper I have the designation and the name of the part.

So if I manage to scan the components that make up my assembly, I check if this component is a supply in the binder, if so it moves this component to the "supply" folder. If by chance, this same component has the designation "Screw xxxx" boom it goes from the "supply" folder or the "screws" folder.

That would be magical!

 

Hello gentlemen,

Can anyone help me with a macro via Excel please?

 

Hello

 

   any idea for this excel / SW macro link?

Well I'll try to make a link with excel, it seems to me the nicest method.

I can look for the excel macro ;-) But a little more detail is needed.

That would be great.PL

What do you need?

There I managed to export my parts list from SW to Excel
I have to assign a category to each piece (thanks to a list already established)
I have to do this sorting from a macro in SW but I don't know the syntax to manipulate cells from SW in xls...