G Functions

AutoCad AutoLISP Functions

 
G Functions
 
 
 
  • gc

    Forces a garbage collection, which frees up unused memory

  • gcd

    Returns the greatest common denominator of two integers

  • get_attr

    Retrieves the DCL value of a dialog box attribute

  • get_tile

    Retrieves the current runtime value of a dialog box tile

  • getangle

    Pauses for user input of an angle, and returns that angle in radians

  • getcfg

    Retrieves application data from the AppData section of the acad*.cfg file

  • getcname

    Retrieves the localized or English name of an AutoCAD command

  • getcorner

    Pauses for user input of a rectangle's second corner

  • getdist

    Pauses for user input of a distance

  • getenv

    Returns the string value assigned to a system environment variable

  • getfiled

    Prompts the user for a file name with the standard AutoCAD file dialog box, and returns that file name

  • getint

    Pauses for user input of an integer, and returns that integer

  • getkword

    Pauses for user input of a keyword, and returns that keyword

  • getorient

    Pauses for user input of an angle, and returns that angle in radians

  • getpoint

    Pauses for user input of a point, and returns that point

  • getreal

    Pauses for user input of a real number, and returns that real number

  • getstring

    Pauses for user input of a string, and returns that string

  • getvar

    Retrieves the value of an AutoCAD system variable

  • graphscr

    Displays the AutoCAD graphics screen

  • grclear

    Clears the current viewport (obsolete function)

  • grdraw

    Draws a vector between two points, in the current viewport

  • grread

    Reads values from any of the AutoCAD input devices

  • grtext

    Writes text to the status line or to screen menu areas

  • grvecs

    Draws multiple vectors in the drawing area