Hope you're well! I've been working on a parts list exporter, and would like to export a list of parts filtered by a selected reference set.
I currently have the following function to pull the tags to be included in the parts list:
Public Function GetPartsListTag(ByRef partTag As NXOpen.Tag) As NXOpen.Tag Dim tempTag As NXOpen.Tag = NXOpen.Tag.Null Dim type As Integer Dim subtype As Integer Do ufs.Obj.CycleObjsInPart(partTag, UFConstants.UF_tabular_note_type, tempTag) ufs.Obj.AskTypeAndSubtype(tempTag, type, subtype) If subtype = UFConstants.UF_parts_list_subtype Then Return tempTag End If Loop Until tempTag = NXOpen.Tag.Null End Function
Is there a way to add something like "if tag is in the selected ref set, return the tempTag else next" ? I've been looking at AskMembersInReferenceSet() but haven't found a good way to use it.