Macro to get OBD and Factor into Property Manager

Hello All,

Our Company Purchased Solid Works this week and I need a little help. I need to write a macro that when a sheet metal part is drawn it will retrieve the k-factor and obd used to program the part and place it in the property manager. I assume then I can create fields and link them back to the property manager.

My overall goal is to get the OBD and K-Factor on the draft file easily with out having to physically type it everytime.

I have pretty much no clue about the API Language but I do know some PHP and MYSQL but that probably does not apply here. Any help or examples where someone has retrieved data and sent it to the property manager would be great.

SolidworksApi macros