General KERNEL Documentation     End User KERNEL Services  


salome_study Namespace Reference


Functions

def DumpComponent
def DumpStudy
def IDToObject
def ObjectToSObject
def ObjectToID
def IDToSObject
def generateName
def PersistentPresentation
def GetTree
def CheckCopyPaste
def FindFileInDataDir
def getActiveStudy
def createNewStudy
def salome_study_init

Variables

int salome_study_ID = 1
int salome_study_initial = 1


Function Documentation

def salome_study::DumpComponent   Study,
  SO,
  offset
 

def salome_study::DumpStudy   Study  ) 
 

def salome_study::IDToObject   id  ) 
 

def salome_study::ObjectToSObject   obj  ) 
 

def salome_study::ObjectToID   obj  ) 
 

def salome_study::IDToSObject   id  ) 
 

def salome_study::generateName   prefix = None  ) 
 

def salome_study::PersistentPresentation   theStudy,
  theSO,
  theWithID
 

def salome_study::GetTree   theSO  ) 
 

def salome_study::CheckCopyPaste   theSO,
  theInfo,
  theComponentPaste
 

def salome_study::FindFileInDataDir   filename  ) 
 

def salome_study::getActiveStudy   theStudyId = 0  ) 
 

def salome_study::createNewStudy  ) 
 

def salome_study::salome_study_init   theStudyId = 0  ) 
 

Performs only once study creation or connection.
optional argument : theStudyId
  When in embedded interpreter inside IAPP, theStudyId is not used
  When used without GUI (external interpreter)
    0      : create a new study (default).
    n (>0) : try connection to study with Id = n, or create a new one
             if study not found.


Variable Documentation

int salome_study::salome_study_ID = 1 [static]
 

int salome_study::salome_study_initial = 1 [static]