예제 #1
0
        public void AddXrefSpecialized()
        {
            Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;

            PromptResult prConfigPath = ed.GetString("\nEnter path to config file: ");

            if (prConfigPath.Status != PromptStatus.OK)
            {
                ed.WriteMessage("No string was provided\n");
                return;
            }
            var reader       = new ConfigFileReader();
            var propertyList = reader.readConfigFile(prConfigPath.StringResult);

            var AX          = new AddXref();
            var LU          = new LayerUpdate();
            var drawingList = AX.addXrefSpecialized();

            if (drawingList != null)
            {
                LU.ChangeLayersOnDrawings(propertyList, drawingList);
            }
        }
예제 #2
0
        public void AddXref()
        {
            var AX = new AddXref();

            AX.addXref();
        }