• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > AutoLISP API > AutoLISP Reference > LISP Functions > (vector_image) 

(vector_image)

(vector_image)

(vector_image x1 y1 x2 y2 color)


"Draw a vector in the dialog box."


This function draws a vector of a specified color in a dialog box. The vector is drawn from x1,y1 to x2,y2. The origin (0,0) of the dialog box tile is at the upper-left corner.

The color argument can take one of these special meanings:

Color Mnemonic Meaning
-2 BGLCOLOR Current background of the progeCAD graphics screen.
-15 DBGLCOLOR Current dialog box background color.
-16 DFGLCOLOR Current dialog box foreground color of text.
-18 LINELCOLOR Current dialog box line color.

Example

Code Returns
(vector_image 1 2 3 4 -1) nil

(dimx_tile key)

(dimy_tile key)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.