Lisp to read block attributes and place another depending on that an attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Goal of Lisp:
Lisp to read block attributes (or better yet, a data object) and place another depending on that an attribute with all of the data or attributes from the original data object or block.
I would like it to be seamless, no human interaction but to run the lisp.
Background of why I need this:
I am a telecom engineer and utilize GPS data collection software to import data objects into ACAD via shapfiles.
I deal with utility poles a lot as one of the main features in our work.
At current each pole must have it's own separate feature type within my collection software that I pair with a certain block for the correct symbol to be displayed.
What I hope to achieve with this:
I would rather utilize 1 feature type inside my collection software with a way to name the feature within the meta data. Then I could run a Lisp which reads this data object and places the correct block in its place with all of the attributes equal to the data object. I only need the code to transfer the meta data from the data object to the new block it inserts.
If I cannot do it from the data object or if you are answering and are unsure then I can utilize an annotation block to transfer the data to a block which acts as a workaround to achieve the above but instead of data object to block happening with the lisp, it transfers data from the annotation block to the new inserted block.