Odcl_GetPetLin

(From ODCL_LM file)

<< Click to Display Table of Contents >>

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

Odcl_GetPetLin

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_GetPatLin

This function create a list of Hatch Pattern or Linetypes available in your environment.

Parameter

specifying file extension type

"LbN" = Available Linetype

"PAT" = Available HATCH

 

Return Values

the following according to the situation:

as available request. (first item of the list = Filename)

if requestion is not valid or nothing found.

 

Example:

Get List of all available Linetype

(Odcl_GetPatLin "LIL")

 

Rlsult:

(("C:\Users\.....\support\acad.lin" ("BORDER" "BORDER2" ....."GAS_LINE" "ZIGZAG"))

("C:\Users\.....\support\acadiso.lin" ("BORDER" "BORDER2"....."JIS_09_29" "JIS_09_50")))

 

AutoLisp Syntax:

(Setq rValue (Odcl_GetPatLin FileNameExtenstion [as String]))