Difference between revisions of "Vectorworks Scripting"

From Vectorworks Developer
Jump to: navigation, search
(Created page with "<div id="location-source"> .Scripting|Vectorworks Scripting ..Python|Python Scripting ..VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Refe...")
 
(Common Tasks)
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<div id="location-source">
 
<div id="location-source">
.Scripting|Vectorworks Scripting
+
.Vectorworks Scripting|Scripting
 
..Python|Python Scripting
 
..Python|Python Scripting
 
..VectorScript|VectorScript
 
..VectorScript|VectorScript
Line 12: Line 12:
 
Vectorworks provides two options for scripting: Python (as of Vectorworks 2014) and VectorScript.
 
Vectorworks provides two options for scripting: Python (as of Vectorworks 2014) and VectorScript.
  
=== Python Scripting ===
+
== Python Scripting ==
  
 
Vectorworks 2014 adds [[http://www.python.org|Python Python]] language as an alternative to VectorScript for creating menu commands, objects, tools, or general purpose scripts.
 
Vectorworks 2014 adds [[http://www.python.org|Python Python]] language as an alternative to VectorScript for creating menu commands, objects, tools, or general purpose scripts.
Line 18: Line 18:
 
You can go to the [[Python]] page for more information.
 
You can go to the [[Python]] page for more information.
  
=== VectorScript ===
+
== VectorScript ==
  
 
[[VectorScript]] is a Pascal-like language allowing scripting in Vectorworks.
 
[[VectorScript]] is a Pascal-like language allowing scripting in Vectorworks.
Line 25: Line 25:
  
 
You can also use the [[:Category:VectorScript|main VectorScript category]] to help navigate.
 
You can also use the [[:Category:VectorScript|main VectorScript category]] to help navigate.
 +
 +
== Common Tasks ==
 +
 +
* [[VS:Parametric Custom Opening in Wall]]
 +
* [[VS:Parametric Custom Selection Indication]]
 +
* [[VS:Parametric Custom Shape Pane]]
 +
* [[VS:Parametric Custom Shape Pane Popup]]
 +
* [[VS:Parametric Hide Details]]
 +
* [[VS:Parametric State Notifications]]
 +
* [[VS:Similar Objects Creation]]
 +
* [[VS:Progress Dialog]]
 +
* [[VS:Working_with_Materials]]
 +
 +
== Installing Scripts ==
 +
 +
When, for the first time, you create a plug-in, Vectorworks puts all of its content in user plug-in path and each time Vectorworks runs it recursiveley load all the Plug-Ins in that path (Also looking for the short-cuts). 
 +
When you designed and implemented your plug-in in either of the scripting languages, you may want to use it on different machines or VW instances. Vectorworks Plug-in manager allows users to install packages containing scripts and other content.
 +
For basic installation it just simply copy provided plug-in (which should be as a zip file) into the user plug-in path.
 +
Also if a installation script is provided it will run that script as well.
 +
Please follow below links for more explanations and examples.
 +
 +
*[[VS:Basic Installation]]
 +
*[[VS:Implementing Installation Script]]
 +
*[[VS:A more Complicated Installation Script]]
 +
*[[VS:Installing Thirdparty into Vectorworks Workspace]]
 +
 +
== Version Information ==
 +
 +
*[[VS:Vectorworks 2021 Development|Vectorworks 2021]]
 +
*[[VS:Vectorworks 2020 Development|Vectorworks 2020]]
 +
*[[VS:Vectorworks 2019 Development|Vectorworks 2019]]
 +
*[[VS:Vectorworks 2018 Development|Vectorworks 2018]]
 +
*[[VS:Vectorworks 2017 Development|Vectorworks 2017]]
 +
*[[VS:Vectorworks 2016 Development|Vectorworks 2016]]
 +
*[[VS:Vectorworks 2015 Development|Vectorworks 2015]]
 +
*[[VS:Vectorworks 2014 Development|Vectorworks 2014]]
 +
*[[VS:Vectorworks 2013 Development|Vectorworks 2013]]
 +
*[[VS:Vectorworks 2012 Development|Vectorworks 2012]]
 +
*[[VS:Vectorworks 2011 Development|Vectorworks 2011]]
 +
*[[VS:Vectorworks 2010 Development|Vectorworks 2010]]
 +
*[[VS:Vectorworks 2009 Development|Vectorworks 2009]]
 +
 +
== Obsolete Functions Table ==
 +
 +
Find the full version table for all obsolete functions here:
 +
 +
[[VS:Obsolete Functions Table]]

Latest revision as of 12:06, 16 September 2020

.Vectorworks Scripting|Scripting ..Python|Python Scripting ..VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Vectorworks provides two options for scripting: Python (as of Vectorworks 2014) and VectorScript.

Python Scripting

Vectorworks 2014 adds [Python] language as an alternative to VectorScript for creating menu commands, objects, tools, or general purpose scripts.

You can go to the Python page for more information.

VectorScript

VectorScript is a Pascal-like language allowing scripting in Vectorworks.

VectorScript function reference is available here.

You can also use the main VectorScript category to help navigate.

Common Tasks

Installing Scripts

When, for the first time, you create a plug-in, Vectorworks puts all of its content in user plug-in path and each time Vectorworks runs it recursiveley load all the Plug-Ins in that path (Also looking for the short-cuts). When you designed and implemented your plug-in in either of the scripting languages, you may want to use it on different machines or VW instances. Vectorworks Plug-in manager allows users to install packages containing scripts and other content. For basic installation it just simply copy provided plug-in (which should be as a zip file) into the user plug-in path. Also if a installation script is provided it will run that script as well. Please follow below links for more explanations and examples.

Version Information

Obsolete Functions Table

Find the full version table for all obsolete functions here:

VS:Obsolete Functions Table

Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox