- Model_AttributeInteger* anAttribute = new Model_AttributeInteger();
- // Expression should use the same label to support backward compatibility
- TDF_Label anExpressionLab = anAttrLab;
- anAttribute->myExpression.reset(new Model_ExpressionInteger(anExpressionLab));
- anAttribute->myIsInitialized = anAttribute->myExpression->isInitialized();
- anAttr = anAttribute;