Jump to content

Scripting documentation errata


Recommended Posts

I thought it would be useful to post any errors found in the scripting documentation, for reference by current scripters and to help the WAsP team correct any future release of the scripting help file. Here's my first contribution:

In the "Selectors" section:
All this can be collapsed into a single line
Set DataSelection=CurrentProject.Class.AllSelections.ItemByID(TypeCaster.idForElevation)


A "DataSelectionLists" property is missing in the chain, right after the project class object. The code should read:
Set DataSelection=CurrentProject.Class.DataSelectionLists.AllSelections.ItemByID(TypeCaster.idForElevation)
Link to comment
There is an apparent contradiction between the following table and text in the Selectors section:

The table below lists all the selections and shows where they belong.
Description      Site ?  Grid ? 
[...]
Speed X
[...]
Horizontal speed X

[...]

We've noticed that the Speed and HorizontalSpeed are the most confusing [JFC: indeed!]. Speed is a point-only value, and HorizontalSpeed is a grid-only value.
Link to comment

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
×
×
  • Create New...