Forum

Início Fóruns Temas ou Discussões Panel – Robot Python API Resposta a: Panel – Robot Python API

louispips50
Convidado
Número de artigos: 172

Hey,

Here is the definition :

import clr
ref = clr.AddReference(
“C:\Program Files\Autodesk\Autodesk Robot Structural Analysis Professional 2021\System\Exe\Interop.RobotOM.dll”)
from RobotOM import *
from System import *
from System import Environment

app = RobotApplicationClass()
project = app.Project
project.New(IRobotProjectType.I_PT_SHELL)
labels = structure.Labels

Regards,
Louis