Failed to get status bar item with key AcSbModeMacro (AutoCAD .Net)

Rails, Tekla Open API, AutoDesk .NET


Key points/notes on how I did it:
The jargon is sometimes confusing for me. So here is a cheat sheet to refer to if you forget:
A very handy method. Often detailers will ask for something to be placed on a particular layer. But since they are using a 100 different drawing templates without any consistency nor standards, the onus is on you to impose that standard on them. So you’d have to check for a layer and add it if it doesn’t already exist. Anyways, that’s enough griping: here is the code:


We want a selection filter which simply ignores certain types of colors.

This can be difficult and extremely frustrating if you get it wrong, because AcCoreConsole is not the most user friendly interface out there – but, it is extremely fast. If AutoDesk combines AcCoreConsole with some kind of super fast in memory cache like Redis then operations will be an order of magnitude faster; and even better than that would be if the.NET API is changed to incorporate the smart GraphQL query specifications that I am pretty sure will leave behand Restful APIs in its wake. I digress.

