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

Vectorscript Compiler - Easier way?

Recommended Posts

Hi Guys,

As the scripts grow larger we're forced to us PX files and INCLUDES. That's fine.. but is there an easier way to then compile the script than having to go back to:

Tools > Scripts > Vectorscript Plug-in Editor...

Find your Plugin, Open it.. and hit the Compile button?

This is extremely in-efficient and slow........... There has to be a better way!

And sugestions would be appreciated..

Thanks...

Dave

Share this post


Link to post

There should be a VS Compiler Mode menu item. It essentially runs the script:

SetPref(407, NOT GetPref(407));

When in compiler mode, the script will compile on each run. All you have to do is save the px file and run the script. If there are compile errors, you can see the warnings as well as go straight to the edit script window, where you can click the compiler button after each px edit. I hardly ever go ti the Plug-In Editor any more.

-Josh

Share this post


Link to post

Ahh got it's a toggle to force compiling... Perfect!

Thanks for your quick reply...

:)

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.

×