Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
rikhardo

How to start ???

Recommended Posts

Hello all,

im trying do develop a plugin to vw, but i start reading some documentation and i cant find a concret example of how to start...

by start, i mean how to interact with vw ...

can anyone help me?

Share this post


Link to post

To write a plug-in, you use the VectorScript Plug-in Editor. In the standard workspaces, this is in the Tools:Scripts menu.

It is often easier to start with a VectorScript and then after it is basically working convert it to a PIO. You can create a new VectorScript through the Resource Browser.

Or an I misunderstanding your question?

Pat

Share this post


Link to post

ok that's a start... :)

you say that VectorScript Plug-in Editor Is in the Tools:Scripts menu.

i dont have it ... at this moment my version of vw is only trial? i need to have a non-trial version to access vectorScripts?

i have vw2008...

btw: i havent write in english for a long time, for that sorry my mistakes... :)

Edited by rikhardo

Share this post


Link to post

You should be able to do VS with the trial version.

Set your Workspace to Designer and see if you don't have a Scripts submenu in the Tools menu item.

Pat

Share this post


Link to post

thanks i found it :)

by the way what is the name of the language for the scripts??

Share this post


Link to post

The VectorWorks scripting language is called VectorScript. It used to be called MiniPascal and it is still very much based on the Pascal language.

Pat

Share this post


Link to post

hello,

yes i too need to start ! I had a tentative go with a script that rotates hatches. That was adapting one that someone gave me.

There's a few scripts I'm interested in particularly class mapping but here I'd like to know if it is possible to 'custom select' text by font size? I have a load of autocad nonsense where lots of text at different scales got merged in one class (using the class mapping tool)

also, is there a fix for mirrored text exported to autocad yet. No other single glitch garuntess no end of tut tutting from the other crowd, just t make you feel VW is for kids.

gratefully, in advance

Share this post


Link to post

You can select text boxes by font size with Custom Selection... You can also make a script by checking Create Script in the first dialog box.

It would help to know your version of Vectorworks. Create a signature with that info and computer specs.

Share this post


Link to post

I don't have VW12 but in VW2009 Tools menu>Custom Selection... In the first dialog box you have the option to Execute Immediately or Create Script.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×