See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Code 101 Request - UCSICON set to ON and at ORIGIN

  1. #1
    I could stop if I wanted to Underdog's Avatar
    Join Date
    2006-05
    Location
    TN
    Posts
    307
    Login to Give a bone
    0

    Question Code 101 Request - UCSICON set to ON and at ORIGIN

    What does the LISP code look like that sets the UCS icon to display at the World origin point?

    Happy Thanksgiving!


    C. Hill

  2. #2
    I could stop if I wanted to devitg.89838's Avatar
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    268
    Login to Give a bone
    0

    Default Re: Code 101 Request - UCSICON set to ON and at ORIGIN

    as per ACAD Help

    UCSICON (System Variable)

    Controls the visibility and placement of the UCS icon.

    Type: Integer
    Saved in: Drawing
    Initial value: 3
    The setting of this system variable is viewport and layout specific.

    Value
    Description
    0
    Off; No icon is displayed
    Find
    1
    On; the icon is displayed only in the lower-left corner of the current viewport or layout
    Find
    2
    Off; if the icon is turned on, it is displayed at the UCS origin, if possible

    3
    On; Displays the UCS icon at the origin, if possible.
    Find
    Note: This system variable has the same name as the UCSICON command. Use the SETVAR command to access this system variable.

  3. #3
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,514
    Login to Give a bone
    0

    Default Re: Code 101 Request - UCSICON set to ON and at ORIGIN

    You could add the line
    Code:
    (if (/= (getvar 'ucsicon) 3)(progn(setvar 'ucsicon 3)(princ "\nUCSicon set to Origin! UCSICON")))
    in your acaddoc.lsp file.
    Tom Beauford P.S.M. - Civil 2020 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  4. #4
    I could stop if I wanted to Underdog's Avatar
    Join Date
    2006-05
    Location
    TN
    Posts
    307
    Login to Give a bone
    1

    Default Re: Code 101 Request - UCSICON set to ON and at ORIGIN

    All, thank you for your interest and 'intel'. Tom, I lean heavily on your customized acaddoc.lsp provided a few years ago. BIG Thanks! I use it every workday and even have added content via autoload statements, etc.

Similar Threads

  1. how can i set ucsicon
    By dynamicdraftsman in forum AutoCAD General
    Replies: 4
    Last Post: 2010-11-29, 01:15 PM
  2. ucsicon, probably basic but...
    By guyver1 in forum AutoCAD General
    Replies: 1
    Last Post: 2007-10-10, 08:23 AM
  3. Replies: 20
    Last Post: 2006-11-17, 08:24 PM
  4. origin-to-origin import being forced center-to-center
    By cblackford in forum Revit Architecture - General
    Replies: 6
    Last Post: 2006-08-14, 11:17 PM
  5. Linked Origin-Origin being overridden to Center-Center
    By tomnewsom in forum Revit Architecture - General
    Replies: 0
    Last Post: 2006-04-05, 01:57 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
  •