The Developer Wiki and Function reference is a useful resource for anyone interested in scripting within Vectorworks. They can be found at the following locations:
DevWiki: http://developer.vectorworks.net/index.php/VS:Function_Reference
Appendix: http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix