Forum

Home Forums Temas ou Discussões Panel – Robot Python API Reply To: Panel – Robot Python API

louispips50
Guest
Post count: 172

Thank you for your reply !

I have another error:

label = IRobotLabel(labels.Create(IRobotLabelType.I_LT_PANEL_THICKNESS,”E120″))
thData=IRobotThicknessData
thData = label.Data
thData.MaterialName = “C30/37”
thData.ThicknessType = IRobotThicknessType.I_TT_HOMOGENEOUS
homo = IRobotThicknessHomoData
homo = thData.Data
homo.Thickconst = “120”
labels.Store(label)

File “testrobot.py”, line 82, in
homo = thData.Data
AttributeError: ‘__ComObject’ object has no attribute ‘Data’

Thank a lot for your support,
Louis