Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am trying to create walls programmatically using C#. I tried using both custom IExternalEventHandler and UIControlledApplication Idling handler. Unfortunately, Idling nor custom event is executed when I am not editing my walls using the editor. This is the code I use to create walls. It works correctly when I am not modifying walls.
transaction.Start("create wall");
Wall wall = Wall.Create(document, line, levelId, false);
App.ThisApp.World.SetEntityElementID(wallData.Entity, wall.Id);
transaction.Commit();
Solved! Go to Solution.