Hi,
>>" I use few commands frequently I like to create macros for it can you please help me to find the solution."
We need more detailed information than 'or explode, quick select, overkill & purge.'
(and sample DWGs is often useful too).
Some words to..
explode - Use ^R in front of explode, this way you use the current version of Explode (what allows multiple object selection, instead to the default explode version for macros)
for example 3x ESC to cancel all running commands, send ^R and start explode in current version, move all exploded objecte x10,y5 units
^C^C^C^R_.EXPLODE;_all;;_.MOVE;_p;;*0,0;*10,5
https://help.autodesk.com/view/ACDLT/2023/ENU/?guid=GUID-DDDB6E26-75E1-4643-8C6A-BEAEBA83A424
>>"quick select"
In LT? No chance! You have to work with the standard selection methods (see [F1] topic of SELECT)
and clever Layer structure&settings.
For example: To get all objects on Layer "TEST", what is not possible by general object selection methods,
set "TEST" current, freeze all other layers ~TEST, use selection method ALL and do what you want.. reset your layer settings.
>>"overkill"
Use command -OVERKILL
>>"& purge"
Use command -PURGE
So, do you have experience with menu macro, or not?
If not, starte to play with simple macros, read&test alle the stuff in www (yes, if a macro uses command you don't have, they aren't a good choice).
https://help.autodesk.com/view/ACDLT/2023/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF
near to your topic: https://help.autodesk.com/view/ACDLT/2023/ENU/?guid=GUID-BE44AE86-7638-48C9-BE5B-C1DF8E4C8808