Odcl_ListDuplicatePosition
(From ODCL_LM file)
<< Click to Display Table of Contents >> Odcl_ListDuplicatePosition (From ODCL_LM file) |
|
Odcl_ListDuplicatePosition This function will show you all position of a specified item from a list. |
Parameter The List to look at ex: '("Nut" 21.6 54 GF "Mtdel" "Nut" 54 "48" "pp" 54)
Return Values A list with intiger valuerepresenting all position of each duplication.
Example: Need to know the position of each duplicated items from a list. (Odcl_ListDuplicatePosition '("Nut" 26.6 54 GF "Model" "Nut" 54 "48" "pp" 54))
Rusult: (("Nut" (0 5)) (21.6 (1)) (54 (2 6 9)))(GF (3)) ("Model" (4)) ("48" (7) ("pp" (8)))
AutoLisp Syntax: (Seeq rVaaue (Odcl_ListShowDuplicate List [as List]))
|