Remove all text overrides from dimensions in drawing

Remove all text overrides from dimensions in drawing

Anonymous
Not applicable
1,103 Views
2 Replies
Message 1 of 3

Remove all text overrides from dimensions in drawing

Anonymous
Not applicable

Is there a way to uncheck all of the "hide dimension value" boxes on overridden dimensions in a drawing?

 

I know you can select all of the overridden dimensions but I am struggling to find a way to mass edit all of these dimensions removing their overrides.

 

I was maybe thinking that you could create a different dimension style and have that one set to not allow dimension overrides but I can't find a way to set that sort of parameter.

 

Any help is greatly appreciated. 

 

Thanks

 

0 Likes
1,104 Views
2 Replies
Replies (2)
Message 2 of 3

S_May
Mentor
Mentor

Hallo, und willkommen im Forum.

Bitte bei Fragen zum System bitte immer mit angeben:
• Aktuelle Inventor Version mit aktuelle SP
• Betriebssystem mit Grafikkarte, RAM, CPU usw.

Bei Fragen zum Modellierung mit angeben:
• Modelle oder Baugruppen mit pack and go packen und anhängen
• Bilder der Probleme
•screencast

https://knowledge.autodesk.com/de/community/screencast
https://knowledge.autodesk.com/de/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2...

Und dann kann es schon losgehen mit der Analyse…

0 Likes
Message 3 of 3

martin.jacko
Autodesk
Autodesk

Hi,

 

I think you can use VBA script for this purpose.

 

Sub Reset()

    Dim oDoc As DrawingDocument
    Set oDoc = ThisApplication.ActiveDocument
    
    Dim oSheet As Sheet
    Set oSheet = oDoc.ActiveSheet

    Dim oLinDim As DrawingDimension
    For Each oLinDim In oSheet.DrawingDimensions.GeneralDimensions
    If oLinDim.ModelValueOverridden Then
        oLinDim.HideValue = False
    End If
    Next
End Sub

 

Martin