几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】help with api or macro (http://www.dimcax.com/hust/showthread.php?t=4730)

yang686526 2009-04-12 09:04 PM

【转帖】help with api or macro
 
help with api or macro
does anyone know of a macro that will rename planes (to specified values) and set them to auto-size?
would this be difficult to make? i have no developmental experience with macros/api's?
thanks,
best regards,
jason a. corl | bsme
senior product development engineer (radio control race car engineer) | cad admin
associated electrics, inc. | lake forest | ca
solidworks 2009 | sp2.0
dell t7400 | qc-xeon | vista 64bit | nvidia fx1700 | 2gb ram | 2x 24" lcd | spacepilot | ms trackball optical
skypeid/gtalk: jcoeng
member: tau beta pi | asme | sae
it would not be too difficult to do. there is a sample "create and name planes example" in the solidworks 2008 api help file. there is an method to set it's autosize to true, refplanefeaturedata:;autosize.
wayne matus
texas engineering systems
the refplanefeaturedata::autosize has a bug and does not work, at least for me i created a simple macro to do just this about a year ago and could never get the autosize function to work no matter what i tried


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