API Reference > OdBcf Namespace > Classes > OdBcfSession Class > OdBcfSession Methods > OdBcfSession::createComponentVisibility Method
OdBcfSession::createComponentVisibility Method
Syntax
C++
OdBcfComponentVisibilityPtr createComponentVisibility(const OdArray<OdString> & ifcGuids, bool defaultVisibility = false, OdResult * result = NULL) const;
Parameters 
Description 
const OdArray<OdString> & ifcGuids 
[in] An array of strings that contains GUIDs for the instance initialization.  
bool defaultVisibility = false 
[in] A flag that determines whether the components are visible by default (if it is equal to true) or hidden (if it is equal to false).  
OdResult * result = NULL 
[out] A raw pointer to a value that contains the result of the operation.  

A smart pointer to the created OdBcfComponentVisibility instance.

Creates a new component visibility instance.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.