FM (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Archibus - Drawing Asset Text update question

3 REPLIES 3
Reply
Message 1 of 4
tarnoki
3022 Views, 3 Replies

Archibus - Drawing Asset Text update question

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
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: tarnoki

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
Message 3 of 4
tarnoki
in reply to: tarnoki

Thanks Melanie. Unfortunately, the Archibus DWG Editor version of Autocad does not contain the CMDDIA command (theres' a bunch of cmds stripped out of this version of AutoCAD.. With FILEDIA is set, the script still invokes the dialog box. (-) in front of this particular command comes up as unknown command. My sense is this one can't be suppressed thus I was hoping for something that mimics the carriage. BTW, a space in the code (acting as carriage return) doesn't work for this script either.
Message 4 of 4
Anonymous
in reply to: tarnoki

Ah, bummer, I was afraid it wouldn't work exactly as AutoCAD would.
Hopefully you can find an Archibus user more familiar with their
commands, sorry and good luck!



Melanie Perry
***not all who wander are lost***
http://augi.com/autocad
http://MistressOfTheDorkness.blogspot.com


On 4/16/2010 10:50 AM, tarnoki wrote:
> Thanks Melanie. Unfortunately, the Archibus DWG Editor version of Autocad does not contain the CMDDIA command (theres' a bunch of cmds stripped out of this version of AutoCAD.. With FILEDIA is set, the script still invokes the dialog box. (-) in front of this particular command comes up as unknown command. My sense is this one can't be suppressed thus I was hoping for something that mimics the carriage. BTW, a space in the code (acting as carriage return) doesn't work for this script either.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report