One way to do this with no programming (but it would be nasty to maintain and wreak havoc if using a PDM) would be to create a custom property in each component named for each of the parent assemblies the component is used in. Set the value of the CP to the item number you want to have in your table:
Property Name Type Value/Text Epxression Evaluated Value
Parent_Assy_1 Text 7 7
Parent_Assy_2 Text 3 3
Parent_Assy_3 Text 16 16
You get the idea. Now in the table on drawing Parent_Assy_3, all the components would get a new custom property with the Property Name "Parent_Assy_3", and you make sure the setting is what you want within each component file.
It would work, but I think it would be nasty to handle, as it requires every component be updated with each new assembly it is used in.
One way to do this with no programming (but it would be nasty to maintain and wreak havoc if using a PDM) would be to create a custom property in each component named for each of the parent assemblies the component is used in. Set the value of the CP to the item number you want to have in your table:
Property Name Type Value/Text Epxression Evaluated Value
Parent_Assy_1 Text 7 7
Parent_Assy_2 Text 3 3
Parent_Assy_3 Text 16 16
You get the idea. Now in the table on drawing Parent_Assy_3, all the components would get a new custom property with the Property Name "Parent_Assy_3", and you make sure the setting is what you want within each component file.
It would work, but I think it would be nasty to handle, as it requires every component be updated with each new assembly it is used in.