Hi Andrea,
I'm not trying to simulate etransmit as such, we regularly receive drawings from third parties such as Architects which we use as xrefs for our drawings. We have to clean them up by typically setting all entities to bylayer and to a greyscale color etc ...
One problem that we tend to find is the linetypes are not defined using the standard acad.lin or acadiso.lin files and may have a similar name, 123hidden for example instead of hidden, or may have a 'Dgn Style ..' reference if the drawings were produced via mircostation. So we need to change the entity non-standard linetypes to standard acad types, which sometimes also involves changing the linetypescale of the entity to get it looking right.
If there are no blocks in the drawing then this is not particularly a problem to go through the drawing and change the entity properties accordingly, however some drawings we receive contain a large amount of deep nested blocks.
I'm therefore looking at trying to change the entity property by lisp rather than exploding or bursting every block and doing a manual edit. So in effect search the drawing for any entity that has a non-continuous linetype (or that is set by layer, with the layer having a non-continuous linetype), get the linetype - compare the linetype to a list, if there is a match, change the entity linetype or layer linetype and set the linetypescale of the entity based on a list.
As my previous post I know a little lisp, but this is way beyond my meager skills!
Ian