Hi @Wayne.peacockSF88J. If you simply create a custom iProperty in your sheet metal part that contains the needed size, that value will be 'static' not 'live' or 'linked'. But you could attempt to keep it updated by causing the rule to get triggered to run whenever the model changes in size. But if you really want to achieve 'the same exact functionality' as what you described by what you manually did in the Format Text dialog box, you will need to work with the note's FormattedText, which includes some XML tags, and that can get somewhat complicated to do. Below are a couple of simple little iLogic rule tools that you can use to 'inspect' an already existing LeaderNote or GeneralNote within a drawing, to see what it has within its 'FormattedText', when it contains some 'linked' data. These will help you learn what you need to do to simulate most of the same exact functionality that you can achieve with the Format Text dialog.
This rule is for inspecting a LeaderNote:
Dim oLNote As LeaderNote = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingNoteFilter, "Select a leader note to inspect.")
If oLNote Is Nothing Then Return
Dim oEditedFText As String = InputBox("Here is the LeaderNote.FormattedText:", "LeaderNote.FormattedText", oLNote.FormattedText)
'then use the next line if you want to change it to how you edited it above
'oLNote.FormattedText = oEditedFText
...and this nearly identical rule is for inspecting a GeneralNote:
Dim oGNote As GeneralNote = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingNoteFilter, "Select a drawing general note to inspect.")
If oGNote Is Nothing Then Return
Dim oEditedFText As String = InputBox("Here is the GeneralNote.FormattedText:", "GeneralNote.FormattedText", oGNote.FormattedText)
'then use the next line if you want to change it to how you edited it above
'oGNote.FormattedText = oEditedFText
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)