Python scripting OLP - Objects

CENPyOlpProgramComponent

Previous  Chapter  Next

 

Methods

 

GetType(): OlpProgramComponentType

 

o

return

the program component type

 

[Example]   

   type = prgComponent.GetType()

 


 

GetParentComponent(): CENPyOlpProgramComponent

 

o

return

the parent program component

 

 

[Example]

   parent = prgComponent.GetParentComponent()

 


 

GetChildComponents(): list

 

o

return

list of CENPyOlpProgramComponent objects. Output of all child program components

 

 

[Example]

   childCompList = prgComponent.GetChildComponents()

 


 

GetCreatorName(): string

 

o

return

the Technology / WorkMethod / Event name of program component

 

 

[Example]

   name = prgComponent.GetCreatorName()

 


 


Previous
Previous page
Chapter
Chapter page
Next
Next page