Question: How to insert an image into drawing sketch of active sheet in a drawing document using iLogic code?
Answer: After creating a drawing sketch in Inventor (UI or API), the image cannot insert as image command is grayed out (shown in below image). The insertion of image is not supported in drawing sketches.
So, another way is to insert an image through sketched symbols. For reference, there is already blog on Sketched Symbol which talks about the creation of Sketched Symbol. The same blog link is given below.
https://adndevblog.typepad.com/manufacturing/2012/08/creating-sketched-symbols.html
Using the same blog reference, below iLogic code can be used to insert an image into drawing sketch of active sheet in a Drawing document.