|
SHAPER 9.16.0
|
A validator for selection base shapes for wire. More...
#include <BuildPlugin_Validators.h>

Public Member Functions | |
| virtual bool | isValid (const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
| Returns true if attributes is ok. More... | |
| virtual bool | isNotObligatory (std::string theFeature, std::string theAttribute) |
| Returns true if the attribute in feature is not obligatory for the feature execution. More... | |
A validator for selection base shapes for wire.
Allows to select edges on sketch and wires objects that are connected to already selected shapes.
|
virtual |
Returns true if attributes is ok.
| theFeature | the checked feature. |
| theArguments | arguments of the feature. |
| theError | error message. |
remove objects of sub-type if objects of correct type is in List, in some cases : Wire builder: wires and edges selected
Implements ModelAPI_FeatureValidator.
|
virtualinherited |
Returns true if the attribute in feature is not obligatory for the feature execution.
Returns false by default.
Reimplemented in FeaturesPlugin_ValidatorBooleanArguments, FeaturesPlugin_ValidatorBooleanFuseArguments, FeaturesPlugin_ValidatorBooleanCommonArguments, GeomValidators_Different, GeomValidators_NotSelfIntersected, GeomValidators_ZeroOffset, Model_FeatureValidator, and SketchPlugin_SolverErrorValidator.