Community
Hello,
Is it possible to select only some edges of a panel and attribute a support to them? For example if i only wanted the Panel 1_EDGE(2) with a "Pinned" support.I was searching for a code similar to the following since this method is fast,
RSelection = str.Selections.Get(IRobotObjectType.I_OT_OBJECT) RSelection.FromText("All") RobApp.Project.Structure.Objects.SetLabel(RSelection, IRobotLabelType.I_LT_PANEL_THICKNESS, Esp)
Thanks in advance.
Solved! Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
Dim panel As RobotObjObject Dim edge As RobotObjEdge Set panel = RobApp.Project.Structure.Objects.Get(1) Set edge = panel.Main.Edges.Get(2) edge.SetLabel I_LT_SUPPORT, "Fixed" panel.Update
Can't i use something like,
RobApp.Project.Structure.Objects.SetLabel(RSelection, IRobotLabelType.I_LT_EDGE_SUPPORT, "Pinned")
?
And i can't select only a single edge?
Like an RSelection.FromText("1_EDGE(1)")?