Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a question about whether it's possible to change the text within a sketch symbol that exists in an existing detail.
In this case, I have a sketch symbol called "PA" with the text "Perfil Alto" inside.
I need a rule that changes the text from Perfil Alto to High Profile.
However, within the sketch symbol, the text is inserted as the requested input. (Property field: "OBSERVATIONS", VALUE: "PERFIL ALTO").
Can anyone help me?
This code below is not working.
' Obter o documento de desenho atual Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument Dim oSheet As Sheet = oDrawDoc.Sheets(1) ' Percorrer todos os símbolos da folha Dim oSymbol For Each oSymbol In oSheet.SketchedSymbols If oSymbol.Definition.Name = "PA" Then ' Substitui o valor do prompt chamado "OBSERVAÇÕES" oSymbol.SetPromptResultText("OBSERVAÇÕES", "HIGH PROFILE") End If Next
Solved! Go to Solution.