What does the LISP code look like that sets the UCS icon to display at the World origin point?
Happy Thanksgiving!
C. Hill
|
|
|
What does the LISP code look like that sets the UCS icon to display at the World origin point?
Happy Thanksgiving!
C. Hill
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.
You could add the linein your acaddoc.lsp file.Code:(if (/= (getvar 'ucsicon) 3)(progn(setvar 'ucsicon 3)(princ "\nUCSicon set to Origin! UCSICON")))
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.