AlanW Posted May 17, 2016 Share Posted May 17, 2016 HI, is there an easy way to convert VS to Python? Still learning Python at early stages and don't know VS. I see all the coding for VW at http://developer.vectorworks.net/index.php/VS:Function_Reference Some have Python equivalents. Thanks Quote Link to comment
Patrick Winkler Posted May 18, 2016 Share Posted May 18, 2016 I don't think so. But VS is based on pascal which is not difficult to learn. Just take 20 Minutes to learn the syntax and you will understand most of the code examples. http://www.tutorialspoint.com/pascal/pascal_basic_syntax.htm Quote Link to comment
Marionette Maven Marissa Farrell Posted May 18, 2016 Marionette Maven Share Posted May 18, 2016 Hey Alan, Most (there are some that are iffy) of those functions on the developer wiki can be used in Python by just adding vs.FUNCTIONNAME(Parameter1, Parameter2, etc.). If you follow the syntax of the functions that already have python examples, you should be able to use the rest of the VectorScript functions in python. The wiki just hasn't had all of its python alternative functions updated to reflect that. If you need more help, let me know. You shouldn't have to know Pascal in this case. 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.