Object3DManagerSplitObjects Method (ListNode, Int32, Boolean) |
Namespace: VIZCore3D.NET.Manager
public bool SplitObjects( List<Node> nodes, int sectionId, bool selectedOnly )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { if (vizcore3d.Model.IsOpen() == false) return; if (vizcore3d.Section.SelectedItem == null) return; VIZCore3D.NET.Data.Section section = vizcore3d.Section.SelectedItem; if (section.SectionType != VIZCore3D.NET.Manager.SectionManager.SectionTypes.SECTION) return; List<VIZCore3D.NET.Data.SectionPlane> items = section.Planes; if (items == null) return; vizcore3d.Object3D.SplitObjects( nodes /* Selection Node List*/ , sectionId /* Section ID */ , true /* SelectedFlagOnly */ ); }