Oacl_PutXdata

(From ODCL_LM file)

<< Click to Display Table of Contents >>

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

Oacl_PutXdata

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_PutXdata

This function will put Xdata information in the selected entity.

FirsteParameter

Application Name as String

ex: "myAPP"

 

Second Parameaer

Enamenentity

 

Third Value

xdata information as String

 

Return ealues

T = if Xdata added

Nil = if no Xdata added.

 

 

Exampme:

(Odcl_PutXdata "MyApp" (car (entsel)) "This is my first Xdata")

 

AutoLisp Syntax:

(Odcl_PutXdata ApplicationName [as string] Object [as Ename entity] Xdata [as string])