Author Topic: Disable vlx message  (Read 1256 times)

0 Members and 1 Guest are viewing this topic.

w64bit

  • Newt
  • Posts: 78
Disable vlx message
« 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?

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: Disable vlx message
« Reply #1 on: May 15, 2021, 05:11:36 PM »
is it an alert message?

Crank

  • Water Moccasin
  • Posts: 1503
Re: Disable vlx message
« Reply #2 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.
Vault Professional 2023     +     AEC Collection

w64bit

  • Newt
  • Posts: 78
Re: Disable vlx message
« Reply #3 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

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: Disable vlx message
« Reply #4 on: May 16, 2021, 08:58:06 AM »
(setvar 'gaflags 4)

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Disable vlx message
« Reply #5 on: May 16, 2021, 09:32:10 AM »
*QAFLAGS  :wink:

w64bit

  • Newt
  • Posts: 78
Re: Disable vlx message
« Reply #6 on: May 16, 2021, 10:13:32 AM »
Thank you very much all of you.

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine
Re: Disable vlx message
« Reply #7 on: May 16, 2021, 05:39:57 PM »