]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
IMP PAL13614: Added a new attrubute AttributeString
authorsrn <srn@opencascade.com>
Tue, 17 Oct 2006 10:34:29 +0000 (10:34 +0000)
committersrn <srn@opencascade.com>
Tue, 17 Oct 2006 10:34:29 +0000 (10:34 +0000)
src/VISU_SWIG/visu.py

index 15d5b7fe3907f0595d6c5a510fd73e5e4a02fd8e..8e237dfbb8f3d358c0e1aafa335acde19139e81a 100644 (file)
@@ -463,8 +463,8 @@ def CreatePrsForResult(theVisu, theResult, theView, thePrsTypeList, thePictureDi
                     aFieldName = anAttr.Value()
                     print "      ", aFieldName
                     
-                    anAttr = aFieldSObj.FindAttribute("AttributeComment")[1]
-                    anAttr = anAttr._narrow(SALOMEDS.AttributeComment);
+                    anAttr = aFieldSObj.FindAttribute("AttributeString")[1]
+                    anAttr = anAttr._narrow(SALOMEDS.AttributeString);
                     aFieldComment = anAttr.Value()
                     aMap = StrToMap(aFieldComment)
                     
@@ -479,8 +479,8 @@ def CreatePrsForResult(theVisu, theResult, theView, thePrsTypeList, thePictureDi
                             aTimeStampName = anAttr.Value()
                             print "        ", aTimeStampName
                             
-                            anAttr = aTimeStampSObj.FindAttribute("AttributeComment")[1]
-                            anAttr = anAttr._narrow(SALOMEDS.AttributeComment);
+                            anAttr = aTimeStampSObj.FindAttribute("AttributeString")[1]
+                            anAttr = anAttr._narrow(SALOMEDS.AttributeString);
                             aTimeStampComment = anAttr.Value()
                             aMap = StrToMap(aTimeStampComment)
                             aMeshName = aMap["myMeshName"]