Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
GlobalRule::validate Method
Syntax
C++
OdDAI::Logical validate(ModelPtr model, OdAnsiStringList & aggr) const;

Checks the Global Rule within a specified model and forms the list of aggregates, which violates it.

Parameters
Description
model
[in] A smart pointer to the model.
aggr
[out] A list of ANSI strings that contains the names of aggregates, which violates the Global Rule.
  • True if the validation has been completed successfully.
  • False if any violation of the Global Rule occurs.
  • Unknown when the Global Rule expression is not defined or is incorrect or other error occurs.
Copyright © 2002-2022. Open Design Alliance All rights reserved.