Room Family: PROMOTE

I want to be able to control the "Pormouvoir" option via the part family, but I can't do it.

Someone have an idea

 


2015-02-06-famille_de_piece_-_promouvoir.jpg

Hello

 

Are you using the same configuration in the parent assembly?

Edit: sorry, I didn't understand the question.

A priori same problem here and no solution:

https://forum.solidworks.com/thread/67554

 

There is a request for improvement on the SolidWorks website, so it doesn't exist, sorry!

SPR #:640695 

Status:Open

 Fixed in:none none

 Area:Assemblies

 Sub-Area:Table - Design Table

 Customer Impact:Medium

Summary:

Provide promote (BOM options) option in design table

 

Link:

https://customerportal.solidworks.com/eservice_enu/start.swe?SWECmd=InvokeMethod&SWEMethod=GotoRecord&SWEService=SWGotoRecord&ViewName=SW+All+Defects+List+customerportal+-+Search&BusObject=Product+Defect&BusComp=Product+Defect&Id=1-14J1NKB&SRN=

 

1 Like

@.PL,

My assembly (with a multitude of configurations) is an assembly of a nut + flat washer + grower washer.

 

In a nomenclature I don't want to see the assembly but the parts that make it up.

I know how to do it manually, configuration/configuration.

Yes indeed@.PL,

From the part family you can fold:

  • Show
  • Hide

but not the Promouvoir, I'll have to do all the configurations by hand (it's the loose !!!)

FYI:

From the family of parts the pamarètre is:

$JAMAIS_EXPAND_IN_BOM

  • YES: Show
  • NO: Hide

 

 

Yes and as I indicated in my 2nd message, there is a request for improvement that has been made so that this option is accessible via the parts families, but it is not yet done. So no solution.

On the other hand, it is possible in VBA, the instruction is:

 

swConfig. ChildComponentDisplayInBOM = swChildComponentInBOMOption_e.swChildComponent_Promote

An example is given here:

http://help.solidworks.com/2015/English/api/sldworksapi/Add_Configuration_and_Promote_Child_Components_in_BOM_Example_VB.htm

To iterate on all configurations, see here:

http://help.solidworks.com/2013/english/api/sldworksapi/Forcibly_Rebuild_All_Configurations_Example_VB.htm

 

2 Likes

You couldn't give me a little macro, because I VBA I don't master.

Thank you.

Another question? I don't know if I'll have time today and maybe someone else will be interested.

@.PL,

It's not urgent

But this question is solved, so you won't be able to choose the macro as the best answer = very little visibility...

Ok, I didn't understand.

I create a new question.