Quantcast
Channel: NX Journaling - Journaling / NXOpen API
Viewing all articles
Browse latest Browse all 783

Drawing sheet annotation search

$
0
0

Hello All,

I have found a way to isolate a single drawing sheet:

    Sub Main()
        Dim s As Session = Session.GetSession()
        Dim dp As Part = s.Parts.Display
        Dim dsc As DrawingSheetCollection = dp.DrawingSheets
        Dim dsca As Array = dsc.ToArray()
        Dim ds As DrawingSheet = dsca(0)
    End Sub

I have been trying to find a way to search through the notes on this sheet, but I cant find a method or a property to call which shows the annotation. I want to search through them for a specific string of text. For Example "10 K". I have found a way to search the whole drawing for it, but I dont want to search the whole drawing as it seems inefficient and for larger drawing packs (10+sheets) the process will be slower. Does anyone know of a way to search through a specific drawing sheet for notes/annotations?


Viewing all articles
Browse latest Browse all 783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>