Function Entry: CLAL-CLIPBOARD-COPY-SEXP

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: CLAL-CLIPBOARD-COPY-SEXP

Name

clal-clipboard-copy-sexp

Class

clautolisp Extension Function

Syntax

(clal-clipboard-copy-sexp value)

Arguments and Values

  • value — any AutoLISP value.

Description

Copy value to the clipboard as a sexp (sedit spec §5.4): its source text is placed on the system clipboard, and the object is retained in the in-process *clipboard*. The counterpart clal-clipboard-paste-sexp reads it back.

Return Values

Always nil.

Side Effects

Replaces the system clipboard text and the in-process *clipboard* node.

Affected By

  • Availability of a system clipboard provider on the host.

Exceptional Situations

Errors printing value to source text propagate.

Examples

(clal-clipboard-copy-sexp '(1 2 (3 . 4)))
=> nil

Availability

  • clautolisp: documented (this entry); implemented since clautolisp 1.4.x.
  • AutoCAD: NOT present.
  • BricsCAD: NOT present.

Source Notes

  • clautolisp-only extension; see the sedit spec §5.4 and clautolisp/documentation/clipboard-interface.org.