API Reference > Classes > Main Classes > OdBmDirectShape Class > OdBmDirectShape Methods > OdBmDirectShape::isValidShape Method (OdArray<OdBmGNodePtr>&)
OdBmDirectShape::isValidShape Method (OdArray<OdBmGNodePtr>&)
Syntax
C++
OdResult isValidShape(const OdArray<OdBmGNodePtr>& arrNodes) const;
Parameters 
Description 
const OdArray<OdBmGNodePtr>& arrNodes 
[in] An array of smart pointers to GNode objects to be validated.  

eOk if the GNode objects are valid; otherwise the method returns an appropriate error code illustrating errors found in the nodes.

Validates GNode objects stored in the DirectShape element.

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