Bend note color adjustment

Bend note color adjustment

Anonymous
Not applicable
1,488 Views
3 Replies
Message 1 of 4

Bend note color adjustment

Anonymous
Not applicable

Hi there,

 

I am changing dimension and bend note colors to make drawings more clear.

 

I know that, in SolidWorks, you can change both the 'bend note - up direction' and 'bend note - down direction' colors.

I wish to do that. I want the color of the bend note to be green when it is upwards and red when it is downwards.

Is this at all possible in Inventor?

 

I managed to make the bend note green as shown in the attachment, but dont know how to seperate up from down.

 

Edit:

In styles editor I see that in 'Layers' there is a 'Bend centerline +' and 'Bend centerline -'

and in 'Object Defaults' I see only 'Bend Note' and I am unable to create more objects.

 

Much thanks in regards.

 

 

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

Yijiang.Cai
Autodesk
Autodesk

You are correct! We can't add more objects like "Bend note -Up" and "Bend not - down". So we can't leverage this method to apply different layer for the bend note down/up. But we could leverage the API to get it done.

1. First we create two layers named "Bend Note -Up" and "Bend Note - Down", and assgin the red and green color for these two layers respectively.

2. Please copy the code lines below to make it done. Please also see the attached image.

Sub Test()
    Dim oDoc As DrawingDocument
    Set oDoc = ThisApplication.ActiveDocument
   
    Dim oSheet As Sheet
    Set oSheet = oDoc.ActiveSheet
   
    Dim oNote As DrawingNote
   
    For Each oNote In oSheet.DrawingNotes
        If oNote.FormattedText = "<BendNote/>" Then
            If InStr(oNote.Text, "UP") > 0 Then
                oNote.Layer = oDoc.StylesManager.Layers("BendNote-Up")
            Else
                oNote.Layer = oDoc.StylesManager.Layers("BendNote-Down")
            End If
        End If
    Next
End Sub

Thanks,
River Cai

Inventor Quality Assurance Team
Autodesk, Inc.
Email: River-Yijiang.Cai@autodesk.com
Message 3 of 4

marcin_otręba
Advisor
Advisor

you can change bend line color if you want...

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 4 of 4

Anonymous
Not applicable

I reported you. 

 

Nowhere in the thread I asked for bend line color.

I said bend note color, which can also be changed, but I'm asking for different colors between UP and DOWN.

 

So great passive agressive comment you got there lad

0 Likes