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

yang686526 2009-04-13 09:27 AM

【转帖】calling a pmp remotely
 
calling a pmp remotely
hi everyone,
i have written an addin that creates a property manager page (pmp).
now i am working on a standalone application for solidworks and i wonder if i can somehow call my pmp remotely i.e. from my standalone exe.
input will be appreciated!
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
you can make a pmp using a standalone app but you will not get the callback events so it is pretty useless.
as for calling it remotely you can try calling a macro using runmacro that creates the page for you, other than that you will have to either make the standalone app an addin in-process or create an in-process add-in in addition to the standalone app, make it com visible, and then call a public method of that add-in from your standalone app that will create the pmp
thanks luke,
can you please give me some more info on
create an in-process add-in in addition to the standalone app, make it com visible, and then call a public method of that add-in from your standalone app that will create the pmp
is there any information about this available in the sw api documentation?
cheers,
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
no there won't be any help in the api it is quite a special thing to do. i am on holiday at the moment so not on here much but next monday i will write a tutorial on a6 for u
cheers luke,
that'd be fantastic.
--stav.
in this world i am nobody...
and nobody is perfect ;) !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
quick


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