DankoCaboski / TIA-Openness-RPA

This project aims to create a user-friendly data input interface to automate project generation on the TIA Portal, through the TIA Openness API.
MIT License
5 stars 0 forks source link

export_Block() not working #7

Closed DankoCaboski closed 5 months ago

DankoCaboski commented 5 months ago

A função .GetService< SoftwareContainer > chamado da CPU retorna a extrutura SoftwareContainer da CPU

Para usar GetService se basei no modelo a seguir https://github.com/DankoCaboski/TIA-Portal-RPA/blob/501db292fa39f4c33f0c27301da715ecbca074d1/Core/Services/OpennessService.py#L114-L116

Image

SoftwareContainer.Software.BlockGruop.Blocks representa a pasta "Program blocks" no Tia Portal

Image