PDA

View Full Version : Manage Xrefs


CadDog
2008-12-10, 06:50 PM
Hi everyone,

Hope your holidays are going great...

*****
I'm a little over the manage xrefs notice...
(Reload DWG xrefs)

Ya, I know the xrefs change and yes I want the update right now...!!!

I came here because maybe (I hope) some one has the code to make this automatic and
stop having the little Cartoon Cloud from coming up...

I have a quick key which update all xrefs but that little Cartoon Cloud still is there...

:(

Opie
2008-12-10, 06:53 PM
I believe it is a time issue between computers. I could be wrong on that.

CadDog
2008-12-10, 07:04 PM
I believe it is a time issue between computers. I could be wrong on that.

Sorry Opie,

I found my answer...

(setenv "XNOTIFYTIME" "0")

I found it in help...

"Controls the notification for updated or missing xrefs.

0
Disables xref notification

1
Enables xref notification. Notifies you that xrefs are attached to the current drawing by displaying the xref icon in the lower-right corner of the application window (the notification area of the status bar tray). When you open a drawing, alerts you to missing xrefs by displaying the xref icon with a yellow alert symbol (!).

2
Enables xref notification and balloon messages. Displays the xref icon as in 1 above. Also displays balloon messages in the same area when xrefs are modified. The number of minutes between checking for modified xrefs is controlled by the system registry variable XNOTIFYTIME.



:)

*****
I will not add it to my AcadDoc.lsp

Others may need to see this to insure their are updated...

Mmmmm....

But I maybe could create something that updates without
they needing to do anything...

Mmmmm... Maybe NOT...

:)

Mmmmm again...
Life went on before we had this before...

CadDog
2008-12-10, 07:16 PM
Nope...!!!

That didn't do it...

:(

CadDog
2008-12-10, 07:21 PM
Sorry again,

I should of said...

XREFNOTIFY

then use 0

I'm happy again...

:)

Last Time... Really...!!!

I went with XREFNOTIFY 1
That way I get a small notice without the cartoon cloud...
This maybe the best of both worlds...

You all have a great holiday

:)

CadDog OUT...!!!

tedg
2008-12-10, 08:20 PM
Thanks for keeping us informed in your little private discussion ;)

You're about 5 years away from pushing a shopping cart down the sidewalk full of cans while talking to yourself....:p :lol:

Seriously though, thanks for the update, it's valuable info.

ccowgill
2008-12-10, 10:23 PM
I just set Traytimeout to 2, I get a little cloud notice, but it goes away on its own after 2 seconds

CadDog
2008-12-10, 11:57 PM
Thanks for keeping us informed in your little private discussion ;)

You're about 5 years away from pushing a shopping cart down the sidewalk full of cans while talking to yourself....:p :lol:

Seriously though, thanks for the update, it's valuable info.

:lol:
Good one Ted...

I was just in the moment and really didn't have time to wait for an answer...

and now I got it...

ccowgill

That is the best of both worlds...

(command "TRAYTIMEOFF" "2")

Is now in my AcadDoc.lsp file...

*****
GREAT...!!!

No more questions about the cartoon cloud coming up for ever...

Thanks guys

*****
But really, lets see how long that last...

:)

ccowgill
2008-12-11, 02:27 PM
:lol:
Good one Ted...

I was just in the moment and really didn't have time to wait for an answer...

and now I got it...

ccowgill

That is the best of both worlds...

(command "TRAYTIMEOFF" "2")

Is now in my AcadDoc.lsp file...

*****
GREAT...!!!

No more questions about the cartoon cloud coming up for ever...

Thanks guys

*****
But really, lets see how long that last...

:)

I would recommend against using command in your acaddoc.lsp, I would recommend to set it using (setvar "traytimeout" 2). commands really should only be called when starting up by appending the startup function. Check out this (http://cadpanacea.com/node/89) for more information.

CadDog
2008-12-11, 04:55 PM
I would recommend against using command in your acaddoc.lsp, I would recommend to set it using (setvar "traytimeout" 2). commands really should only be called when starting up by appending the startup function. Check out this (http://cadpanacea.com/node/89) for more information.

Great point...

Will do, Thanks and thanks for the link
I never read or saw that before
or I may have forgotten or missed it...

:)

******
Just what I thought...
I forgot... :)

Here is how and where I place it...

Within my AcadDoc.lsp

(defun s::startup ()
(setvar "modemacro"
(strcat
;;; setup date and time name in lower bar
" $(edtime,$(getvar,date),DDD MO-DD-YYYY H:MM AM/PM)"
"$(if,$(=,$(getvar,userr4),0), ----- $(getvar,users1) -----, -- $(getvar,users1) Std -- $(getvar,users5))"
);end strcat
);end setvar

;;;;;;;; Variables Setting For Acad 2008 ;;;;;;;;;;;;;;

(Setvar "cmdecho" 0)

(setvar "TRAYTIMEOUT" 1) ;Turns the Cartoon Clouds off after a second
(setvar "XREFNOTIFY" 2) ;0 TURNS OFF XREF NOTIFITION CARTOON CLOUD
(setenv "XNOTIFYTIME" "1") ;xref notifition time = 1 minute
(command "UCSICON" "N")
(setvar "acadlspasdoc" 1) ;allows acad.lsp to load on all sessions.(r1)
(setvar "ucsicon" 1) ;places ucs on NO origin mode.(r1)
(setvar "highlight" 1)
(setvar "hpassoc" 1) ;Added 10/2008
(setvar "attreq" 1)
(setvar "blipmode" 0)
(setvar "edgemode" 1)
etc, etc, etc....

Thanks ccowgill...