Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS395 Internship Company: Rohde & Associates Intern: Chris Kulhanek.

Similar presentations


Presentation on theme: "CS395 Internship Company: Rohde & Associates Intern: Chris Kulhanek."— Presentation transcript:

1 CS395 Internship Company: Rohde & Associates Intern: Chris Kulhanek

2 A Very Brief Background Rohde & Associates, Inc. Architects Commercial Grade Construction ASD, DOT, Private Contractors $1,000, A Year In Contracts Been In Business Since 1997 I Am 1 of 5 Employees.

3 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.

4 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.

5

6

7 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.

8

9

10

11

12 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

13

14

15

16 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

17

18 How do we package up? Could write our own package, but why? Installshield was used Easy to use once native scripting language was understood

19

20

21 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

22 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


Download ppt "CS395 Internship Company: Rohde & Associates Intern: Chris Kulhanek."

Similar presentations


Ads by Google