vlax-for
(vlax-for item vlaCollection [ exprA [ exprB
... ] ] )
This function evaluates each item from
vlaCollection by exprA exprB ... and returns the last
evaluated expression value.
Arguments |
item (string) name of a Lisp variable (not
symbol) |
Return |
the value of the last evaluated expression (for last collection item) |
Example |
(vlax-for item
(vla-get-layers ...) (setq name (vla-get-name item) ...) |
Remarks |
Note : the loop variable ('item' in above sample) is a local
variable to the (vlax-for ...) scope ! |
© Bricsys NV. All rights reserved. |