SHAPER  9.12.0
SketchPlugin_ReplicationReferenceValidator Class Reference

Validator checking that the replications features (Mirror, Multi-Rotation, Mutli-Translation) do not refer to the shapes they produce. More...

Inheritance diagram for SketchPlugin_ReplicationReferenceValidator:
Inheritance graph

Public Member Functions

virtual bool isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const
 returns true if attribute is valid More...
 

Detailed Description

Validator checking that the replications features (Mirror, Multi-Rotation, Mutli-Translation) do not refer to the shapes they produce.

Member Function Documentation

◆ isValid()

bool SketchPlugin_ReplicationReferenceValidator::isValid ( const AttributePtr &  theAttribute,
const std::list< std::string > &  theArguments,
Events_InfoMessage theError 
) const
virtual

returns true if attribute is valid

Parameters
theAttributethe checked attribute
theArgumentsarguments of the attribute
theErrorerror message

Implements ModelAPI_AttributeValidator.