SHAPER  9.12.0
PythonAPI.model.roots.Feature Class Reference
Inheritance diagram for PythonAPI.model.roots.Feature:
Inheritance graph

Public Member Functions

def __init__ (self)
 
def addRealInput (self, inputid)
 
def getRealInput (self, inputid)
 
def getTextInput (self, inputid)
 
def addResult (self, result)
 

Detailed Description

Base class of user-defined Python features.

Constructor & Destructor Documentation

◆ __init__()

def PythonAPI.model.roots.Feature.__init__ (   self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Member Function Documentation

◆ addRealInput()

def PythonAPI.model.roots.Feature.addRealInput (   self,
  inputid 
)
F.addRealInput(str) -- add real attribute

◆ getRealInput()

def PythonAPI.model.roots.Feature.getRealInput (   self,
  inputid 
)
F.getRealInput(str) -- get real value of the attribute

◆ getTextInput()

def PythonAPI.model.roots.Feature.getTextInput (   self,
  inputid 
)
F.getTextInput(str) -- get text value of the attribute

◆ addResult()

def PythonAPI.model.roots.Feature.addResult (   self,
  result 
)
F.addResult(ModelAPI_Result) -- add ModelAPI_Result shape as a result