How to determin the dimension if it is mark for drawing?

Hi Everyone,

I have the parts that with the dimensions that some are set "Mark for drawing", but some are unchecked that option . I need to do something on the ones checked this option, and the ones unchecked , we do nothing on it, so I need to a macro to handle this proces in batch.

How can we determin it by API(*.swp)  ?  Thanks.

regards

Vincent

SolidworksApi macros