weberj Posted August 11, 2005 Share Posted August 11, 2005 Where can i find an "idiot's guide to Vectorscripts"? For example: I am in the habit of using construction lines a great deal when drawing. I understand that i can create construction lines by going to "edit", "make guide", but that is cumbersome. I have tried writing scripts for tools called v-line and h-line, but some aspect of the process eludes me. The goal is to click on the script, then on a point in the drawing. The script would then make a vertical (v-line) or horizontal (h-line) line, extending from that point to to the limits of the screen in both directions, and convert the line to a guide. This is my first attempt at script writing. I picked something i thought would be pretty easy, but i must be missing something. Can somebody help me out? Quote Link to comment
Zeibin Posted August 11, 2005 Share Posted August 11, 2005 I don't know of an "idiot's guide" anywhere... but this is probably a place to start: http://www.nemetschek.net/support/custom/vscript/ VectorScript is easy to pick up if you have previous programming experience, since it's based on Pascal. If not, the best way to learn is probably by reading VectorScript in other people's freely available plug-ins, using the "File>Export>Export VectorScript..." menu option to see how VW translates what's on screen into VS and back again, and reading this forum. As well, since VS functions are quite explicit in naming, the VectorScript function reference is pretty much indispensible: http://www.nemetschek.net/support/custom/vscript/functionref/VSFunctionReference.html I always have it handy when I'm programming. Quote Link to comment
weberj Posted August 11, 2005 Author Share Posted August 11, 2005 THANKS, Z. I guess the piece I'm missing is the previous programming experience. So maybe the real question is "is there an idiot's guide to programming?" I will check out the resources you suggest. jw Quote Link to comment
Jonathan Pickup Posted August 11, 2005 Share Posted August 11, 2005 i found that before these two books make any sense you need to understand how programing works, particularly algorithmic program languages. Here is an excerpt from some of my course notes... The books that have proved most useful are the ones that offer programming basics. Sometimes you find that a book on programming C++ will have 3 really good chapters on programming basics. I will be quoting from two books that I have found useful: ? The C++ Programming Language by Bjarne Stroustrap. Published by Addison Wesley 1995 ? Teach Yourself Algorithm by Anthony Ralston & Hugh Neill. Published by Hodder & Stoughton 1997. The reason that these books have been good is that the VectorWorks books assume that you have some programming skills. But that is the real problem, unless you have the programming skills the Language Guide is a foreign language. hope that helps Quote Link to comment
weberj Posted August 11, 2005 Author Share Posted August 11, 2005 THANKS, JONATHAN I will see if i can find those as a starting point. jw Quote Link to comment
malice Posted August 18, 2005 Share Posted August 18, 2005 Does anyone use or know of any decent Pascal tutuorials/references, I have done a google and am about to have a look through, http://www.taoyue.com/tutorials/pascal/ but if someone knows of one that they know is good (for learning from) please let me know, I don't like wasting my time ) Quote Link to comment
ccroft Posted August 18, 2005 Share Posted August 18, 2005 "Programming in Pascal" by Nell Dale was helpful for me. Actually it was the only book on Pascal I could find at the used bookstore. In general I'd say thinner books are better than thicker. :-) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.