API/Macro with MBD: Can't get Imported Notes to show in 3D PDF using theme

 I'm trying to use a macro to use the MBD plug-in to publish 3d PDFs.  I was able to use the VBA example to publish an assembly to a 3d pdf using a theme, and got all my custom properties to show.  But I can't figure out how to use the API to choose a note & use it to fill the Imported Note field in the 3d PDF (like I can using the Notes & Text Area when manually publishing to a 3d pdf using a theme)


Adding in the line boolstatus = swMBDPdfData.SetImportedNote(noteName,note)causes solidworks to crash after capturing all the views, while generating the PDF.  PDF with the theme but nothing else in it is generated.
If I don't include that line, everything  is in the PDF except the imported note field.

 

EDIT - I'm told SetImportedNotes causing crashing issues is a bug that is now being worked on under bug report # BR10000422365

Mbd3dpdfimported notes