几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】retreiving bom quantity (http://www.dimcax.com/hust/showthread.php?t=4556)

yang686526 2009-04-12 07:28 PM

【转帖】retreiving bom quantity
 
retreiving bom quantity
i have a large number of files that someone may have incorrectly set the "bom quanity" field in the custom properties to something other than "-none-". is there a way to retreive this field from a macro so i can clean these up?
bill,
there are many macro available over net. have look on
i think i found what i was looking for:
if the "bom quantity" dropdown is filled out (other than "- none -"), then it creates a custom property called "unit_of_measure" and assignes it the name of the property selected. it is the value of the specified property that is used in the qty field on a bill of materials table.
once it is used, setting it back to "- none -" leaves the custom property but assigns it the value of "- none -"
bill
quick


所有的时间均为北京时间。 现在的时间是 04:41 PM.