ULPythonProgram, derived from DULPythonProgram

Previous  Chapter  Next

 

Methods

 

SetName(name: string)

 

 

o

name

the program name

 

Sets program name.

 


 

SetUsedBaseProfile(baseProfile : object)

 

 

o

baseProfile

base profile to be set, object of type ULPythonBaseProfile

 

Set the wide base profile profile to be used by the program.

 


 

SetUsedToolProfile(toolProfile : object)

 

 

o

toolProfile

tool profile to be set, object of type ULPythonBaseProfile

 

Set the wide tool profile profile to be used by the program.

 


 

SetOperationGroups(operationGroups: list)

 

 

o

operationGroups

list of ULPythonOperationGroup objects to be set.

 

Set all operation groups owned by the program.

 


 

AddOperationGroup(operationGroup: object)

 

 

o

operationGroup

operation group to be added

 

Add an operation group to this program.

 


 

SetSubprograms(subprograms: list)

 

 

o

subprograms

list of ULPythonSubprogram subprograms objects to be set.

 

Set all subprograms.

 


 

AddSubprogram(subprogram: object)

 

 

o

subprogram

subprogram to be added.

 

Add a subprogram to this program.

 


 

SetController(controller: object)

 

 

o

controller

controller to be set

 

Set controller for the program.

 


SetAttributes(attributes : list)

 

 

o

attributes

list of all attributes, objects of type OlpCorePythonAttribute

 

Set the list of the motions for this operation.

 


 

AddAttribute(attribute : object)

 

 

o

attribute

attribute to be added, object type OlpCorePythonAttribute

 

Adds an attribute at the end of the attributes list.

 


 


Previous
Previous page
Chapter
Chapter page
Next
Next page