Autocad Auto replace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I was wondering if someone knows how to code a fix for my problem.
I would like to have a lisp, script or similar that would do something like this.
If I have a block, I would like to be able to switch it out for another block from lets say a list of blocks that's able to replace the one i have.
Lets have an example. I'm working in they playground industry.
Lets say I have screens, three heights, 300(1) 700(1) 900(1). All of them are red. Then I would like to have a button wich i could change colours, my idea was that i could make a list or something that says if there is a block called 300(1) replace it with 300(2) and you push the blue screen button, it would change my screens to lets say that (2) is blue.
Is this a possible thing to do? It goes the same with some of the side equipment, lets have another example, I have a slide, that can have 3 different foundations, If the idea with a list is a good choice (I guess it needs to read from something what to replace with) Then i would like to have a button for each of the different foundations.
I guess, it would work like, I have a list, 3 categorys (Lets say screens) (BLUE) (RED) (GREEN).
It would read the "article number" 300(1) find what article number (depending on button) it should replace with. Get that DWGfile from a folder or similar and replace it.
Is this possible? Or is it veeery hard to do?
Thanks /Ludvig