Hello!
I've recently noticed one of my iLogic Rules no longer pulls the information from properties utilizing .Text, I was wondering if there's a new method?
For example:
For Each oSheet as Sheet in oDoc.Sheets
For Each oLeader As LeaderNote In oSheet.DrawingNotes.LeaderNotes
Dim LeaderText As String = oLeader.Text
Next
Next
This pulls "<PROPERTY>" rather than the property value. Before, it'd pull the property value instead of "<PROPERTY>".
Is there anyway to pull the property information through this still? I personally can't find anything.
Thank you all!
What year/version of Inventor are you using? I'm using 2024.3 and if the only contents in my LeaderNote is pointing to the Part Number standard iProperty of 'the model', it still shows me the value of the model's Part Number in the LeaderNote.Text property value. What type of property is it (standard, custom, derived)?
Wesley Crihfield
(Not an Autodesk Employee)
Sorry, I should've included that.
We migrated from Inventor Pro. 2023 -> Inventor Pro. 2025.
Interestingly enough, it works sometimes on other computers. Maybe it's a setting?...
This is a custom property, <PropertyDocument='model'PropertySet='UserDefinedProperties'Property='TAGNUMBER'FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'PropertyID='13'>TAGNUMBER</Property> from the FormattedText, .Text shows <TAGNUMBER> but it should show the value of TAGNUMBER lol.
Interesting. I see that there are 2 new LeaderNote properties for 2025 (LeaderNote.Retrieved & LeaderNote.RetrievedFrom).
Also, just to be thorough, check in the Document Settings (Tools tab, Options panel), and check in the DimensionStyle being used for that LeaderNote.DimensionStyle property value, but maybe check it manually, in the Styles & Standards editor. I did not see anything in either place in my version, but maybe there will be something there for you in 2025 version. Also, in 2024, when I have a LeaderNote selected, then right-click, there is an option in the right-click menu called "Edit Unit Attributes". For me, this is only useful if it is showing a numeric value, but maybe it contains something extra for you. Just some areas to check out.
Wesley Crihfield
(Not an Autodesk Employee)
@WCrihfield wrote:Interesting. I see that there are 2 new LeaderNote properties for 2025 (LeaderNote.Retrieved & LeaderNote.RetrievedFrom).
Also, just to be thorough, check in the Document Settings (Tools tab, Options panel), and check in the DimensionStyle being used for that LeaderNote.DimensionStyle property value, but maybe check it manually, in the Styles & Standards editor. I did not see anything in either place in my version, but maybe there will be something there for you in 2025 version. Also, in 2024, when I have a LeaderNote selected, then right-click, there is an option in the right-click menu called "Edit Unit Attributes". For me, this is only useful if it is showing a numeric value, but maybe it contains something extra for you. Just some areas to check out.
I checked the settings, i do not see anything for Retrieved/RetrivedFrom. Right clicking a leader and going into "Edit Unit Attributes", it uses Standard Notation. I personally just don't see anything though. I attached a few photos just in case someone else sees anything.
Good morning,
I have run into the same issue. What i did to solve it was replace the Custom Field inside the note. to my understanding what is happening, is when inventor migrates sometimes it doesn't see <CustomiProp> as a value field to fill it see it as "<CusomiProp>" as a string. Even more curious is that it only happens sometimes, we have 4 users and we can each run into that issue, and its not the same each time. i'm sure there is a deeper reason why, but we have found re-building the note fixes the issue for us.
i hope this helps!
Can't find what you're looking for? Ask the community or share your knowledge.