According to the Swx API help, this call is to return an array of entities. However, I cannot figure out how to index the array the call returns as VB tells me it has no default value therefore cannot be indexed. I get a casting error if I declare the returned variable as anything other than IEntity (system.array or an array of type IEntity both produce a casting error).
I also cannot cast the variable to an array after the fact. Is this an oversight by Swx or am I missing something very basic here? Any help would be appreciated.
Thanks,
Eric
SolidworksApi macros