as shown in bottom image , there is an yellow poly line have multi side offset of red lines boundary , this mission can be done with offsetsegments lisp , but , you need to draw polyline exactly on boundary as duplicate line then you can run lisp to get your offset with your desired offset side .
i wonder if it is possible to write lisp to do this task instantly when draw polyline (add new sub command offset value and offset side ) when run main polyline command
offset segment.lsp