Need to know correct "sg:CADEditorControl" event name
Moderators: SDS, support, admin
-
- Posts: 32
- Joined: 20 Jun 2019, 16:40
Need to know correct "sg:CADEditorControl" event name
Hi Team,
I am using "sg:CADEditorControl" editor in one of my POC. What I want to accomplish is whenever I upload the new .dwg file I want to calculate ram and memory usage used by my application. I tried by adding WindowsForms Host1_TargetUpdated, WindowsFormsHost1_FocusableChanged, and WindowsFormsHost1_ChildChanged events in the application. However, when I run the application for the very first time it executes the called function inside these events, however, when I upload the new file in 2nd term these events are not triggering. Could you please tell me which event I need to use in the application to get this working.
Thanks,
Shiv
I am using "sg:CADEditorControl" editor in one of my POC. What I want to accomplish is whenever I upload the new .dwg file I want to calculate ram and memory usage used by my application. I tried by adding WindowsForms Host1_TargetUpdated, WindowsFormsHost1_FocusableChanged, and WindowsFormsHost1_ChildChanged events in the application. However, when I run the application for the very first time it executes the called function inside these events, however, when I upload the new file in 2nd term these events are not triggering. Could you please tell me which event I need to use in the application to get this working.
Thanks,
Shiv
Re: Need to know correct "sg:CADEditorControl" event name
Hello Shiv,
You may try to use a CADEditorControl.EndLoadFile event, it is triggered once the drawing file is loaded into CADEditorControl.
Mikhail
You may try to use a CADEditorControl.EndLoadFile event, it is triggered once the drawing file is loaded into CADEditorControl.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 32
- Joined: 20 Jun 2019, 16:40
Re: Need to know correct "sg:CADEditorControl" event name
Thank you so much, Mikhail, for your help. Really appreciate your help!
Regards,
Shiv
Regards,
Shiv