Download - CS395 Internship
![Page 1: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/1.jpg)
CS395 Internship
Company: Rohde & Associates
Intern: Chris Kulhanek
![Page 2: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/2.jpg)
A Very Brief Background
• Rohde & Associates, Inc. Architects
• Commercial Grade Construction
• ASD, DOT, Private Contractors
• $1,000,000.00 A Year In Contracts
• Been In Business Since 1997
• I Am 1 of 5 Employees.
![Page 3: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/3.jpg)
The Problem
• AutoCAD is primary tool for production• Always looking for ways to improve
production• Out of date scripts written with out of date
language.• Need to improve scripts and improve
scripting language• Most important, make finished product
easy to deliver and install.
![Page 4: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/4.jpg)
Starting Point
• Existing scripts are written in AutoLISP, a dialect of the Lisp programming language.
• Existing scripts are manual install. Cumbersome for those not familiar with how to install them into AutoCAD.
• No user manual on scripts of things go wrong.
![Page 5: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/5.jpg)
![Page 6: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/6.jpg)
![Page 7: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/7.jpg)
Goal
• Covert Scripts to modern HLL. VBA or if needed C++.
• Wrapper into an easy to distribute and use self install pack.
• No command entry, use toolbars and menus.
![Page 8: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/8.jpg)
![Page 9: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/9.jpg)
![Page 10: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/10.jpg)
![Page 11: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/11.jpg)
![Page 12: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/12.jpg)
How was this accomplished?
• VBA was first chosen
• VBA has no easy way to wrapper and install
• Was decided to convert again to AutoCAD ObjectARX and C++ API
![Page 13: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/13.jpg)
![Page 14: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/14.jpg)
![Page 15: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/15.jpg)
![Page 16: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/16.jpg)
AutoCAD and ObjectARX
• You are basically creating a .dll
• Compile creates an AutoCAD .dll called .arx
• Every .arx is a specific new command for AutoCAD ie: stairs is stairs.arx
![Page 17: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/17.jpg)
![Page 18: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/18.jpg)
How do we package up?
• Could write our own package, but why?
• Installshield was used
• Easy to use once native scripting language was understood
![Page 19: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/19.jpg)
![Page 20: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/20.jpg)
![Page 21: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/21.jpg)
Problems Encountered
• General hassle of C++
• Lack of knowledge on .dll operations
• Needed to learn the windows registry
• AutoCAD is not user friendly concerning beta testing
• The company upgraded to AutoCAD 2006 mid development
![Page 22: CS395 Internship](https://reader035.vdocument.in/reader035/viewer/2022062408/56813d71550346895da75445/html5/thumbnails/22.jpg)
Concluding Outline
• Rank existing scripts by order of need
• Convert to VBA / C++ routines
• Include in shortcut menu and toolbar
• Package into .exe for distribution