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

yang686526 2009-04-12 09:05 PM

【转帖】hide 2 among 3
 
hide 2 among 3
i opened three part files simultaneously. now i want to work on only one of them and hide the rest two. i don't want to close the rest two because i need write some data to these two files. is there any api to hide moddoc2?
many thanks
newform
modeldoc2::visible
hi, luke,
thank you very much for your help.
i am using solidworks 2009 right now. it seems that it uses only interface and many api functions are obsolete. thus, i am wondering if i need change the code of my add-in ever developed for solidworks 2008. do you have any comments on this issue?
thanks again for your help.
newform
the visible property is not obsolete in 2009 i use it also.
as for re-designing a add-in designed for 2008, no. obsolete functions are still kept in the libraries almost indefinately for backwark compatibility, it is just an advisory to update your code not a necessity.
thank you, luke.
really appreciate the information provided.
quick


所有的时间均为北京时间。 现在的时间是 12:49 AM.