Truss Program

Truss Program

Anonymous
Not applicable
489 Views
4 Replies
Message 1 of 5

Truss Program

Anonymous
Not applicable
I was wondering if it is feasible to write a VBA routine to draw a truss profile? Also if it is, I'm new to writing VBA(Very New), how would I go about it? In Lisp I have to define the different points of span, define the rise and run of the slope, access the command to draw the plines between the defined points, etc. -- Nick Haury AEC Design Services aecdesign@truevine.net
0 Likes
490 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Yes, there is no problem doing it. How to do it, though, is dependent upon your situation, end goal, etc. If you did it in lisp then you can use the same approach. VBA allows you to add more GUIs and makes the coding process easier if you create programming objects [not talking about anything drawn in CAD] instead of using straight variables. ___________________________ Mike Tuersley CADalyst's AutoCAD Clinic Rand IMAGINiT Technologies
0 Likes
Message 3 of 5

Anonymous
Not applicable
OK, now that I know it can be done, the question is how. I did do it in lisp, but want to add more to it, like dialog boxes and the like. The only problem is how! I know not where to start, for I no nothing. I've looked at other code and I don't understand the syntax of VBA. I've tried looking online for a good free tutorial on how to understand the syntax, unless you can give some pointers. Nick "Mike Tuersley" wrote in message news:MPG.1a78746932106b5898969a@discussion.autodesk.com... > Yes, there is no problem doing it. How to do it, though, is dependent > upon your situation, end goal, etc. > > If you did it in lisp then you can use the same approach. VBA allows you > to add more GUIs and makes the coding process easier if you create > programming objects [not talking about anything drawn in CAD] instead of > using straight variables. > ___________________________ > Mike Tuersley > CADalyst's AutoCAD Clinic > Rand IMAGINiT Technologies
0 Likes
Message 4 of 5

Anonymous
Not applicable
Well, you'll get lot of opinions here on how to go about learning it. If you search the ng, there are a lot of threads on that topic. I, personally, recommend going to your local library and getting either The Complete Idiots Guide to VBA or VBA for Dummies. Both are good primers that teach you vba from within MS Office. Once you learn the language, picking up AutoCAD specifics shouldn't be a problem and you can always get Joe Sutphin's book - its a great reference but not the best primer. ___________________________ Mike Tuersley CADalyst's AutoCAD Clinic Rand IMAGINiT Technologies
0 Likes
Message 5 of 5

Anonymous
Not applicable
Mike knows his stuff. His advice would be good stuff. The only thing I could add is that you may want to consider not using custom objects, but draw 3D solids if you are planning on working in 3D. This way you have collaboration with other trades easily. Good luck! -- David Wishengrad President & CTO MillLister, Inc. Software for measuring and stretching multiple 3D solids. Http://Construction3D.com
0 Likes