Thanks your reply. I read this article.
I attached Asm1.SLDASM parts files and macro.
My macro is select to 4 dimensions.
Selected 2 dimensions (this dimension is have Asm1 file)
But can"t select 2 dimensions (this dimension is have Part5 file)
(Select is highlight)
Asm file into avialable 2 dimension select is normal "RD5@Annotations@Asm1.moAssembly_c" and "RD4@Annotations@Asm1.moAssembly_c"
Part5 file into avialable 2 dimension select is bad ( not selected ) "RD2@ｱﾉﾃｰﾄ ｱｲﾃﾑ@Part5.moPart_c" RD5@ｱﾉﾃｰﾄ ｱｲﾃﾑ@Part5.moPart_c
How to select reference dimension Part5 file by (Api and macro)
It is possible Solidworks API and MACRO ?
Asm1.SLDASM included Asm2, Asm2 included Asm3
Asm1 included Part1 and Part2
Asm2 included Part3 and Part4
Asm3 included Part5 and Part6