Community
Hi everybody,
I'm writing a small project to display 2d object using transient graphics.
the project work fine expect for 1 point :
the objects use 2 differents layers . The layers are differents about the color and line style
the layers are affected using the syntax like MyEntity.Layer="Layer_Color_1"
when the object are displayed, they use the 0 layer
is it an autocad restriction ?
regards
Luc
Logic colors (ByBlock, ByLayer) have no effect on transient graphics because the entities does not belong to a database. You need to set explicitely the color like this : entity.ColorIndex = 1