I did not see that your text is in a sketched symbol. But in that case you can make a sketched symbol for each language and switch them with some code like this iLogic rule.
Sub Main()
Dim doc As DrawingDocument = ThisApplication.ActiveDocument
Dim sheet As Sheet = doc.ActiveSheet
Dim currentSymbol As SketchedSymbol = getSketchedSymbol(sheet, "SymbolWithSpanishText") 'sheet.SketchedSymbols.Item("SymbolWithSpanishText")
Dim newSkecthedSymbolDefinition = doc.SketchedSymbolDefinitions.Item("SymbolWithPolishText")
sheet.SketchedSymbols.Add(newSkecthedSymbolDefinition, currentSymbol.Position)
currentSymbol.Delete()
End Sub
Private Function getSketchedSymbol(sheet As Sheet, name As String) As SketchedSymbol
For Each symbol As SketchedSymbol In sheet.SketchedSymbols
If (symbol.Name.Equals(name)) Then
Return symbol
End If
Next
Return Nothing
End FunctionMake sure that you insert point is on the same point point of the symbol or you text will move. (by default Inventor uses the midpoint as insert point wich is no good for this trick, but you can move that point)
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

Blog: hjalte.nl - github.com