V5 Wish List

 From:  Michael Gibson
10114.570 In reply to 10114.569 
Hi stefano, for the names set up a shortcut key with this on it and trigger it after you do the DXF import:

script: /* Copy style name to object name */ var objs = moi.geometryDatabase.getSelectedObjects(); var styles = moi.geometryDatabase.getObjectStyles(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.styleIndex < styles.length ) { obj.name = styles.item( obj.styleIndex ).name; } }

I'll see if the DXF importer can be adjusted to get the color from entity properties if there are no "BYLAYER" entities and all entities on the layer have the same entity color which seems to be how your DXF is structured.

- Michael