Entity Visibility

If you specify that an entity is invisible, it will be invisible regardless of other settings in the database. Other factors can also cause an entity to be invisible. For example, an entity will not be displayed if its layer is turned off or frozen. The value of AcDb::Visibility can be either kInvisible or kVisible.

The setVisibility() and visibility() functions allow you to set and inquire the visibility for an entity.