AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Next / Prev Project Drawing Buttons

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
426 Views, 5 Replies

Next / Prev Project Drawing Buttons

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
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

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
>
>
Message 3 of 6
Anonymous
in reply to: Anonymous

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
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

Jared,

Where this file located?

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

- Jesse
Message 5 of 6
chubby-1
in reply to: Anonymous

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
Message 6 of 6
Anonymous
in reply to: Anonymous

Marty,

Thanks it works like a charm.

Jesse

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

Post to forums  

Autodesk Design & Make Report

”Boost