AutoCAD Electrical General Discussion

AutoCAD Electrical General Discussion

Reply
*krollenhagen
Message 1 of 6 (152 Views)

Next / Prev Project Drawing Buttons

152 Views, 5 Replies
12-04-2003 11:45 PM
What changes do I have to make to the buttons that go to the previous and
next project drawings so that before changing drawings, it will zoom
extents?

I have tried a few different things in the code for the button but can't
seem to get it to work. I do not know lisp programming and I think that is
what is used for the button.

Here is the code on the button currently for the next project drawing
button:

^C^C^P(if(not wd_load)(if(setq x(findfile "wd_load.lsp"))(load
x)))(wd_load);(c:wd_proj_dnext)

If you have any suggestion, please let me know.

Thank you,

Keith Rollenhagen
Thierica Automation Group
*krollenhagen
Message 2 of 6 (152 Views)

Re: Next / Prev Project Drawing Buttons

12-05-2003 12:09 AM in reply to: *krollenhagen
I finally got it to work. I put the code for the zoom extents button before
the code for the next drawing button so that it looked like this now:

'_zoom _e ^C^C^P(if(not wd_load)(if(setq x(findfile "wd_load.lsp"))(load
x)))(wd_load);(c:wd_proj_dnext)

Now, if I have made changes to the drawing, it will zoom extents before
saving the drawing to disk.

"krollenhagen" wrote in message
news:41C59D9203176EC7085ED6F4B7FF23AA@in.WebX.maYIadrTaRb...
> What changes do I have to make to the buttons that go to the previous and
> next project drawings so that before changing drawings, it will zoom
> extents?
>
> I have tried a few different things in the code for the button but can't
> seem to get it to work. I do not know lisp programming and I think that
is
> what is used for the button.
>
> Here is the code on the button currently for the next project drawing
> button:
>
> ^C^C^P(if(not wd_load)(if(setq x(findfile "wd_load.lsp"))(load
> x)))(wd_load);(c:wd_proj_dnext)
>
> If you have any suggestion, please let me know.
>
> Thank you,
>
> Keith Rollenhagen
> Thierica Automation Group
>
>
*Autodesk, Inc\
Message 3 of 6 (152 Views)

Re: Next / Prev Project Drawing Buttons

12-05-2003 12:13 AM in reply to: *krollenhagen
Keith

This appears to work. Give it a try:

^C^C^P(if(not wd_load)(if(setq x(findfile "wd_load.lsp"))(load
x)))(wd_load);_zoom e (c:wd_proj_dprev)

{I added the _zoom e }

--
Sincerely,

Jared Bunch
Technical Support Specialist
Autodesk, Inc

"krollenhagen" wrote in message
news:41C59D9203176EC7085ED6F4B7FF23AA@in.WebX.maYIadrTaRb...
> What changes do I have to make to the buttons that go to the previous and
> next project drawings so that before changing drawings, it will zoom
> extents?
>
> I have tried a few different things in the code for the button but can't
> seem to get it to work. I do not know lisp programming and I think that
is
> what is used for the button.
>
> Here is the code on the button currently for the next project drawing
> button:
>
> ^C^C^P(if(not wd_load)(if(setq x(findfile "wd_load.lsp"))(load
> x)))(wd_load);(c:wd_proj_dnext)
>
> If you have any suggestion, please let me know.
>
> Thank you,
>
> Keith Rollenhagen
> Thierica Automation Group
>
>
Contributor
Jesse Reynolds
Posts: 24
Registered: ‎12-12-2005
Message 4 of 6 (152 Views)

Re: Next / Prev Project Drawing Buttons

12-21-2005 07:51 AM in reply to: *krollenhagen
Jared,

Where this file located?

Also, Instead of clicking the Next/Prev is it possible to turn it into a keyboard command?

- Jesse
Distinguished Contributor
chubby-1
Posts: 157
Registered: ‎07-05-2005
Message 5 of 6 (152 Views)

Re: Next / Prev Project Drawing Buttons

12-21-2005 08:35 AM in reply to: *krollenhagen
The buttons they are talking about have macro's assigned to them. If you are wanting to view or modify the button assignments....do the following:
1) on the main menu....select "view"
2) then select "toolbars"
3) then select the "Properties" tab
4) select the toolbar button you wish to modify. in the case of this post they are discussing the next and previous drawing arrows in ACE.

Hope this helps
Marty
Contributor
Jesse Reynolds
Posts: 24
Registered: ‎12-12-2005
Message 6 of 6 (152 Views)

Re: Next / Prev Project Drawing Buttons

12-21-2005 09:19 AM in reply to: *krollenhagen
Marty,

Thanks it works like a charm.

Jesse
Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

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

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.