For LISP functions that are not preceded by "c:" (
- (AT:Segment [color=red]objPnt[/color])
... Just be sure to include a qualified argument for this function, i.e, (cons vla-Object PointList).
Lambda may take a little bit to sink in. In this case, it (the lambda) concisely provides a means by which to supply the lambda's "seg" argument by performing the fix function, and performing the vlax-curve-getpointatparam function within the lambda itself.
That may not make sense, but basically the alternative would be to perform the fix function first (store to variable), then perform the the vlax-curve-getpointatparam component, followed by a princ/prompt, etc.. The posted method is a more concise method.
Hope this helps! |