Coder Social home page Coder Social logo

watermarkadder's Introduction

WatermarkAdder

A project to add watermark to a batch of DWG files.

Project Overview

At Con Edison, there were many times where they received drawings from contractors, that need to be marked with a confidential classification. The classification was usually placed by means of a watermark. To manually watermark 1000s of drawings, would in itself be a full time job. The project was to create a program to do this using VBA and AutoCAD API. I created a tool where the user would specify the directory of files they would like to process. The program will copy the directory to the server, add a new layer with the watermark, save the file as its original name, send an email to the user saying the files have been processed with a link to the files. After the drawings have been processed, the files will be deleted after 7 days as set by the admin to avoid overloading the server. The challenge was that it had to be a tool that anyone can access, without having to download on their machine due to the limitations set by Con Edison, where only an admin can download any executables. The solution was to place this program and processed in the background on a server, having a File Listener. The File Listener would listen for any directories added in a certain location, and it will begin the process notifying the user when it is complete.

Project Goals

  • Fully designed and implemented by me.
  • Weekly meetings with manager showing progress for the week.
  • Obtaining admin approval to create the executable.
  • Obtaining a server to run the program on.
  • Obtaining a no-reply email to be used to let user track progress.
  • Have the ability to add a watermark to many DWG files.
  • Making it as convenient and as quick as possible for the user.
  • Client Side:
    • User will specify the directory they would like to process.
    • The directory will be copied to the server for processing.
    • No additional downloads for the user.
    • The user will receive an email with a link to the processed files.
  • Server Side:
    • There is a File Listener, watching for a new directory.
    • When it sees a new directory, it will open a process of AutoCAD with an Embedded Drawing.
    • The drawings will be processed and stored on the server.
    • An email will be sent to the user with a link to the processed files.
    • The files will be deleted after 7 days as specified by the admin.

Gallery

How it Works!
Watch the video

Skills Used

  • Software:

    • Visual Studio
    • AutoCAD
    • AutoCAD API
  • Languages:

    • VBA
    • C#

watermarkadder's People

Contributors

dannyjanani avatar

Watchers

 avatar

Forkers

bangush

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.