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
Event for model change
Re: Event for model change
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
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
Re: Event for model change
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
Re: Event for model change
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