This fifth exercise uncovers the secrets of near-by blocks.
At work, we use a AutoLISP routine called CAF (Cable Auto-Fill) that snags values from one block and inserts those into attributes in blocks that are determined to be within two grid spaces (GRID=15) from the first block.
UPDATE: The lisp now dissects any entity, not just a block.
A Reminder:
These blog posts are not the exercise. The code is the exercise, and that is where most of the useful information is to be found. If you only read my post and skip over the code block …
We learned about writing AutoLISP to select an area in model space. We learned about using those coordinates to do something else, specifically to draw four lines making a rectangle.
Then we learned about using the 'mapcar' function to generate lists …
This codeblock (below) is a complete AutoLisp program. Load it into a running instance of AutoCAD and issue the command DOAMAPCAR. Nothing will happen on the screen, but you will see quite a bit of output into the console.
Up to now, Python has been my only programming language. Now there's AutoLisp. Once I discovered LISP routines in AutoCAD, I wanted to learn how to write and debug them. Until recently, there was no practical tangible reason for me to do that …
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for …
For decades, I wanted a simple way to keep track of whether my garage door was open or closed.
I started this project in 2015 and it does exactly what I need. The project eventually morphed into a component of what I have come to call my PiNet, a network …