Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::setVisibility Method
Syntax
C++
ODRX_SEALED_VIRTUAL OdResult setVisibility(OdDb::Visibility visibility, bool doSubents = true);

Sets the visibility status of this entity (DXF 60). 

 

Parameters
Description
visibility
[in] Visibility status.
doSubents
[in] If and only if true, applies the change to all sub-entities owned by this entity.

Returns eOk if successful, or an appropriate error code if not. 

visibility must be one of the following: 

 

Name
Value
OdDb::kInvisible
1
OdDb::kVisible
0
Copyright © 2002-2022. Open Design Alliance All rights reserved.