Need to know correct "sg:CADEditorControl" event name

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
shivajitheboss
Posts: 32
Joined: 20 Jun 2019, 16:40

Need to know correct "sg:CADEditorControl" event name

Post by shivajitheboss » 04 Jul 2019, 08:26

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

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Need to know correct "sg:CADEditorControl" event name

Post by support » 04 Jul 2019, 17:26

Hello Shiv,

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

shivajitheboss
Posts: 32
Joined: 20 Jun 2019, 16:40

Re: Need to know correct "sg:CADEditorControl" event name

Post by shivajitheboss » 05 Jul 2019, 10:01

Thank you so much, Mikhail, for your help. Really appreciate your help!

Regards,
Shiv

Post Reply