Macro Fingerprint Function

Hello

I'm working on a macro project that includes a fingerprint function. Only, when I do a test, the function is well created but impossible to choose which body to keep.
If anyone has an idea of how to open the body selection window, that would be great!

I used this solidworks guide:

http://help.solidworks.com/2019/English/api/sldworksapi/Insert_Cavity_Example_VB.htm

But the result is the same. It does not propose to choose the body.


Kind regards


Vincent

Hello. 


I found my answer in the API help. And what's strong is that it's not even in the help of the Insert cavity method but elsewhere that I found the info. 

You can't choose which body to choose when you do the function via VBA, C++, etc. This is a software limitation. Too bad. The same goes for cutting a part with a surface or a sketch, for example. 

Thank you in any case!