Search the Community
Showing results for tags 'custom commands'.
Found 1 result
Custom Commands (CUI) batch creation from Excel
samehhosny posted a topic in The CUI, Hatches, Linetypes, Scripts & MacrosHello everyone, I have a case I tried to find a solution online with no avail. I have an excel sheet with 1000+ commands routine I keep updating from time to time. Then, I copy specific column to a lisp file where I can execute these commands into autoCAD. I built up these commands with a logic way to be able to memorize most of them. But sometimes, when I don't use a specific command from this file, I forget it and I have to open the excel sheet again to refresh my memory to use it again. I found another way where I could use autocad menu or ribbon tabs and panels to visualize these commands in autocad instead of memorizing every command. Also, this will ease the process on my teammates as they have to keep reading the excel sheet to know which updates I made to the commands list. By visualizing the commands into AutoCAD, it will make our life a lot easier. The main issue I'm facing now that I need to enter these commands in my partial custom CUIx one by one with unique element ID for every command. It's time consuming and lot of efforts. Is there a way to add contents of a separate excel sheet or notepad where I will pre-define the command name, description, small and large button image, and macro for every command I use? I know it may sound very hard but I believe it's not impossible. That was the first and hardest part in my issue. The second part that I need to add the newly created commands into panels then into ribbons. Is there a way to automate this as well? Thank you in advance. Wish if someone could help me with instructions on how this could be achieved. Attached a sample excel sheet including the command name and macro and element-ids Best regards Sameh Hosny Sample.xlsx