TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: w64bit on May 15, 2021, 07:26:07 AM

Title: Disable vlx message
Post by: w64bit on May 15, 2021, 07:26:07 AM
I found a free vlx which I use it to convert zero height solids in solid hatches.
Unfortunately, when there is no solid in the dwg file, it displays a window message.
Because of this I cannot use it in a script to fix several files.
Is there any way to disable/hide this message so I can use the vlx in a script?
Title: Re: Disable vlx message
Post by: VovKa on May 15, 2021, 05:11:36 PM
is it an alert message?
Title: Re: Disable vlx message
Post by: Crank on May 16, 2021, 06:48:21 AM
You can create your a short lisp to check for SOLIDs. And only when they are available you call the command of the .vlx.
Title: Re: Disable vlx message
Post by: w64bit on May 16, 2021, 08:15:30 AM
@VovKa: title says AutoCAD Message
@Crank: do you have a code to do this check, please?

https://www.cadforum.cz/en/sol2solh-convert-dwg-objects-of-the-type-solid-to-hatches-tip12633
 (https://www.cadforum.cz/en/sol2solh-convert-dwg-objects-of-the-type-solid-to-hatches-tip12633)
Title: Re: Disable vlx message
Post by: VovKa on May 16, 2021, 08:58:06 AM
(setvar 'gaflags 4)
Title: Re: Disable vlx message
Post by: Lee Mac on May 16, 2021, 09:32:10 AM
*QAFLAGS  :wink:
Title: Re: Disable vlx message
Post by: w64bit on May 16, 2021, 10:13:32 AM
Thank you very much all of you.
Title: Re: Disable vlx message
Post by: VovKa on May 16, 2021, 05:39:57 PM
*QAFLAGS  :wink:
:wideeyed:
just getting old  :-)