Message 1 of 2
Applying linear releases with API
Not applicable
04-04-2017
08:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to apply linear releases to the all of the edges in a collection of panels (col); my code debugs but does not have any effect upon the panel releases. The label type Pinned has already been defined within Robot. Can anyone suggest where I'm going wrong?
For i = 1 To col.Count
obj = col.Get(1)
For j = 1 To obj.Main.Edges.Count
Dim objedge As RobotOM.IRobotObjEdge
objedge = obj.Main.Edges.Get(j)
objedge.SetLabel(RobotOM.IRobotLabelType.I_LT_LINEAR_RELEASE, "Pinned")
Next j
Next i
