Strydaris Posted September 23 Posted September 23 Hey everyone, I am trying to figure out how to hide some LISP code from displaying in the command line when using a CUI custom command. I am trying to add an area in my CUI for the user to set some variables that will be used on multiple LISPs. I current made a custom command that has just this.... ^C^C(setq F2B (getreal "Enter Front to Back slopes: ")) But when I click the buttom in the CUI I get this... ^C^C(setq F2B (getreal "Enter Front to Back slopes:")) Enter Front to Back slopes: Is there anyway to hide the LISP code or would I have to take a different approach? Thanks, Quote
Strydaris Posted September 29 Author Posted September 29 So I found out the answer to my own question. If you are looking to hide part of you macro in the command line, you needs to wrap it a "^P" (Ignore the quotes) For example, here is a simple lisp code that I want to use to ask the user to set some variables that can / will be used in multiple lisps. ^C^C^P(setq F2B (getreal "Enter Rise for Front to Back slopes: ")) By adding the ^P it will no longer show the "CODE" part of it, but will show the prompt of "Enter Rise for Front to Back slopes: " on the command line. Quote
tombu Posted October 7 Posted October 7 Help reference: About Special Control Characters in Command Macros https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-DDDB6E26-75E1-4643-8C6A-BEAEBA83A424 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.