How do I display the names of assemblies in which a part is used on the drawing of that part?

Hi all

I would like to know if it is possible to retrieve the names of the assemblies where a part is used and then fill them in on a plan?

This is similar to the process of individual part properties.

Fingers crossed :)! 

Thank you.

Hello

Look  here if it can help you.

Hello ac cobra 427,

Can you describe, in a few lines, the method that may make it possible to solve this question? 

With solidworks explorer, click on the assembly or your part then go to the "used in" tab and there you will have the result of your request.

1 Like

Good evening Ac Cobra

Unable to access the link because message on  Lyncoa

The hostname of this website's security certificate differs from the hostname of the website you're trying to access.

Error code: DLG_FLAGS_SEC_CERT_CN_INVALID

It did that to me for a while and then the PB seemed to be gone, whether it was on IE or Firefox.

In fact, if you override the security alert, you can still access it, but it's very risky.

Hi Zozo_mp,

I'm chorm and it works well... the link points to a similar question about Lynkoa...


img_20190310_215548_544.jpg

Thank you ac cobra ;-)

Hi all 

Thank you for your answers :). However, all these methods must be carried out manually outside of a drawing. 

Is it possible to retrieve the names of assemblies where a part is used in the same way or almost the same way as the one that allows you to retrieve its properties on a drawing?

 

Unless you make a macro that queries a defined set of files and creates a note with the result, the answer is no.
Given the processing time, with SW Explorer alone, having a dynamic link that displays such a list would be a disaster in terms of file opening time.

2 Likes

Thank you for your answer, I don't know enough about macros yet. I think I'll dwell on that a little bit.

Do you have any beginner tips to advise me?

Hello

there are Add-Ins and Add-Ons, some of which are partner products.

As an example, here are some

Here is an example of an interesting tool for assemblies

In the partner products there are more than 400 proposals you have to dig a little, it's not free but it can be very useful.

However I read "beginner tracks"  so ????

1 Like

Thank you for your leads.

 

I'm going to take a look at that.

 

Thank you again!

Hello

To start with macros, any course on the vba can do the trick like this one. After that, all you have to do is use the functions available in the Solidworks API, you can find them HERE, the ones that will interest you the most are in the SolidWorks.Interop.sldworks namespace.

Regarding your problem, I doubt that a simple macro is really viable unless your amount of assembly to analyze is small.

That's when you think that a database is still very useful:)

For your information, how many assemblies do you have to analyze?

Kind regards

1 Like