Event for model change

Technical discussions
Post Reply
atrev
Posts: 24
Joined: Tue Jul 30, 2013 9:19 am

Event for model change

Post by atrev »

Is there an event the control can pass back to the application to let it know a change has occurred.
eEditEventModelStructureChanged and eEditEventItemStructureChanged sound like what we're after, but they don't work in 3d Views?

thanks

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Event for model change

Post by nickz »

Hi atrev
All events raised by KC are enumerated in
http://www.dynoinsight.com/Help/DITypes.aspx#EDIEvent

The mouse events are raised by its special events
Apart from that there are:
- Client Draw event raised on each redraws of window
- Collision event when there was a collision of registered objects for that
- Something was selected in the context menu
- The end user selected simplexes or vertices in the direct access mode
- End user changed selection of objects in the Model Explorer tree
- The eEditEventModelStructureChanged and eEditEventItemStructureChanged which come from the 2D overlay editor http://www.dynoinsight.com/Help/Geom/View/Overlay.aspx

It would be easy to add another notification type via the generic KernelCADEvent. Contact us to request this
See also Updating Explorer in http://www.dynoinsight.com/phpBB3/viewt ... f=3&t=2877
Nick

atrev
Posts: 24
Joined: Tue Jul 30, 2013 9:19 am

Re: Event for model change

Post by atrev »

Our issue is we use the model explorer a lot, and we add and remove a lot of objects via code, and we keep the model explorer open. If we had a direct event that would tell us when items/sections had been added or removed, we could call the updatepage directly at the required times, rather than creating a manual call

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Event for model change

Post by nickz »

We will keep it in mind for v4.4, or most likely for v5.0. You are welcome to order it as a quick custom feature. Sorry

Post Reply