+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Super Member Glen1980's Avatar
    Computer Details
    Glen1980's Computer Details
    Operating System:
    7 Pro 64
    Computer:
    HP Compaq Elite 8300 CMT
    Motherboard:
    Intel
    CPU:
    Core i5-3570 @ 3.4GHz
    RAM:
    16GB
    Graphics:
    NVIDIA Quaddro 600
    Primary Storage:
    500GB
    Monitor:
    22" Wide 17" Square
    Discipline
    Architectural
    Glen1980's Discipline Details
    Occupation
    Architectural Technician - Residential
    Discipline
    Architectural
    Details
    High Rise concrete frame. Low Rise traditional masonry construction Low Rise Timber Frame Conversion - Office, Schools & Colleges, Hospitals to residential flats/apartments.
    Using
    AutoCAD 2014
    Join Date
    Feb 2007
    Location
    Herts/Essex, England
    Posts
    588

    Default Changing layer colours within viewports at the command line.

    Registered forum members do not see this ad.

    I am producing some floor plans which I am having to split into several sheets. I am reusing the overall plan in small scale as a key/location plan (in a seperate viewport).

    As the viewport is at small scale I want to make the pens thinner so walls don't come out too thick so I go into the layer manager and change the viewport pen colours and freeze off unwanted layers. Trouble is although I can copy the viewport between sheets and drawings it won't remember the layer settings is there a way that I can either:
    • Set a variable to remember the layer settings within the viewport when copying
    • Write a script to change the layer colours within the viewport and vp freeze the unwanted layers so all the keyplan match between all of my sheets.

    The script wouldn't be too much problem for me as I mostly use key commands but when I tried changing the layer colours using -la -> c -> red all the viewports changed not just the current one. Is there a different command to change the viewport colours or is it just not possible from the command line.
    "Remember Baldrick, we are not at home to Mr Cock Up" - E Blackadder

  2. #2
    Luminous Being
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    5,092

    Default

    VPlayer from memory -la C etc is setting model space paparmeters hence all Viewports change, VPlayer is current view port setting overwriting global model settings. It may be as simple as -la VP etc
    A man who never made mistakes never made anything

  3. #3
    Super Member Glen1980's Avatar
    Computer Details
    Glen1980's Computer Details
    Operating System:
    7 Pro 64
    Computer:
    HP Compaq Elite 8300 CMT
    Motherboard:
    Intel
    CPU:
    Core i5-3570 @ 3.4GHz
    RAM:
    16GB
    Graphics:
    NVIDIA Quaddro 600
    Primary Storage:
    500GB
    Monitor:
    22" Wide 17" Square
    Discipline
    Architectural
    Glen1980's Discipline Details
    Occupation
    Architectural Technician - Residential
    Discipline
    Architectural
    Details
    High Rise concrete frame. Low Rise traditional masonry construction Low Rise Timber Frame Conversion - Office, Schools & Colleges, Hospitals to residential flats/apartments.
    Using
    AutoCAD 2014
    Join Date
    Feb 2007
    Location
    Herts/Essex, England
    Posts
    588

    Default

    Registered forum members do not see this ad.

    Cheers BIGAL. VPLAYER -> C did the trick perfectly.

    I did use action recorder which worked sometimes but other times only changed some of the layers and turned off the wrong layers. I might need to read up on action recorder as that looks like it could save time on some repetative tasks.
    "Remember Baldrick, we are not at home to Mr Cock Up" - E Blackadder

Similar Threads

  1. Can Block colours correspond to different layer colours?
    By BenGoble in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 1
    Last Post: 18th Apr 2010, 02:04 pm
  2. layer colours and screen colours
    By alec in forum AutoCAD Beginners' Area
    Replies: 5
    Last Post: 13th Jun 2008, 12:49 pm
  3. Changing layer properties in individual viewports
    By nrschmid in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 3
    Last Post: 5th Apr 2008, 03:24 pm
  4. changing colours from set by layer in an xref
    By MrMaggs in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 16th Jan 2008, 05:56 pm
  5. Changing line colours in a viewport
    By drahcir in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 27th Oct 2006, 03:02 pm

Bookmarks

Posting Permissions

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