5 Replies Latest reply on Jan 10, 2014 3:50 AM by Sanjay Phadke

    Insert block with block attached to mouse.

      I am programmatically inserting a block into a drawing using the MakeSketchBlockFromFile function. This function requires a MathPoint for the position of the block, but I would like to have the user place the block on the drawing instead. I basically want to mimic the functionality of the Tools-Block-Insert menu item.

      Is there another API function that I have missed that will allow me to insert a block, but have the block attached to the mouse instead of specifying a specific location?