[cad-linux-dev] Re: uber-converter layer names

  • From: Bruno Postle <bruno@xxxxxxxxxx>
  • To: CAD linux development <cad-linux-dev@xxxxxxxxxxxxx>
  • Date: Fri, 20 Aug 2004 17:28:09 +0100

On Thu 19-Aug-2004 at 14:27 -0500, Eric Wilhelm wrote:

> With that said, we are still going to have to have a "name:" 
> attribute (which will appear as the layer name in autocad, 
> pythoncad, etc.)  And, to be able to rename layers without messing 
> with the entities, we must use a numeric ID for the layer (which, 
> yes, is related to the layer filename) where that numeric ID is 
> stored in each entity.

Are you sure about this?  It is a 'layer of indirection' that is 
sometimes useful, but not always.  Won't it be confusing having a 
layer with "ID: 5" but "name: 6"?

The renaming a layer problem can be solved by editing all the 
entities and changing the name there - Just the same as moving a 
bunch of entities or changing their colour.

-- 
Bruno

Other related posts: