bmcanney wrote:
> Bill,
>
> Correct me if I'm missing something here, but when I modify the assoc
> 8 code of a vertex, it always resets itself to the layer that the
> poyline resides on.
As well it should! AutoCAD knows what havoc would result if different
segments were on different layers, so it doesn't let this happen.
I did recall having problems way back with polylines imported from other
CAD programs or third-party apps, so I did a little investigation.
I edited a DXF file in a text editor to make the vertices of both ends
of the middle segment of a three-segment polyline to be on layer "TEST"
and colored red, DXFIN'd that into a blank drawing, then listed the
polyline (below). The polyline comes in okay, but the layer and color of
the segment are ignored: the whole polyline takes the color of the main
entity (whether bylayer, byblock, or a color), and the middle segment
ignores the freeze/off state of layer "test".
So, yes, it can be done, but AutoCAD ignores it.
-Bill
Command: list
Select objects: 1 found
Select objects:
POLYLINE Layer: "0"
Space: Model space
Handle = 80
Open
starting width 0.0000
ending width 0.0000
area 0.3932
length 4.3249
VERTEX Layer: "0"
Space: Model space
Handle = 81
at point, X= 7.1312 Y= 4.2689 Z= 0.0000
starting width 0.0000
ending width 0.0000
VERTEX Layer: "test"
Space: Model space
Color: 1 (red) Linetype: "BYLAYER"
Material: ByLayer
Handle = 82
at point, X= 8.3004 Y= 5.5144 Z= 0.0000
starting width 0.0000
ending width 0.0000
VERTEX Layer: "test"
Space: Model space
Color: 1 (red) Linetype: "BYLAYER"
Handle = 83
at point, X= 9.4954 Y= 5.0136 Z= 0.0000
starting width 0.0000
ending width 0.0000
VERTEX Layer: "0"
Space: Model space
Material: ByLayer
Handle = 84
at point, X= 10.4976 Y= 5.8740 Z= 0.0000
starting width 0.0000
ending width 0.0000
END SEQUENCE Layer: "0"
Space: Model space
Handle = 85
Command: