Hello @john.uhden
Yes, what you say is correct, the command only looks for two options, just as you say.
I do not want the 5 blocks to be inserted all in the same place, I need the CD command to continue working, because that command is the one who controls the blocks, I only need a lisp function that passes the names of the blocks to the CD command, without have to write them and let the CD command do the rest of the process, find me block1, show it, ask me for the insertion point and repeat the process and when those 5 blocks are inserted, stop the CD command.
I do not know if this will be possible to do so.
I give you a little more information and sorry if I repeat the same thing again, but I am trying not to be confused.
The CD command works with many blocks (like a database), each one is called by text (alias symbols), for example "AB", which represents say "Block 1". So, if I don't write the alias of the symbol, it doesn't insert anything and I have to press the escape key to cancel the command.
When I use the CD command for the first time, it doesn't know which block I want to insert, so I have to tell it which block I want to insert. Once the CD command is used, it recognizes the last inserted block, if you look at the images you can see where it says "Symbol Aliases", there is a text for example: "<PV>" between the symbols for greater than and less than, that text corresponds to the last inserted block and in the white area where we insert the text, it also puts the same text as above: "PV" of the last inserted block.
Therefore, if I use the command once and press the enter key again, I can re-insert the last block for example: "PV", if I press the enter key again repeat the same process and insert the same block " PV ", I can insert the blocks in any part of the plane and until I enter a new alias of the symbol, I will not change the block, so if it was the CD command, the last one I use, I can press the enter key several times and repeat the previous process
I hope you understand me up to here.
Thank you very much for reading my message.
Greetings.