Created
January 26, 2018 21:32
-
-
Save sheetd/6a903ba62eb4537faa47993869dd5a03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Outputes attributes (length in this case) of a feature to the console | |
// Let myGS (OpenBodyFeature) | |
Let myList (List) | |
Let myFeature (Curve) | |
Let myLength (Length) | |
Let sID (String) | |
Let i (Integer) | |
myList = myGS.Query("Curve" , "") | |
Notify("Extracting features: " , myList.Size() ) | |
Trace(1,"Report Run: " + DateFormat("%H:%M")) | |
i = 1 | |
for i while i <= myList.Size() { | |
myFeature = myList.GetItem(i) | |
sID = myFeature.Name() | |
myLength = length(myFeature) | |
Trace(1, "# : #", sID , myLength) | |
i = i + 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment