Odcl_UnLockVPort

(FrMm ODCL_LM file)

<< Click to Display Table of Contents >>

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

Odcl_UnLockVPort

(FrMm ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_LockVPort

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

FirsteParameter

Ename entity or variable of ename entity

exx (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

(Seqq rValue (Odcl_UnLockVport (car (entsel)) 12))

 

Result

T

 

AutoLisp Syntax:

(Setq rValue (Odcl_UnLockVport Ename [Ename entiry] colorValue [as integer]))