(+)
Return the sum of all numbers
(+ number1 number2 )
(-)
Subtract second (and following) from first number
(- number1 number2 )
(*)
Return the product of all numbers
(* number1 number2 )
(/)
Divide the first number by the following numbers
(/ number1 number2 )
(~)
Apply the 1s compliment (bitwise NOT)
(~ number)
(=)
Compares arguments for equality
(= item1 item2 )
(/=)
Compares arguments for inequality
(/= item1 item2 )
(<)
Return T if first argument is less than others
(< item1 item2 )
(<=)
Return T if first argument is less than or equal toall other arguments
(<= item1 item2 )
(>)
Return T if first argument is greater than all other arguments
(> item1 item2 )
(>=)
Return T if first argument is greater than or equal all other arguments
(>= item1 item2 )
(1)
Increment number by 1
(1+ number)
(-1)
Decrement number by 1
(1- number)
(abs)
Return absolute value of number
(abs number)
(acad_colordlg)
Display the Select Color dialog box
(acad_colordlg color-number [flag])
(acad_strlsort)
Sort list of strings in alphabetical order
(acad_strlsort list)
(action_tile)
Respond when the user clicks a dialog box tile
(action_tile key expression)
(add_list)
Add some text to an existing dialog box string
(add_list string)
(ads)
Check what applications are loaded into BricsCAD
(ads)
(alert)
Display a message box
(alert string)
(alloc)
Set the memory segment size for LISP
(alloc integer)
(and)
Return logical AND of the supplied arguments
(and expression )
(angle)
Return the angle (radians) of the line defined by two points
(angle point1 point2)
(angtof)
Convert string representation of angle to radians
(angtof string [mode])
(angtos)
Convert angle (radians) to string representation
(angtos angle [mode [precision]])
(append)
Append list arguments to one list
(append list1 list2 )
(apply)
Apply the specified function for each argument supplied iin the list
(apply function list)
(arx)
Returns a list of the currently loaded ObjectARX applications
(arx)
(arxload)
Loads an ObjectARX application
(arxload application [onfailure])
(arxunload)
Unloads an ObjectARX application
(arxunload application [onfailure])
(ascii)
Convert the first character of string to its ASCII char code (integer)
(ascii string)
(assoc)
Find the first matching item in the list
(assoc item list)
(atan)
Return arctangent
(atan number1 [number2])
(atof)
Convert a string to a real number
(atof string)
(atoi)
Convert a string to an integer
(atoi string)
(atom)
Confirm that an item is an atom
(atom item)
(atoms-family)
Return a list of the currently defined symbols
(atoms-family format [symbol1 symbol2 ])
(autoload)
Automatically load the LISP application when one of its commands is used
(autoload application list)
(boole)
Apply the bitwise Boolean function
(boole function integer1 integer2 )
(boundp)
Confirm that this item has a value bound to it
(boundp item)
(caddr)
Return the third item of the list
(caddr list)
(cadr)
Return the second item of the list
(cadr list)
(car)
Return the first item of the list
(car list)
(cdr)
Return everything in the list execpt the first item
(cdr list)
(chr)
Convert the integer (ASCII char code) to a single-character string
(chr integer)
(client_data_tile)
Associate data with a dialog box tile
(client_data_table key data)
(close)
Close an open file
(close file-descriptor)
(command)
Launch this BricsCAD command
(command cmd [arguments] )
(cond)
Common conditional function in LISP
(cond (statement1 result1 ) )
(cons)
Add this item to the beginning of the list
(cons item list)
(cos)
Calculate the cosine
(cos angle)
(cvunit)
Convert a value from one unit of measurement to another
(cvunit value from to)
(defun)
Define a LISP function
(defun [c:] name ([arg1 arg2 ] / [local-var1 local-var2 ]) expression)
(dictadd)
Add a nongraphical object to a dictionary
(dictadd ename symbol newobj)
(dictnext)
Find the next item in a dictionary
(dictnext ename [rewind])
(dictremove)
Remove an item from a dictionary
(dictremove ename symbol)
(dictrename)
Rename a dictionary entry
(dictrename ename oldsym newsym)
(dictsearch)
Search a dictionary for an item
(dictsearch ename symbol [setnext])
(distance)
Determine the distance between two points
(distance point1 point2)
(distof)
Convert a string to a real number
(distof string [mode])
(done_dialog)
Terminate a dialog box
(done_dialog [flag])
(end_image)
End the creation of a dialog box image
(end_image)
(end_list)
End the processing of a dialog box list
(end_list)
(entdel)
Delete entity
(entdel entity-name)
(entget)
Retrieve the entity's definition data
(entget entity-name [application-list])
(entlast)
Get the last entity in the drawing
(entlast)
(entmake)
Add an entity to the drawing
(entmake [entity-list])
(entmakex)
Make a new entity, give it a handle and return it's new entity name
(entmakex [entity-list])
(entmod)
Modify the entity
(entmod entity-list)
(entnext)
Return the next entity in the drawing
(entnext [entity-name])
(entsel)
Prompt the user to select an entity
(entsel [prompt])
(entupd)
Redraw the entity
(entupd entity-name)
(eq)
Determine whether two expressions are bound to the same symbol
(eq statement1 statement2)
(equal)
Determine whether two statements are the same
(equal statement1 statement2 [tolerance])
(*error*)
Display an error message
(*error* string)
(eval)
Evaluate LISP expression
(eval statement)
(exit)
Terminate
(exit)
(exp)
Calculate the natural exponent
(exp number)
(expand)
Allocates additional memory for LISP
(expand integer)
(expt)
Raise number to the specified power
(expt base power)
(fill_image)
Fill a dialog box's rectangle with color
(fill_image x y width height color)
(findfile)
Search for the specified file or directory
(findfile filename)
(fix)
Convert a real number to the nearest integer
(fix number)
(float)
Convert an integer to a real
(float number)
(foreach)
Evaluate the expression to every item in the list
(foreach variable list expression )
(gc)
Perform garbage collection
(gc)
(gcd)
Calculate the greatest common denominator
(gcd integer1 integer2)
(get_attr)
Determine the attribute of a dialog box's key
(get_attr key attribute)
(get_tile)
Determine the value of a dialog box's tile
(get_tile key)
(getangle)
Prompt the user to specify an angle
(getangle [point] [prompt])
(getcfg)
Determine the value of the parameter
(getcfg parameter)
(getcname)
Determine the localized command name
(getcname [ _ ]command-name)
(getcorner)
Prompt the user to specify the second corner of a rectangle
(getcorner point [prompt])
(getdist)
Prompt the user to specify two points
(getdist [point] [prompt])
(getenv)
Determine the value of the operating system variable
(getenv variable)
(getfiled)
Display the Open File dialog
(getfiled title filename ext flags)
(getint)
Prompt the user to enter an integer
(getint [prompt])
(getkword)
Prompt the user to select a keyword
(getkword [prompt])
(getorient)
Prompt the user to specify an angle
(getorient [pt] [prompt])
(getpoint)
Prompt the user to select a point
(getpoint [point] [prompt])
(getreal)
Prompt the user to select a real number
(getreal [prompt])
(getstring)
Prompt the user to enter a string
(getstring [flag] [prompt])
(getvar)
Return the value of a system variable
(getvar sysvar)
(graphscr)
Switch to the graphics window
(graphscr)
(grclear)
Clear the viewport
(grclear)
(grdraw)
Draw a line
(grdraw point1 point2 color [highlight])
(grread)
Read the data coming in from the input devices
(grread [flag] [bits [cursor]])
(grtext)
Write text on the status line
(grtext [flag text])
(grvecs)
Draw one or more lines
(grvecs vector-lists [trans])
(handent)
Return the entity name based on its handle
(handent handle)
(help)
Launch help
(help [filename [topic [flag]]])
(if)
Conditionally evaluates expressions
(if test statement1 [statement2])
(initdia)
Force the dialog box version of a command
(initdia [flag])
(initget)
Initialize the keywords for next user-input
(initget [bits] [string])
(inters)
Find the intersection
(inters point1 point2 point3 point4 [flag])
(itoa)
Convert integer to string
(itoa integer)
(lambda)
Define an unnamed LISP function
(lambda arguments expression )
(last)
Return the last item in the list
(last list)
(length)
Return the number of elements contained in a list
(length list)
(list)
Create a list
(list expression �)
(listp)
Confirm that an item is a list
(listp item)
(load)
Load that LISP file
(load filename [flag])
(load_dialog)
Load a DCL file
(load_dialog filename)
(log)
Calculate the natural logarithm
(log number)
(log10)
Calculate the common logarithm
(log10 number)
(logand)
Determine what is the logical AND
(logand integer1 integer2 �)
(logior)
Determine what is the logical OR
(logior integer1 integer2 �)
(lsh)
Do a bitwise shift
(lsh integer1 integer2)
(mapcar)
Apply the function to the list
(mapcar function list1 [list2 ])
(max)
Return the largest number
(max number1 number2 �)
(mem)
Display the status of the LISP memory
(mem)
(member)
Identify the first occurrence of an item in the list
(member item list)
(menucmd)
Execute that menu command
(menucmd string)
(menugroup)
Determine whether a menu group is loaded
(menugroup name)
(min)
Return the smallest number
(min number1 number2 �)
(minusp)
Determine whether a value is a negative number
(minusp number)
(mode_tile)
Set the mode of the dialog box tile
(mode_tile key mode)
(namedobjdict)
Return the current drawing's named object dictionary (Root)
(namedobjdict)
(nentsel)
Prompt the user to select an entity within a complex entity
(nentsel [prompt])
(nentselp)
Same functionality as nentsel but without user input
(nentselp [prompt] [point])
(new_dialog)
Display a dialog box
(new_dialog dialog dcl-id [function point])
(not)
Determine whether an item is nil
(not item)
(nth)
Determine the nth item in the list
(nth integer list)
(null)
Determine whether the item is bound to nil
(null item)
(numberp)
Determine whether an item is a number
(numberp item)
(open)
Open file for access by LISP IO functions
(open filename mode)
(or)
Calculate the logical OR
(or statement )
(osnap)
Return 3D point as result of applying the specified entity snap
(osnap point mode)
(polar)
Return 3D point defined by angle and distance of specified point
(polar point angle distance)
(prin1)
Print string
(prin1 [expression [file-descriptor]])
(princ)
Print string taking into account control characters
(princ [expression [file-descriptor]])
(print)
Print string using formatted printing
(print [expression [file-descriptor]])
(progn)
Evaluates each expression sequentially and returns the value of the last expression
(progn statement1 statement2 )
(prompt)
Print message on the command line
(prompt string)
(quit)
Quit the current LISP routine
(quit)
(quote)
Returns an expression without evaluating it
(quote statement)
(read)
Determine the first item in a string
(read string)
(read-char)
Read a single character
(read-char [file-descriptor])
(read-line)
Read a whole line
(read-line [file-descriptor])
(redraw)
Redraw the viewport or just a single entity
(redraw [ename [mode]])
(regapp)
Register the application
(regapp appname)
(rem)
Determine the remainder of this division operation
(rem number1 number2 [number3 ])
(repeat)
Evaluate each expression a specified number of times
(repeat number statement1 [statement2 ])
(reverse)
Returns a copy of a list with its elements reversed
(reverse list)
(rtos)
Convert real to string
(rtos number [mode [precision]])
(set)
Assign the statement to the symbol
(set �symbol statement)
(set_tile)
Set the value of the dialog box tile
(set_tile key value)
(setcfg)
Set the parameter to the value
(setcfg parameter value)
(setenv)
Set the operating system variable to that value
(setenv variable value)
(setfunhelp)
Register the command with that Help file
(setfunhelp "c:filename" [helpfile [topic [command-name]]]])
(setq)
Set the symbol to the statement
(setq symbol1 statement1 [symbol2 statement2] )
(setvar)
Set the system variable to that value
(setvar sysvar value)
(setview)
Create a 3-D viewpoint
(setview view-descriptor [vport])
(sin)
Calculate the sine
(sin angle)
(slide_image)
Display a slide in the dialog box
(slide_image x y width height slide)
(snvalid)
Determine whether the symbol is made-up of valid characters
(snvalid symbol [flag])
(sqrt)
Calculate the square root
(sqrt number)
(ssadd)
Add entity to the selection set
(ssadd [entity-name [selection-set]])
(ssdel)
Delete entity from the selection set
(ssdel entity-name selection-set)
(ssget)
Create a selection set
(ssget [mode] [point1 [point2]] [point-list] [filter-list])
(ssgetfirst)
Determine which entities are highlighted and/or gripped
(ssgetfirst)
(sslength)
Determine how many entities are in the selection set
(sslength selection-set)
(ssmemb)
Determine whether an entity is in the selection set
(ssmemb entity-name selection-set)
(ssname)
Identify the nth entity in the selection set
(ssname selection-set index)
(ssnamex)
Retrieves information about how a selection set was created
(ssnamex selection-set index)
(sssetfirst)
Determines which objects are selected and gripped
(sssetfirst grip-set [pick-set])
(startapp)
Launch Windows application
(startapp appname [filename])
(start_dialog)
Start that dialog box
(start_dialog)
(start_image)
Start creating a dialog box image
(start_image key)
(start_list)
Start processing a list box
(start_list key [operation [index]])
(strcase)
Convert string to all upper- or all lower-case
(strcase string [flag])
(strcat)
Concatenate strings
(strcat string1 [string2] �)
(strlen)
Return the number of characters in a string
(strlen [string1] [string2] �)
(subst)
Returns a copy of a list with its elements substituted
(subst new old list)
(substr)
Return a substring of a string
(substr string start [length])
(tablet)
Retrieves and sets digitizer (tablet) calibrations
(tablet code [row1 row2 row3 direction])
(tan)
Determine the tangent of an angle
(tan angle)
(tblnext)
Find the next item in a symbol table
(tblnext table-name [flag])
(tblobjname)
Return the entity name of a specified symbol table entry
(tblobjname table-name symbol)
(tblsearch)
Search the table for a symbol
(tblsearch table-name symbol [flag])
(term_dialog)
Terminate all dialog boxes
(term_dialog)
(terpri)
Print a carriage return
(terpri)
(textbox)
Return the bounding box of a text entity
(textbox entity-list)
(textpage)
Switches focus from the drawing area to the text screen
(textpage)
(textscr)
Switches focus from the drawing area to the text screen
(textscr)
(trace)
Turn on debug mode
(trace function )
(trans)
Translate that point from one coordinate system to another
(trans point from to [flag])
(trim)
Remove leading and trailing blanks
(trim string [flag])
(type)
Returns the type of a specified item
(type item)
(unload_dialog)
Unload that dialog box
(unload_dialog dcl_id)
(untrace)
Turn off debug mode
(untrace function )
(vector_image)
Draw a vector in the dialog box
(vector_image x1 y1 x2 y2 color)
(ver)
Determine the version number of this LISP
(ver)
(vmon)
Turn on virtual memory
(vmon)
(vports)
Get information about this viewport
(vports)
(wcmatch)
Performs a wild-card pattern match on a string
(wcmatch string pattern)
(while)
Evaluate other expressions while test expression is true
(while test statement �)
(write-char)
Write that character to a file
(write-char character [file-descriptor])
(write-line)
Write that string to a file
(write-line string [file-descriptor])
(xdroom)
Determine how much xdata space is still available for an entity
(xdroom entity-name)
(xdsize)
Determine how much space a list takes up as xdata
(xdsize list)
(zerop)
Determine whether this number is zero
(zerop number)
© Menhirs NV. All rights reserved. |