Events not running when loaded in acad.dvb

Events not running when loaded in acad.dvb

Anonymous
Not applicable
227 Views
2 Replies
Message 1 of 3

Events not running when loaded in acad.dvb

Anonymous
Not applicable
I have a vba event written to change the dimscale and ltscale when the
psltscale is set to one and you switch from model space to a layout. Well I
put it in the ThisDrawing section of the acad.dvb, which I thought would
automatically load for any drawing that AutoCAD opened. It doesn't work
(start reacting) until after I open up the VBA IDE once. It will then work
as expected. Is there a different file or location that I should put this
in, maybe acaddoc.dvb if such a thing exists.

Any help would be appreciated.
--
Matt
0 Likes
228 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Just for those who might be looking for the answer.

Add the line:

AcadVBA.arx

to the text file "Acad.rx". If that file doesn't exist, place it in your
Support folder.

Thanks Robert!!!

--
Matt
http://www.mcclureeng.com


"Matt Thomas" wrote in message
news:6B8EFBF61FA0305A1D56BF3CB7F87C86@in.WebX.maYIadrTaRb...
> I have a vba event written to change the dimscale and ltscale when the
> psltscale is set to one and you switch from model space to a layout. Well
I
> put it in the ThisDrawing section of the acad.dvb, which I thought would
> automatically load for any drawing that AutoCAD opened. It doesn't work
> (start reacting) until after I open up the VBA IDE once. It will then
work
> as expected. Is there a different file or location that I should put this
> in, maybe acaddoc.dvb if such a thing exists.
>
> Any help would be appreciated.
> --
> Matt
>
>
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
Glad to help! 😉

--
R. Robert Bell, MCSE
www.AcadX.com


"Matt Thomas" wrote in message
news:70132EC2D36608A5D311B25B1F99C8D6@in.WebX.maYIadrTaRb...
| Just for those who might be looking for the answer.
|
| Add the line:
|
| AcadVBA.arx
|
| to the text file "Acad.rx". If that file doesn't exist, place it in your
| Support folder.
|
| Thanks Robert!!!
|
0 Likes