Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsUploadUpload Program

Upload Program

Quick Facts

PropertyValue
ClassULPythonProgram
Modulecenpyupload.ULPythonProgram
Packagecenpyupload
ReleaseR2025.2.4
Methods11
Inherits fromDULPythonProgram

Inheritance

Method Index

MethodReturnsSummary
SetOperationsGroupsSet the operation groups for the program
SetSubprogramsSet the sub programs of the program
AddOperationGroupadd an operation group to this program
AddSubprogramadd a subprogram to this program
SetUsedBaseProfileSet the used base profile for the program
SetUsedToolProfileSet the used tool profile for the program
SetControllerSet the controller for the program
SetIsMainProgramSet the program status as main or not
SetNameSet the name of the program
SetAttributesSet the attributes of the program
AddAttributeAdd an attribute to the attribute list

Mutation Methods

SetOperationsGroups

def SetOperationsGroups(operationGroups: list)

Set the operation groups for the program

Parameters:

NameTypeDescription
operationGroupslistlist of ULPythonOperationGroup operation groups to be set

SetSubprograms

def SetSubprograms(subprograms: list)

Set the sub programs of the program

Parameters:

NameTypeDescription
subprogramslistlist of ULPythonSubprograms subprograms to be set

AddOperationGroup

def AddOperationGroup(operationGroup: ULPythonOperationGroup)

add an operation group to this program

Parameters:

NameTypeDescription
operationGroupULPythonOperationGroupoperation group ULPythonOperationGroup to be added

AddSubprogram

def AddSubprogram(subprogram: ULPythonSubprogram)

add a subprogram to this program

Parameters:

NameTypeDescription
subprogramULPythonSubprogramsubprogram ULPythonSubprogram to be added

SetUsedBaseProfile

def SetUsedBaseProfile(baseProfile: ULPythonBaseProfile)

Set the used base profile for the program

Parameters:

NameTypeDescription
baseProfileULPythonBaseProfilethe used base profile object of type ULPythonBaseProfile

SetUsedToolProfile

def SetUsedToolProfile(toolProfile: ULPythonToolProfile)

Set the used tool profile for the program

Parameters:

NameTypeDescription
toolProfileULPythonToolProfilethe used tool profile object of type UlPythonToolProfile

SetController

def SetController(controller: ULPythonController)

Set the controller for the program

Parameters:

NameTypeDescription
controllerULPythonControllercontroller to be set, object of type ULPythonController

SetIsMainProgram

def SetIsMainProgram(isMain: bool)

Set the program status as main or not

Parameters:

NameTypeDescription
isMainboolif the program is main or not

SetName

def SetName(name: str)

Set the name of the program

Parameters:

NameTypeDescription
namestrname to be set

SetAttributes

def SetAttributes(attributes: list)

Set the attributes of the program

Parameters:

NameTypeDescription
attributeslistattributes to be set

AddAttribute

def AddAttribute(attrib: OlpCorePythonAttribute)

Add an attribute to the attribute list

Parameters:

NameTypeDescription
attribOlpCorePythonAttributeattribute to be added

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?