weiglas Posted January 25, 2018 Posted January 25, 2018 Hi, I have a Lisp that insert blocks, but some blocks requires a value to an attribute, and some not. So, I wrote the (command "INSERT" theBlock pt "" "" "" "") when the block requires a value attribute, its insert with nothing the last double quotes, but when the block doesn't requires a value the last double quotes calls the "HELP" windows. I have been thinking several ways to deal with it, like disable the HELP command, but the INSERT command still calling the HELP with the last commas. And verify if the block requires a attribute value before insert then, but I didn't find a way to do it. I appreciate any sugestions! Quote
rlx Posted January 25, 2018 Posted January 25, 2018 Hi,I have a Lisp that insert blocks, but some blocks requires a value to an attribute, and some not. So, I wrote the (command "INSERT" theBlock pt "" "" "" "") when the block requires a value attribute, its insert with nothing the last double quotes, but when the block doesn't requires a value the last double quotes calls the "HELP" windows. I have been thinking several ways to deal with it, like disable the HELP command, but the INSERT command still calling the HELP with the last commas. And verify if the block requires a attribute value before insert then, but I didn't find a way to do it. I appreciate any sugestions! somewhere in your command you have one enter to many. This can be solved by setting variable 'ATTREQ' to 0 gr. Rlx Quote
weiglas Posted January 25, 2018 Author Posted January 25, 2018 somewhere in your command you have one enter to many. This can be solved by setting variable 'ATTREQ' to 0 gr. Rlx Oh!, I totally forgot this variable! I used it before once. It worked! Thanks! 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.