Message 1 of 2
Using the SketchEntitiesEnumerator object in VB

Not applicable
05-18-2002
01:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am writing an Add-In for inventor and one of the things I want to do is querry the open sketch for existing entities. If the number of entities is greater than 0, I want to send a message to the user. I have been trying to use the SketchEntitiesEnumerator.Count and have been unsuccessful. I can get the program to compile but when I test it in inventor it gets an error. What are the proper variable declarations to make this work?
In general I find the inventor help on the API to be somewhat cryptic. Can you recommend a book that deals with the API in depth?
In general I find the inventor help on the API to be somewhat cryptic. Can you recommend a book that deals with the API in depth?