几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】pdme addin how to determine if current user has file checked ou (http://www.dimcax.com/hust/showthread.php?t=4855)

yang686526 2009-04-12 10:00 PM

【转帖】pdme addin how to determine if current user has file checked ou
 
pdme addin: how to determine if current user has file checked out?
in pdmworks enterprise, does anyone know how to determine if the user who initiated a command has the selected file already checked out.
my addin requires that the selected file be checked out to perform the action. i think i can handle the exception e_edm_file_not_locked_by_you, but i would rather test for this condition so that an exception is not thrown.
any help would be greatly appreciated!
thanks,
justin
justin holwell
principal mechanical engineer
sw 2008 sp5.0
pdmwe 2008 sp4.0
quick


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