Upload Program
Quick Facts
| Property | Value |
|---|---|
| Class | ULPythonProgram |
| Module | cenpyupload.ULPythonProgram |
| Package | cenpyupload |
| Release | R2025.2.4 |
| Methods | 11 |
| Inherits from | DULPythonProgram |
Inheritance
Method Index
| Method | Returns | Summary |
|---|---|---|
SetOperationsGroups | — | Set the operation groups for the program |
SetSubprograms | — | Set the sub programs of the program |
AddOperationGroup | — | add an operation group to this program |
AddSubprogram | — | add a subprogram to this program |
SetUsedBaseProfile | — | Set the used base profile for the program |
SetUsedToolProfile | — | Set the used tool profile for the program |
SetController | — | Set the controller for the program |
SetIsMainProgram | — | Set the program status as main or not |
SetName | — | Set the name of the program |
SetAttributes | — | Set the attributes of the program |
AddAttribute | — | Add an attribute to the attribute list |
Mutation Methods
SetOperationsGroups
def SetOperationsGroups(operationGroups: list)Set the operation groups for the program
Parameters:
| Name | Type | Description |
|---|---|---|
operationGroups | list | list of ULPythonOperationGroup operation groups to be set |
SetSubprograms
def SetSubprograms(subprograms: list)Set the sub programs of the program
Parameters:
| Name | Type | Description |
|---|---|---|
subprograms | list | list of ULPythonSubprograms subprograms to be set |
AddOperationGroup
def AddOperationGroup(operationGroup: ULPythonOperationGroup)add an operation group to this program
Parameters:
| Name | Type | Description |
|---|---|---|
operationGroup | ULPythonOperationGroup | operation group ULPythonOperationGroup to be added |
AddSubprogram
def AddSubprogram(subprogram: ULPythonSubprogram)add a subprogram to this program
Parameters:
| Name | Type | Description |
|---|---|---|
subprogram | ULPythonSubprogram | subprogram ULPythonSubprogram to be added |
SetUsedBaseProfile
def SetUsedBaseProfile(baseProfile: ULPythonBaseProfile)Set the used base profile for the program
Parameters:
| Name | Type | Description |
|---|---|---|
baseProfile | ULPythonBaseProfile | the used base profile object of type ULPythonBaseProfile |
SetUsedToolProfile
def SetUsedToolProfile(toolProfile: ULPythonToolProfile)Set the used tool profile for the program
Parameters:
| Name | Type | Description |
|---|---|---|
toolProfile | ULPythonToolProfile | the used tool profile object of type UlPythonToolProfile |
SetController
def SetController(controller: ULPythonController)Set the controller for the program
Parameters:
| Name | Type | Description |
|---|---|---|
controller | ULPythonController | controller to be set, object of type ULPythonController |
SetIsMainProgram
def SetIsMainProgram(isMain: bool)Set the program status as main or not
Parameters:
| Name | Type | Description |
|---|---|---|
isMain | bool | if the program is main or not |
SetName
def SetName(name: str)Set the name of the program
Parameters:
| Name | Type | Description |
|---|---|---|
name | str | name to be set |
SetAttributes
def SetAttributes(attributes: list)Set the attributes of the program
Parameters:
| Name | Type | Description |
|---|---|---|
attributes | list | attributes to be set |
AddAttribute
def AddAttribute(attrib: OlpCorePythonAttribute)Add an attribute to the attribute list
Parameters:
| Name | Type | Description |
|---|---|---|
attrib | OlpCorePythonAttribute | attribute to be added |
Related Types
- Upload Operation Group
- Upload Subprogram
- Upload Base Profile
- Upload Tool Profile
- Upload Controller
- Core Attribute
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?