Upload-Programm
Schnelle Fakten
| Immobilien | Wert |
|---|---|
| Klasse | ULPythonProgram |
| Modul | cenpyupload.ULPythonProgram |
| Paket | cenpyupload |
| Veröffentlichung | R2025.2.4 |
| Methoden | 11 |
| Erbt von | DULPythonProgram |
Erbe
Methodenindex
| Methode | Rückgaben | Zusammenfassung |
|---|---|---|
SetOperationsGroups | — | Setzen Sie die Operationsgruppen für das Programm |
SetSubprograms | — | Setze die Unterprogramme des Programms |
AddOperationGroup | — | Fügen Sie diesem Programm eine Operationsgruppe hinzu |
AddSubprogram | — | fügen Sie diesem Programm ein Unterprogramm hinzu |
SetUsedBaseProfile | — | Setze das verwendete Basisprofil für das Programm |
SetUsedToolProfile | — | Stellen Sie das verwendete Werkzeugprofil für das Programm ein |
SetController | — | Stellen Sie den Controller für das Programm ein |
SetIsMainProgram | — | Setze den Programmstatus als Hauptprogramm oder nicht |
SetName | — | Setze den Namen des Programms |
SetAttributes | — | Setzen Sie die Attribute des Programms |
AddAttribute | — | Fügen Sie ein Attribut zur Attributliste hinzu |
Mutationsmethoden
SetOperationsGroups
def SetOperationsGroups(operationGroups: list)Setzen Sie die Operationsgruppen für das Programm ein
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
operationGroups | list | Liste der ULPythonOperationGroup-Operationsgruppen, die gesetzt werden sollen |
SetSubprograms
def SetSubprograms(subprograms: list)Setze die Unterprogramme des Programms
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
subprograms | list | Liste der ULPythonSubprograms-Unterprogramme, die gesetzt werden sollen |
AddOperationGroup
def AddOperationGroup(operationGroup: ULPythonOperationGroup)Fügen Sie diesem Programm eine Operationsgruppe hinzu
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
operationGroup | ULPythonOperationGroup | Operationsgruppe ULPythonOperationGroup wird hinzugefügt |
AddSubprogram
def AddSubprogram(subprogram: ULPythonSubprogram)Fügen Sie diesem Programm ein Unterprogramm hinzu
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
subprogram | ULPythonSubprogram | Subprogramm ULPythonSubprogram wird hinzugefügt |
SetUsedBaseProfile
def SetUsedBaseProfile(baseProfile: ULPythonBaseProfile)Setzen Sie das verwendete Basisprofil für das Programm ein
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
baseProfile | ULPythonBaseProfile | das verwendete Basisprofilobjekt vom Typ ULPythonBaseProfile |
SetUsedToolProfile
def SetUsedToolProfile(toolProfile: ULPythonToolProfile)Stellen Sie das verwendete Werkzeugprofil für das Programm ein
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
toolProfile | ULPythonToolProfile | das verwendete Werkzeugprofilobjekt vom Typ UlPythonToolProfile |
SetController
def SetController(controller: ULPythonController)Stellen Sie den Controller für das Programm ein
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
controller | ULPythonController | Controller zu setzen, Objekt vom Typ ULPythonController |
SetIsMainProgram
def SetIsMainProgram(isMain: bool)Setze den Programmstatus als Hauptprogramm oder nicht
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
isMain | bool | ob das Programm main ist oder nicht |
SetName
def SetName(name: str)Legen Sie den Namen des Programms fest
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
name | str | Name soll gesetzt werden |
SetAttributes
def SetAttributes(attributes: list)Stellen Sie die Attribute des Programms fest
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
attributes | list | Attribute sollen gesetzt werden |
AddAttribute
def AddAttribute(attrib: OlpCorePythonAttribute)Fügen Sie der Attributliste ein Attribut hinzu
Parameter:
| Name | Typ | Beschreibung |
|---|---|---|
attrib | OlpCorePythonAttribute | Attribut hinzuzufügen |
Verwandte Typen
- Upload Operation Group
- Upload Subprogram
- Upload Base Profile
- Upload Tool Profile
- Upload Controller
- Core Attribute
Versionsnotizen
Diese Klasse ist zum Zeitpunkt der Veröffentlichung R2025.2.4 dokumentiert.
Was this page helpful?