We have some automation and one of the tools is to add linear dimension. We were using RunCommand when we were using Draftsight 2020. After migrating to Draftsight 2024, we replaced all RunCommand to RunCommand2.
This is a small snippet here
_DSApp.RunCommand2("LINEARDIMENSION\\n", null, null, false);But the issue we are facing now, is when we use this, Undo function does not work.
P.S: we are not doing StartUndo and StopUndo for this. This tool just runs this command and changes layer.
Anyone has any experience with this?
