@robert06 wrote:
....the linexp.lsp itself still won't give correct outline shapes of polylines by their width....
I looked up linexp.lsp, and though I didn't load and try it, it's not just about Exploding, but apparently about breaking things of non-continuous linetypes into pieces to emulate the non-continuous linetype. I also have a routine to do something similar, called BreakUp.lsp, available here.
Read the comments at the top of the file. It is not like linexp.lsp in several ways [I'm assuming some things about linexp.lsp from their description]. It doesn't deal with complex linetypes [with embedded text or shapes], only the dash-and-gap types. And it doesn't take the linetype from the object or the linetype assigned to its Layer -- you have to tell it [within each command name defined] what linetype to emulate in Breaking Up objects. BUT [the reason I brought it up, in case this will serve your purposes] in the case of Polylines with width, since it does it by Breaking the object itself, that width is preserved, even if it varies [except for the linetypes with dots (which are zero-length dashes) -- those become Point entities]. It doesn't make outlines of them as PLWO does -- they stay Polylines with their width, but broken up into shorter pieces. You can then [if their width is constant] convert them to outlines with PLWO, if that's what you need.
Another difference -- 3D Polylines don't honor non-continuous linetypes assigned to them, but BreakUp does work with them, to break them up into pieces to emulate those linetypes.
Kent Cooper, AIA