Hi @ober2558. If I am understanding your request correctly, then I believe the following code example should get you most of the way to your goal.
If ThisDoc.Document.DocumentType <> DocumentTypeEnum.kAssemblyDocumentObject Then
MsgBox("An Assembly Document must be active for this rule to work. Exiting.", vbCritical, "")
Exit Sub
End If
Dim oADoc As AssemblyDocument = ThisDoc.Document
Dim oOccs As ComponentOccurrences = oADoc.ComponentDefinition.Occurrences
For Each oOcc As ComponentOccurrence In oOccs
If oOcc.IsiAssemblyMember Then
Dim iAsmMem As iAssemblyMember = oOcc.Definition.iAssemblyMember
Dim oCols As iAssemblyTableColumns = iAsmMem.ParentFactory.TableColumns
For Each oCol As iAssemblyTableColumn In oCols
'If oCol.ReferencedDataType = iComponentColumnTypeEnum.kFilePropertyColumn Then
If oCol.DisplayHeading = "YourSearchTerm" Then
'<<<< Put Your Action Code Here >>>>
End If
Next 'oCol
End If
Next 'oOcc
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield

(Not an Autodesk Employee)