Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bend Note Rule - Ilogic replace

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
celesiob
892 Views, 3 Replies

Bend Note Rule - Ilogic replace

Hello, does anyone know any rule to replace the annotation direction bending, as attached image, I thank all who help.

3 REPLIES 3
Message 2 of 4
theo.bot
in reply to: celesiob

 

Try this:

'loop tru all bend notes

For Each oBendnote In ThisDoc.Document.ActiveSheet.DrawingNotes.bendnotes

'clear previus text overrides

oBendnote.text=""

oBendnote.hidevalue=False

         'check direction and set note

         If oBendnote.text.Contains("DOWN") Then

         otext= Replace (oBendnote.text,"DOWN","BAIXO")

         oBendnote.text= otext

         oBendnote.hidevalue=True

         ElseIf oBendnote.text.Contains("UP") Then

         otext= Replace (oBendnote.text,"UP","CIMA")

         oBendnote.text=otext

         oBendnote.hidevalue=True

         End If

Next

 

don't forget to set a event trigger to run this rule for updating your notes, because now it's a text override.

 

succesSmiley Happy

Message 3 of 4
tony.yates
in reply to: theo.bot

Hi Do you know how to get the bendnote to show with ilogic ?  without having to select the line.first.

 

Cheers,

Message 4 of 4

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report