public void Initialize() { var lyRepository = new LayerRepository(); if (lyRepository.GetLayer("BE") == ObjectId.Null) { lyRepository.CreateALayer("BE", ColorMethod.ByAci, 30, LineWeight.LineWeight030); } if (lyRepository.GetLayer("") == ObjectId.Null) { lyRepository.CreateALayer("BE-AM", ColorMethod.ByAci, 101, LineWeight.LineWeight030); } _editor.WriteMessage("SAE (Sistema de Alvenaria Estrutural) carregado."); }