I am using VBscript inside a third party software. My ways of seeing what is going on is by writing to a log file or using MsgBox.
When trying to read some data about a polygon object, the variable’s vartype is 8209 which as I believe is an array bytes, aka vbByte.
The data inside this variable called GEOMETRY should be some form of the below:
I have tried:
-
for each x in GEOMETRY
Which results in an error of “Type mismatch” -
v = GEOMETRY(0)
Which results in an error of “Type mismatch” -
Ubound(GEOMETRY)
Returns 1179
I am currently trying to see if there is some way of feeding GEOMETRY into a ADODB.Stream, but I don’t have any code for that that I think even should work yet.