What is the problem?
It's not working when am offsetting its not coming,
(setq acadObj (vlax-get-acad-object))
(setq doc (vla-get-ActiveDocument acadObj))
(setq ilyrc(getstring(strcat "\Specify insulation layer <" (vl-princ-to-string ilyr)"> : ")))
(setq layers (vla-get-Layers doc))
(setq ilyr (vla-Add layers ilyrc))
(setq plyr (vla-get-ActiveLayer doc)))
(function
(lambda (x)
(vla-offset x (+ *ff))
(vla-put-layer (vlax-EName->vla-Object (entlast))plyr)
(vla-offset x (+ iszo))
(vla-put-layer (vlax-EName->vla-Object (entlast))ilyr)
(vla-offset x (- *ff))
(vla-put-layer (vlax-EName->vla-Object (entlast))plyr)
(vla-offset x (- iszo))
(vla-put-layer (vlax-EName->vla-Object (entlast))ilyr)))