0 Replies Latest reply on Jun 4, 2015 4:04 AM by Greg Cocks

    IModelDocExtension::InsertAttachment opens dialog

    Greg Cocks

      I've got a program which calls IModelDocExtension::InsertAttachment() to add a macro file to a document, but instead of adding the SWP file silently, it opens the Insert Attachment dialog and you have to select the Attachment manually.

       

      Any suggestions as to why the function call doesn't just add the SWP file without opening the dialog, please?