Tip: You can use an InputBox to show yourself what the current contents of the FormattedText is, and have that text be selectable, so you can copy/paste portions of it back into your rule, by simply supplying it as the 'default entry' Input variable.
Is each line of text its own TextBox, or are all the linens of text all part of one large TextBox?
If each line is its own TextBox, you can loop through each TextBox, checking FormattedText.Contains("what you're looking for") (as Boolean), to find the Property you're looking for. Each standard Property has a DisplayName, a Name, a PropID (Long).
And the PropID can be cross referenced with these Enums:
PropertiesForSummaryInformationEnum Enumerator
PropertiesForDocSummaryInformationEnum Enumerator
PropertiesForDesignTrackingPropertiesEnum Enumerator
There is also one for the custom properties, but it doesn't contain any values by default:
PropertiesForUserDefinedPropertiesEnum Enumerator
Also, FYI: Here is the link to Inventor's help page which attempts to show you how to use XML tags to manipulate FormattedText scenarios.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click 'LIKE'
.
If you have time, please... Vote For My IDEAS
or you can Explore My CONTRIBUTIONS
Inventor 2021 Help | Inventor Forum | Inventor Customization Forum | Inventor Ideas Forum
Wesley Crihfield

(Not an Autodesk Employee)