modified obj_line for new entity realization