Results 1 to 3 of 3

Thread: Single Viewport modification

  1. #1
    Active Member
    Join Date
    2006-04
    Posts
    85

    Default Single Viewport modification

    Hi, the (attached) macro behind the Single Viewport command is way over my head, has anyone out there got the patience to explain it to me? I would like to modify it so that it saves the 'current layer', creates a viewport and puts it on a 'Viewport' layer (existing) and then restores the 'current layer. If I can get that to work I might do something similar with dimensioning.
    Attached Files Attached Files

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    6,854

    Default Re: Single Viewport modification

    Hi David,

    Please note I have *moved* this thread from the AutoLISP Forum to this one as I feel this particular Forum is a more appropriate place for such a topic.

    Thanks,

    Richard
    Forum Moderator
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    6,854

    Default Re: Single Viewport modification

    Look for this bit of code in the macro
    Code:
    ^C^C_-vports _si
    That bit of code handles the vport command with the single option. After the ^C^C, you could add some code to save the current layer, make or set your viewport layer and then continue with the rest of the code. Then after _si, you could add some code to reset the current layer back to the layer prior to running this code.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Replies: 13
    Last Post: 2011-09-10, 11:16 PM
  2. Single mouse click to edit single line text
    By cjshaw in forum AutoCAD LT - General
    Replies: 5
    Last Post: 2007-02-14, 03:59 PM
  3. Replies: 2
    Last Post: 2006-06-16, 07:06 AM
  4. Smaller Viewport to hide / mask part of a larger Viewport
    By thomas.stright in forum AutoCAD General
    Replies: 5
    Last Post: 2006-04-05, 11:03 PM
  5. Replies: 4
    Last Post: 2005-10-06, 01:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •