Skip to main content
13-Aquamarine
September 20, 2022
Solved

Replace Component By Family Table - Family Tree Show Table by default

  • September 20, 2022
  • 1 reply
  • 1490 views

Does anyone know if there is a config.pro param that can be set to Show Table by default when Replacing a Component by Family Table in an asm?

REPLACE_COMPONENT_FAM_TAB_SHOW_TAB.png

Best answer by Tdaugherty

Here's a mapkey that you can start from. You'll need to replace the bold text with the parameter name that you want to show in the table. 

 

!!!REPLACE SELECTED BY FAMILY TABLE
mapkey RFT @MAPKEY_LABELREPLACE SELECTED BY FAMILY TABLE;\
mapkey(continued) ~ Command `ProCmdReplComp@PopupMenuTree` ;\
mapkey(continued) ~ Activate `gen_repl_dlg` `PB_NewComp`;\
mapkey(continued) ~ Activate `mdlbrowser` `SwitchCol`;\
mapkey(continued) ~ Update `column` `InpName` `desc`;\
mapkey(continued) ~ Activate `column` `AddBtn`;\
mapkey(continued) ~ Activate `column` `OKBtn`;

1 reply

23-Emerald III
September 20, 2022

I don't think so.

You can probably automate most of the picks with a mapkey that would get you right to that screen that you want it to be.

 

16-Pearl
September 20, 2022

Here's a mapkey that you can start from. You'll need to replace the bold text with the parameter name that you want to show in the table. 

 

!!!REPLACE SELECTED BY FAMILY TABLE
mapkey RFT @MAPKEY_LABELREPLACE SELECTED BY FAMILY TABLE;\
mapkey(continued) ~ Command `ProCmdReplComp@PopupMenuTree` ;\
mapkey(continued) ~ Activate `gen_repl_dlg` `PB_NewComp`;\
mapkey(continued) ~ Activate `mdlbrowser` `SwitchCol`;\
mapkey(continued) ~ Update `column` `InpName` `desc`;\
mapkey(continued) ~ Activate `column` `AddBtn`;\
mapkey(continued) ~ Activate `column` `OKBtn`;