- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone
I create a new view and want to select some elements from the original view to the new view. But I have the problem that other unselected elements of the parent view are also selected (screenshot Pic1), code below:
RobotStructure struc = rbApp.Project.Structure;
RobotSelection rselection = struc.Selections.Get(IRobotObjectType.I_OT_OBJECT);
rselection.FromText(dicStories[item]);
IRobotView3 viewRobot = (IRobotView3)rbApp.Project.ViewMngr.CreateView(IRobotViewType.I_VT_STANDARD);
viewRobot.Selection.Set(IRobotObjectType.I_OT_OBJECT, rselection);
viewRobot.Visible = 1;
viewRobot.Redraw(0);
viewRobot.Projection = IRobotViewProjection.I_VP_XY;
Can you help me?
Thanks for your help.
Solved! Go to Solution.
Link copied