Add if Layer is Missing (AutoCAD .net API)

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:

Read More

Setting up BatchProcessing With AcCoreConsole and ScriptPro (AutoCAD .net)

_config.yml

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.

Read More