derive
Syntax
<Path>.derive([Destination:object, Name:string]) → object |
The method derive derives the object designated by <Path> in the Class Library. Note that Plant Simulation does preserve the inheritance hierarchy.
Parameters
The optional parameter Destination of data type object designates the destination at which Plant Simulation creates the object.
The optional parameter Name of data type string designates the name of the object that will be created. If this Name cannot be used because it is not unique, Plant Simulation shows an error message.
Return Value
The return value has the data type object. Plant Simulation returns the derived object, when it was able to derive the object. It returns VOID when deriving failed.
Example
.MaterialFlow.Station.derive |
var NewVariable : object := .InformationFlow.&Variable.derive |
var NewMethod : object := .InformationFlow.&Method.derive |
Related Topics
Related Topics
General Methods of All ObjectsaddObserver
attributeWatchable
closeDialog (all objects)
deleteObject
duplicate
extendPath
getHTMLCode (all objects)
getObservers
getXYWH
hasAttribute (2D)
isNameUnique (identifier)
memUsage
moveToFolder
openDialog (all objects)
print (all objects)
removeAllObservers
removeObserver
replace
setName
setPosition
setXYWH
updateDialog
writeObject