• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    *krollenhagen

    Next / Prev Project Drawing Buttons

    101 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
    Please use plain text.
    *krollenhagen

    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
    >
    >
    Please use plain text.
    *Autodesk, Inc\

    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
    >
    >
    Please use plain text.
    Contributor
    Posts: 24
    Registered: ‎12-12-2005

    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
    Please use plain text.
    Distinguished Contributor
    Posts: 157
    Registered: ‎07-05-2005

    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
    Please use plain text.
    Contributor
    Posts: 24
    Registered: ‎12-12-2005

    Re: Next / Prev Project Drawing Buttons

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

    Thanks it works like a charm.

    Jesse
    Please use plain text.