![]() I also piped the output of the Core Console execution off to another text file, to help cross-check any issues. ![]() The LISP function wrote the name of the command or sysvar to the relevant file (for known or unknown commands). This module then queued up each command using SendStringToExecute() and fired off a simple AutoLISP function right after to check whether the command was active via CMDNAMES (or whether it was a sysvar – these are also included in the list) before cancelling the command (if it was still running) via an escape character. NET module that read in the commands to test from a file (for AutoCAD OEM we maintain a list of AutoCAD commands in a file called OEMCMDS.txt, which I borrowed for this process). Generating the list was an interesting process: I started by implementing a core. And – as we’ll see later on – there are even some areas you just want to avoid: our test suite includes various commands to ensure our internal developers don’t break important Core Console functionality, but there are full AutoCAD commands that currently prove problematic when executed from within the Core Console. ![]() It’s been used to implement at least one core feature inside AutoCAD 2013 – and I can certainly see it as being used much more extensively, over time – but this is a tool that has not yet benefited from much documentation investment (for instance). It was made possible by the Big Split, and proved to be a good, early way to test out the capabilities of AcCore.dll, but it only became part of the product later in the product cycle. I certainly see the Core Console as being extremely useful to many people, but it didn’t necessarily start life as a headline feature for the 2013 release. I hope this proves to be of use to at least some of the many people I expect to take advantage of this tool.īefore I go into the details on generating the list – and then look at the list itself – it’s worth mentioning some additional background regarding this feature. After seeing the feedback regarding this interesting feature in AutoCAD 2013, I decided to do a little detective work to establish which commands could be called from inside the AutoCAD 2013 Core Console.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |