The following traits (properties) can be assigned at the subentity level by calling member functions of the AcGiSubEntityTraits object:
Color, layer, and linetype are AutoCAD entity properties, so they can also be set at the drawable level as described in the previous section. Fill type and GS marker are not AutoCAD entity properties.
Before each call to worldDraw() and viewportDraw(), AutoCAD calls setAttributes() to allow the drawable to initialize the color, layer, linetype, line weight, thickness, and line type scale subentity traits. It initializes fill type to correspond to the regen type, and it initializes the GS marker to zero (a zero marker signifies “no marker”).