-#==============================================================================
-# File : visu_big_table.py
-# Created : 20/01/03
-# Author : Vadim SANDLER
-# Project : SALOME
-# Copyright : Open CASCADE
+# VISU VISU_SWIG : binding of C++ implementation and Python
+#
+# Copyright (C) 2003 CEA/DEN, EDF R&D
+#
+#
+#
+# File : visu_big_table.py
+# Author : Vadim SANDLER
+# Module : VISU
# $Header$
-#==============================================================================
-# ============================================================================
-# Test large tables : ~200 curves ( 100 points in each )
-# ============================================================================
import salome
import math
import SALOMEDS
myBuilder = myStudy.NewBuilder()
# >>> Getting (loading) VISU component =======================================
-myVisu = salome.lcc.FindOrLoadComponent("FactoryServer", "VISU")
+myVisu = salome.lcc.FindOrLoadComponent("FactoryServer", "Visu")
myComponent = myStudy.FindComponent("VISU")
myVisu.SetCurrentStudy(myStudy)
if not myComponent:
myComponent = myBuilder.NewComponent("VISU")
aName = myBuilder.FindOrCreateAttribute(myComponent, "AttributeName")
-# aName.SetValue("Visu")
- aName.SetValue( salome.sg.getComponentUserName("VISU") )
+ aName.SetValue("Visu")
myBuilder.DefineComponentInstance(myComponent,myVisu)
# >>> Creating object with Table of real[ 200 * 20 ] ========================