I hope that somewhere (any computer port or other third-party software) can listen to the eDrawing Pro software, users can click on the component tree or 3D model to get the user's click event.
I hope that somewhere (any computer port or other third-party software) can listen to the eDrawing Pro software, users can click on the component tree or 3D model to get the user's click event.
I mean,I want to get the selection event of the eDrawing Pro program, not the event of the secondary development interface. Similar to a program listening to events generated by another program, I don't know much about VB's delegation mechanism. Are you sure that this idea is feasible?
I'm no sure what you mean by
secondary development interface
Are you sure that this idea is feasible?
I'm not sure what you are trying to achieve so cannot really tell. Could you please clarify what you are trying to do?
Hi;
Thanks!
What we want to do is to add a customized button named {view related technical documents} as show in above pic. A new window popup which show all related technical documents (the relationship is stored in SolidWorks Enterprise PDM) of the part selected if we click this customized button.
Is this idea is feasible?
Thank you for the clarification. As far as I know eDrawings cannot be extended. You can put eDrawings control onto the form as ActiveX control and extend it. So you can create custom control and place eDrawings onto it. You can add buttons to your form and handle the event I mentioned to see what component is selected and then when button clicked - display the custom page. I understand, that it is not exactly what you are really asking for.
Take a look at _IEModelViewControlEvents_OnComponentSelectionNotify2EventHandler Delegate in eDrawings.Interop.EModelViewControl