FM

Reply
New Member
tarnoki
Posts: 2
Registered: ‎04-16-2010
Message 1 of 4 (2,168 Views)

Archibus - Drawing Asset Text update question

2168 Views, 3 Replies
04-16-2010 05:03 AM
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
*Wanderer
Message 2 of 4 (2,168 Views)

Re: Archibus - Drawing Asset Text update question

04-16-2010 06:58 AM 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
New Member
tarnoki
Posts: 2
Registered: ‎04-16-2010
Message 3 of 4 (2,168 Views)

Re: Archibus - Drawing Asset Text update question

04-16-2010 08:50 AM 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.
*Wanderer
Message 4 of 4 (2,168 Views)

Re: Archibus - Drawing Asset Text update question

04-16-2010 08:57 AM 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community