Author Topic: Clean up Eventviewer in Civil3d  (Read 3713 times)

0 Members and 1 Guest are viewing this topic.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Clean up Eventviewer in Civil3d
« on: February 29, 2016, 01:45:55 PM »
Hello!
I donīt realy like eventviewer in Civil3d. In my program updates Breaklinesets from Surface throw paste new entities in Surface. My Problem is, eventviewer donīt update correctly. So I want clean up the viewer. Is where a way to can do that in .net?

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: Clean up Eventviewer in Civil3d
« Reply #1 on: February 29, 2016, 02:44:13 PM »
Dirk, you can clear the event viewer in Civil3D... Action->Clear all events. But I'm not aware of a way to remove items through code.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Re: Clean up Eventviewer in Civil3d
« Reply #2 on: March 01, 2016, 02:33:46 AM »
Hi Jeff!
For customer doesnīt looks well if they use my tool and get much errors in Eventviewer...
For better understanding, when I update Breaklinesets in Surface and I have a boundary too I get this errors in picture before. Without boundary I have no problems.
Otherwise perhaps I can block events for a while I change Breaklinesets ?! Have you heard about that ?
One trick I tried to remove boundary and create the same again, but it doesnīt solved.
« Last Edit: March 01, 2016, 03:37:53 AM by cadplayer »

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: Clean up Eventviewer in Civil3d
« Reply #3 on: March 01, 2016, 09:35:26 AM »
The only thing I've found is the ability to Add an Event to the Eventviewer. The AddEvent(string, string) method of the AeccDatabase COM object id used for that. Perhaps you can add your own message to ignore the previously listed events?

huiz

  • Swamp Rat
  • Posts: 919
  • Certified Prof C3D
Re: Clean up Eventviewer in Civil3d
« Reply #4 on: March 01, 2016, 10:47:31 AM »
You might change the drawing setting first to not show up the Event Viewer. You can find that in the Drawing Settings > Ambient Settings > General.

Or you change the properties of the Surface to accept crossing breaklines.

Both are probably available via .NET

The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Re: Clean up Eventviewer in Civil3d
« Reply #5 on: March 02, 2016, 06:57:13 AM »
Thanks for reply, all solutions sounds tricky. I test annother way. Thatīs why boundary reads as an breakline suddenly, I remove this boundary from Surface first and than create it new again. Not the best way, but it works. /D