si estado_geometría=2 entonces atributos_para_todos=atributos_para_todos2d sino atributos_para_todos=atributos_para_todos3d fin