Gio_S
Guest
Hello, everyone. I develop autolisp in intelligent environment.
However, I try to do this with a portability even on autocad, and this theoretically should be assured.
Now, in my various converters, I check the color in files of various kinds using, if at the origin I convert from dxf, the layer name of the entity, if appropriately arranged with a name that aims to represent a color. or possibly use its layer color or ultimately the color of the entity (cod 62 classic).
My question, however, is simple, because I think I had the problem with the autocad.
if I generate a dxf file, and in the layers section I only have 0, but then in the entity section I also use other layer names (not declared in its appropriate section), autocad creates this layer or gives error reading the dxf?
Of course, this "simplified" method, without prior declaration of all the later found layers, does not allow me to assign a color to the layer (cod 62) that appears suddenly in the entity, but I do not care.
I would be grateful if someone knows, or at the head limit on autocad with these steps, which intellicad allows me without errors.
create a dxf with a triangle (just to exemplify an entity)
edit by hand the file by replacing after code 8 (name layer) of the entity a text type "nuovolayer" to the 0 that will be found.
save the file and reopen with autocad to see if "protes" or even ignores and throws the triangle on layer 0.
Many thanks for patience, triple thanks if someone enlightens me!
Thursday
However, I try to do this with a portability even on autocad, and this theoretically should be assured.
Now, in my various converters, I check the color in files of various kinds using, if at the origin I convert from dxf, the layer name of the entity, if appropriately arranged with a name that aims to represent a color. or possibly use its layer color or ultimately the color of the entity (cod 62 classic).
My question, however, is simple, because I think I had the problem with the autocad.
if I generate a dxf file, and in the layers section I only have 0, but then in the entity section I also use other layer names (not declared in its appropriate section), autocad creates this layer or gives error reading the dxf?
Of course, this "simplified" method, without prior declaration of all the later found layers, does not allow me to assign a color to the layer (cod 62) that appears suddenly in the entity, but I do not care.
I would be grateful if someone knows, or at the head limit on autocad with these steps, which intellicad allows me without errors.
create a dxf with a triangle (just to exemplify an entity)
edit by hand the file by replacing after code 8 (name layer) of the entity a text type "nuovolayer" to the 0 that will be found.
save the file and reopen with autocad to see if "protes" or even ignores and throws the triangle on layer 0.
Many thanks for patience, triple thanks if someone enlightens me!
Thursday