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

VectorScriot or ...

Recommended Posts

A question about the VS Editor... I hear some of you say that you don't use the VS Editor but a text editor with a VS language module. I too use Notepad++ with such a module at work and it does work great but one thing that i miss the most is a way to compile my scripts... So, is there a way to do this in one of those text editors? If so, i too would leave the VS Editor for what it is and use a text editor.

I thought that DE didn't want to make pio's in VS? They did hate it a while back...

Share this post


Link to post

@TheBlindExpert @maarten - I make a lot of use of Tools > Scripts > VS Compiler Mode during development ... it tells Vectorworks to re-compile every time the PIO is inserted. Turn this on, then just leave the VW script window open while you work on the code in your external program. If you've used {$INCLUDE whatever} and the right compiler mode, you should be able to save, switch to VW, hit compile, switch back to the editor, edit, save, back to VW, compile...

Share this post


Link to post

I don't know the internals. It may be more correct to say the "VS Compiler Mode" command changes it from interpreting PIO code once per session to interpreting on every insertion, versus compiling. But I don't think there's any practical significance to the distinction here.

Share this post


Link to post

Just to chip in here concerning Vlad's first question. For myself the most important feature of VS compared with SDK is that VS is (mostly) platform-agnostic. There's already enough hassle taking care of all the peccadilloes of different VW versions thanks to the lack of conditional compilation directives in VS. If I moved to SDK every release would need twice as much work.

A language with better facilities and a more advanced IDE ( dialog builders, oop etc. ) would be just great but I think it must be cross-platform like VS.

Conrad

Neatworkz

Share this post


Link to post

Just informational (this is the VS forum anyway), but SDK does have much better support for popup value list, also dynamic popup value list. Also it has much easier XML API for configuration files. The SDK is OS independent, as long as you can handle two different compilers. The only drawback maybe is that it uses C++.

You can tell I like the SDK, eh ;)

Share this post


Link to post
What a coincidence: an end user would just like to change the names of User fields in the Door tool, but that is no longer possible. Is this really progress? Methinks not.

Well, but that's not problem of the SDK, it's a problem of the plug-in's design. But yes, I know what you mean ... VS is more user friendly :)

Share this post


Link to post
Guest Mark Flamer

I agree that no matter which direction NV decides to go with this topic, VS should continue to be developed. I would really like to see more commands to help develop parametric 3D objects. On my list are,

-3D Control points

-Access to commands in the 3D powerpack without "DoMenuTextByName"

-Access to other 3D tools like "Shell Solids" and "Fillet"

-More robust methods of resetObject from one PIO to another

-Some method of passing values from one PIO to another without using external files or worksheet fields.

My list could go on but these are some off the top of my head.

Share this post


Link to post
Some method of passing values from one PIO to another without using external files or worksheet fields.

You can also send messages to another PIO's hidden parameter field. After a reset, the other object can update accordingly.

Share this post


Link to post
how many of you would be interested in switching to C#, VisualBasic, Python, Java, F# or what ever language there is these days?

Me.

Time, lack of it, is the only hindrance. Wish me to be unemployed again or to have a new little child justifying some time off work.

VS could be frozen on my opinion and I would go for anything new there was.

orso

"Now, bring me that horizon" (JS)

Share this post


Link to post
Guest Mark Flamer

I have also been using XML as a method of storing and passing data globally. It seems to be pretty fast when the XML file is kept in memory and allows more complex and organized data structures. The non-attached record fields is a good method I was not previously aware of. Lately, I would say the most important addition to VS would be 3D control points and more types of 3D PIO templates. I think this is seriously holding back the potential of our objects. Even the "Framing Member" and "column" objects are stuck in 2.5D without the ability to dynamicly adjust the height using control points. Also, please make "extrude along path" utilize the Parasolids kernel and give us solids instead of a bunch of Nurbs surfaces (and I don't mean "CreateCustomObject" either), infact, why don't you just give us direct access to the entire parasolids library! :-) I know that's not possible but we can dream!

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.

×