Message 1 of 8
Not applicable
01-09-2013
04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The following code keeps throwing a type mismatch on the GetEntity line
What am i doing wrong?
Dim obj As Object = Nothing
Try
Dim pnt As Object = Nothing
doc.Utility.GetEntity(obj, pnt, "test")
Catch ex As Exception
Return False
End TryThe following code as well:
Dim obj as Object = Nothing
Try Dim pnt As Object = Nothing doc.Utility.GetEntity(obj) Catch ex As Exception Return False End Try
When i give no parameters i get an error that the number of parameters is not correct. That's fine, but that would imply
- that there is an overload accepting 1 parameter
- that the 'obj' parameter is of the wrong type
Solved! Go to Solution.

