jfcorbett Posted January 17, 2011 Posted January 17, 2011 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 lineSet 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)
jfcorbett Posted January 17, 2011 Posted January 17, 2011 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.
Duncan Posted January 18, 2011 Posted January 18, 2011 Thanks for these. We'll fix the documentation.Meanwhile, I can confirm that HorizontalSpeed is the site-only variable, and Speed is for grids, so the text is wrong.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now