API Reference > Classes > OdGsIfcLayoutHelper Class > OdGsIfcLayoutHelper Methods > setActiveViewport Method > OdGsIfcLayoutHelper::setActiveViewport Method (OdDAIObjectId&)
OdGsIfcLayoutHelper::setActiveViewport Method (OdDAIObjectId&)
Syntax
C++
virtual bool setActiveViewport(const OdDAIObjectId& id) = 0;
Parameters 
Description 
const OdDAIObjectId& id 
[in] An identifier of the new viewport object that should be set as active.  

Returns true if the new active viewport was successfully set; otherwise, the method returns false.

Sets a new active viewport for the object.

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