How to change bomtable's referenced Model configuration?

Dear all

I can change view's Referenced Model configuration use Api ChangeRefConfigurationOfFlatPatternView

But it is doesn't work to bomtable

how to change bomtable's referenced Model configuration?

if i can't change it's referenced Model configuration,I need to delete the Bomtable  and re-insert it.SO studpid

further More ,how to set or change bomtable's Layer use Api

Yuan zhengjun

ShangHai,China

SolidworksApi macros