示例#1
0
        public void TestSelection()
        {
            Point3d  point = Interaction.GetPoint("\nPoint");
            double   value = Interaction.GetDistance("\nSize");
            Vector3d size  = new Vector3d(value, value, 0);

            ObjectId[] ids = Interaction.GetWindowSelection(point - size, point + size);
            Interaction.WriteLine("{0} entities selected.", ids.Count());
        }