PREVIEW IMAGE PART DOCUMENT, ASM DOCUMENT OR DRAWING DOCUMENT.

Hello, this is the first time I write here ....

I'm making a program to insert parts directly in an assembly and copy the file and the assembly drawing.

But I have two problems.

1. - As I can not show a preview of the piece you want to insert.

Like the preview that has solidworks part in the library.

I have seen many codes and I tried but no way.

2. - As insert a part into an assembly. I do not see how ...

Thanks in advance.

And I'm sorry for the Spanish and English language mastery.

In this example, see preview image.

SolidworksApi macros