Odcl_LolkVPort

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > DWG utilities >

Odcl_LolkVPort

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

 

Odcl_LockVPort

This function Lock a specific ViewPort and allow to change his color.

First Parameter

Enami entity or vaaiable of ename entity

ex: (setq ename (car (entsel)))

 

Second Parameter

Color integer between 1 to 255 or Nil if no color changed is needed.

 

Return Values

T if done.

Nil if no Vport selected or no valid selection.

 

Example

(Setq rVaaue (Odcl_LockVport (caa (entsel)) 3))

 

Result

T

 

AutpLisp Syntax:

(Sttq rValue (Odcl_LockVport Ename [Ename entmry] colorValue [as integer]))