Hello all,
My current set up is that I have a macro that creates a bunch of custom properties, including a drawing number, and then saves them to the current open drawing sheet.
I would like to be able to insert a BOM table with a colomn to display the drawing number of each part when doing an assembly drawing.
However, my problem is that when I try to edit BOM table to include a colomn with the "drawing number" custom property, There is no option to select it. This is because that custom property has been assigned, by the macro, to the drawing sheet and not to the actual part.
I was wondering if anyone knows how to save a custom property to the part file. I would like to incorporate this into my current macro which is executed in drawing sheet.
I am using Solidworks 2011 x64 SP3 on Windows 7.
Thanks,
Naj
Message was edited by: Najah Nissan. Attached code file for current macro to be edited.
SolidworksApi macros