- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to set/modify "Notes and Leaders" in Style and Standard Editor/Dimension via API?
Dears,
I'm looking for the guide to set/modify "Notes and Leaders" in Style and Standard Editor/Dimension via API?
Note Format:
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In the local style or the style library?
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I do not believe we can modify those specific settings by Inventor API code. I know we can access a lot of the settings within the DimensionStyle object by code, but not all of them yet. I think the only setting on that 'Notes and Leaders' tab we can access is the DimensionStyle.LeaderStyle property. Likely the only way to change those settings, other than through that dialog, is by exporting that style definition out as a ".styxml" file, then opening and editing that file by code, then importing it again. But I have never attempted to open and edit one of those types of files by code before, and frankly would not want to either.
Wesley Crihfield
(Not an Autodesk Employee)