I actually do not think there is any 'direct' access to that specific object in Inventor's API. It is simply not recognized yet, and its Type will read something like "Generic" or "GenericObject". The SectionDrawingView.Label (a DrawingViewLabel object) is pointing to the view label of the secondary view that was created with the hatching, so that is not actually correct here. And the SectionDrawingView.SectionLineSketch will get you a reference to the DrawingSketch where you created the actual SketchLine, but not to the label you are after yet. Then the SectionDrawingView.ParentView will get you a reference to the main view where that sketch was made within, but its Label is still not the one you are after. When you double click on that actual section line label, you will see the Format Text dialog pop-up, and see that it contains the text "<VIEW IDENTIFIER>", and you will notice under Type, it is set to "View Label Properties", and under Source is is set to (current drawing and the name of the current drawing file), then under Property it is set to "VIEW IDENTIFIER". This is just the Letter or Number associated with that instance of a section or detail view. Those are pretty much automatically generated and updated as you go, but can usually be changed or edited manually. When you manually edit the section view (view with hatching), you will see that it has a field called "View Identifier" there. If you add something to that directly, after the letter, it will also show up in the view label of the section view, not only the section line label itself. Just so you know. That may not be a problem though.
Wesley Crihfield

(Not an Autodesk Employee)