Close
Relief for ODA Team in Ukraine
Learn more
ODA IFC SDK
API Reference
>
OdDAI Namespace
>
Classes
>
GlobalRule Class
>
GlobalRule Methods
>
GlobalRule::validate Method
GlobalRule::validate Method
Syntax
C++
OdDAI::Logical
validate
(
ModelPtr
model
,
OdAnsiStringList
&
aggr
)
const
;
Description
Checks the Global Rule within a specified
model
and forms the list of aggregates, which violates it.
Parameters
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.
Returns
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.
Links
GlobalRule Class
OdDAI Namespace
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!