/// Request for initialization of data model of the feature: adding all attributes
CONSTRUCTIONPLUGIN_EXPORT virtual void initAttributes();
- /// Construction result is allways recomuted on the fly
- CONSTRUCTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
-
/// Use plugin manager for features creation
ConstructionPlugin_Axis();
/// Request for initialization of data model of the feature: adding all attributes
CONSTRUCTIONPLUGIN_EXPORT virtual void initAttributes();
- /// Construction result is always recomputed on the fly
- CONSTRUCTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
-
/// Use plugin manager for features creation
ConstructionPlugin_Plane();
/// Request for initialization of data model of the feature: adding all attributes.
CONSTRUCTIONPLUGIN_EXPORT virtual void initAttributes();
- /// Construction result is allways recomuted on the fly.
- CONSTRUCTIONPLUGIN_EXPORT virtual bool isPersistentResult() {return false;}
-
/// Use plugin manager for features creation
ConstructionPlugin_Point();
if (myUpdateBlocked) {
if (!theFeature->isStable()) {
aDoExecute = true;
- } else if (theFeature->results().size()) { // execute only not-results features
- aDoExecute = !(theFeature->firstResult()->groupName() == ModelAPI_ResultBody::group() ||
- theFeature->firstResult()->groupName() == ModelAPI_ResultPart::group() ||
- theFeature->getKind() == "Sketch");
+ } else if (theFeature->results().size()) { // execute only not persistent results features
+ aDoExecute = !theFeature->isPersistentResult();
} else {
aDoExecute = aState != ModelAPI_StateInvalidArgument;
}