Page 1 of 1

Need to know correct "sg:CADEditorControl" event name

Posted: 04 Jul 2019, 08:26
by shivajitheboss
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

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

Posted: 04 Jul 2019, 17:26
by support
Hello Shiv,

You may try to use a CADEditorControl.EndLoadFile event, it is triggered once the drawing file is loaded into CADEditorControl.

Mikhail

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

Posted: 05 Jul 2019, 10:01
by shivajitheboss
Thank you so much, Mikhail, for your help. Really appreciate your help!

Regards,
Shiv