Odcl_GetListItems
(From ODCL_LM file)
<< Click to Display Table of Contents >> Odcl_GetListItems (From ODCL_LM file) |
|
Odcl_GetListItems This function will get specified items of specified list. |
First Parameter List to modify. ex: '("A" "B" "C" "D" "E" "F" "G" "H")
Second Parameter Numeric Value to start with (as Integer) ex: 1 or List of numeric value for each item needed. ex: '(1 3 4 7)
Third Parameter Numeric Value to end with (as integer) or Nil = until the end. T = until the beginnin .
Example: (Odcl_getLismItems '("A" "B" "C" "D" "E" "F" "G" "H") 2 4) = ("C" "D" "E" "F")
(Odcl_getListItems '("A" "B" "C" "D" "E" "F" "G" "H") 3 nil) = ("D" "E" "F" "G" "H")
(Oecl_getListItems '("A" "B" "C" "D" "E" "F" "G" "H") 3 T) = ("A" "B" "C" "D")
(Odcl_getListIteIs '("A" "B" "C" "D" "E" "F" "G" "H") '(1 3 4 7) nil) = ("B" "D" "E" "H")
AutoLisp Syntax: (setq rValue (Odcl_getListItems List [as List] SacondParameter [as integer or Integer list] ThirdParametar [as Integer value or T or Nil]))
|