01-14-2021
11:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-14-2021
11:10 AM
What we really need here, to have a perfect inspection tool, is to be able to:
- Get the hole feature in the model, that this hole is representing
- Gather the necessary data from it, like:
- simple hole, clearance hole, tapped hole, or taper tapped hole
- if clearance hole: there may be references to 'fastener data'
- if tapped or taper tapped: there may be references to 'thread data'
- no seat, couterbore, spotface, or countersink
- if counterbore or spotface: there may be icons and references to the sizes
- if coutersink: there may be icons and references to the sizes/angles
- simple hole, clearance hole, tapped hole, or taper tapped hole
- Use that data to determine which scenario we are dealing with
- Search within the DimensionStyle of this hole note for what the 'default' note contents for this scenario should be.
- If that were possible. I don't think it is.
- There is probably an XML file (or 'styxml' or other type of file) where these defaults are stored.
- Then compare this hole note's FormattedText to what the default should be
The only thing I can find within the DimensionStyle by code that sounds any thing like what we're looking for, is the 'DimensionStyle.HoleNoteDualFormat'. But this won't help us any.
Wesley Crihfield
(Not an Autodesk Employee)