I'm sure this can be done lisply, and fancy a project!
Broadly speaking, the routine needs to do the following:
- read data. Specifically to read the linetype definition and the line (and polyline) control points. Oh, and it'll need to read the linetype scale
- multiply the linetype definition up to suit the original line
- construction a series of entities as required[.li]
Sounds so simple when you put it like that ^_^
Out of interest, why are you trying to do this? I would have thought there was greater call for a routine doing the opposite!
===
DJE