public void Execute()
        {
            if (path == null)
            {
                path = new InteriorPath(parent, app, meshName);
                path.Highlight = true;
            }
            parent.Add(path);

            if (placing)
            {
                new MultiPointPlacementHelper(app, null, new MultiPointValidate(PointValidate),
                                              new MultiPointComplete(PointPlacementComplete), DragPickMode.PickEntityTriangle);
                placing = false;
            }
        }
        public void Execute()
        {
            if (path == null)
            {
                path           = new InteriorPath(parent, app, meshName);
                path.Highlight = true;
            }
            parent.Add(path);

            if (placing)
            {
                new MultiPointPlacementHelper(app, null, new MultiPointValidate(PointValidate),
                                              new MultiPointComplete(PointPlacementComplete), DragPickMode.PickEntityTriangle);
                placing = false;
            }
        }
 public DeleteInteriorPathCommandFactory(WorldEditor worldEditor, IWorldContainer parentObject, InteriorPath path)
 {
     app = worldEditor;
     parent = parentObject;
     this.path = path;
 }
 public DeleteInteriorPathCommand(WorldEditor worldEditor, IWorldContainer parentObject, InteriorPath path)
 {
     this.app    = worldEditor;
     this.parent = parentObject;
     this.path   = path;
 }
 public InteriorPathContents(InteriorPath path)
 {
     points = path.Points.VectorList;
 }
 public InteriorPathContents(InteriorPath path)
 {
     points = path.Points.VectorList;
 }