Steve,
I haven't actually used Archibus or the Overlay component, but, with
AutoCAD, I'd suggest suppressing the dialog by prefacing the command
with the minus sign (-), so you can enter text responses to the prompts.
Would that work in your case?
Also, associated system variables to keep in mind when automating (just
don't forget to reset them at the end of the routine if you do use them):
CMDDIA
Determines whether dialog boxes open or not, during the commands that
which use dialog boxes.
0 dialog boxes do not appear and the required parameters are entered
from command line
1 dialog boxes open
FILEDIA
Suppresses display of file navigation dialog boxes.
0 Does not display dialog boxes. You can still request a file dialog box
to appear by entering a tilde (~) in response to the command's prompt.
The same is true for AutoLISP and ADS functions.
1 Displays dialog boxes. However, if a script or AutoLISP/ObjectARX™
program is active, an ordinary prompt is displayed.
I think I've read that not all dialogs can be suppressed, but, I'm not
sure which ones can't.
Good luck,
Melanie Perry
***not all who wander are lost***
http://augi.com/autocad
http://MistressOfTheDorkness.blogspot.com
On 4/16/2010 7:03 AM, tarnoki wrote:
> Hi,
> We are using Archibus Overlay (DWG Editor) and I'm trying to script a command line based routine that will update the asset text in multiple drawings. I get hung up on the dialog box that pops up when envoking the ctl (catalog layer) command. It's a confirmation dialog asking "Really want to catalog all items on layer X". Is there a way to turn this off or control the ability to click 'ok' as part of the routine?
> Thanks,
> Steve