Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I tried to do add new label for thicknness panel :
label = labels.Create(IRobotLabelType.I_LT_PANEL_THICKNESS,"25mm")
thData=IRobotThicknessData
thData = label.Data
thData.MaterialName = "S235"
thData.ThicknessType = IRobotThicknessType.I_TT_HOMOGENEOUS
homo = IRobotThicknessHomoData
homo = thData.Data
homo.Thickconst = "0,025"
labels.Store(label)
same think on my python script but I have the following error :
I have the following error :
thData = label.Data
AttributeError: '__ComObject' object has no attribute 'Data'
Do you have a solution to fix this problem ?
Thank you in advance,
Louis
Solved! Go to Solution.