How to extract notes from solidworks drawing without opening drawing

Hello,

I am wondering if there is a way to read the notes from a drawing that doesn't require the drawing to be currently open in solidworks.

I have been looking at the document manager, but it doesn't seem to return the drawing notes.

Any help is appreciated.

Thanks,

SolidworksApi macros
Answers 4
AT
AT 2013-09-18 Best Answer

No, I’m afraid this cannot be done.

____________________________________________________

Regards,

Artem Taturevych, Application Engineer at Intercad (Australia)

translationXpert – add-in to translate SolidWorks models

myIntercad – an integrated tool for SolidWorks Professionals

LinkedIn SolidWorks API Education Group

JC
JC 2013-09-30

your only option is to launch solidworks silently and get the data. I have done this before but there are certain things that do not work. you have to create a new instance of solidworks. then set the active doc to the file you need to reference. i believe the only api you can use is sldworks. don't quote me on this though.

ST
ST 2013-09-30

Jacob is correct. But why not think laterally and use custom properties instead of notes?

The notes in your drawing can be linked to custom properties, and custom properties can be accessed outside of SolidWorks (using the SWDocumentMgr API)

SF
SF 2013-09-30

Hello, Okay this sounds like a good solution.

In solidworks how would I create a customer property that holds the notes information? Which variable would I use?