I have visited and read all of the information on the autodesk site. Although it is helpful I find all of the tutorials go from this is what everything is straight to writing code examples. For example in the beginners guide to the API on pg. 13, first example shows:
Dim oFeature As PartFeature
For Each oFeature in ThisDocument.ComponentDefinition.Features
Debug.Print oFeature.Name
Next
as far as i'm aware of this is setting oFeature As PartFeature, it is then saying for each partfeature in Thisdocuments ComponentDefinition get the Features, show the features (Debug.print) the Features by Name, then go to the Next Feature encountered...
My confusion is with the flow of the code, I used the Autodesk IV8 API object Model flow chart on the web site. if you look at the code and compare it to the flow chart, it really does not coincide. I would look at the flow chart to try and use the Documents collection, PartDocument, PartComponentDefinition, PartFeatures. It seems to me that there are rules and shortcuts for writing your code, It just seem that it is not well documented, because of the most common reason...Those who use it, know it and those who are trying to learn just plain have to figure it out...
Thanks for your response...
Bill