SHAPER  9.12.0
PythonAPI.model.dump.DumpAssistant.DumpAssistant Class Reference

Collect information about features that may be dumped and stores the model as a Python script. More...

Inheritance diagram for PythonAPI.model.dump.DumpAssistant.DumpAssistant:
Inheritance graph

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def collectFeatures (self)
 Collect feature wrappers, which allow dumping (have method dump) More...
 
def dumpFeature (self, theFeature, theForce)
 Create wrapper for a given feature and dump it. More...
 
def dumpFolder (self, theFolder)
 Create wrapper for a folder and dump it. More...
 
def dumpParameter (self, theFeature)
 Dump all parameters. More...
 
def attributeGetter (self, theFeature, theAttrName)
 Return getter for specified attribute. More...
 
def featureWrapper (self, theFeature)
 Return name of wrapper feature. More...
 
def exportVariable (self, theEntry, theVarName)
 Exports the dumped variables names to the SHAPERSTUDY. More...
 

Data Fields

 myEngine
 
 myFeatures
 
 myWrapperNames
 

Detailed Description

Collect information about features that may be dumped and stores the model as a Python script.

Constructor & Destructor Documentation

◆ __init__()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.__init__ (   self)

Constructor.

Member Function Documentation

◆ collectFeatures()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.collectFeatures (   self)

Collect feature wrappers, which allow dumping (have method dump)

◆ dumpFeature()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.dumpFeature (   self,
  theFeature,
  theForce 
)

Create wrapper for a given feature and dump it.

◆ dumpFolder()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.dumpFolder (   self,
  theFolder 
)

Create wrapper for a folder and dump it.

◆ dumpParameter()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.dumpParameter (   self,
  theFeature 
)

Dump all parameters.

◆ attributeGetter()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.attributeGetter (   self,
  theFeature,
  theAttrName 
)

Return getter for specified attribute.

◆ featureWrapper()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.featureWrapper (   self,
  theFeature 
)

Return name of wrapper feature.

◆ exportVariable()

def PythonAPI.model.dump.DumpAssistant.DumpAssistant.exportVariable (   self,
  theEntry,
  theVarName 
)

Exports the dumped variables names to the SHAPERSTUDY.