I want to create a simple SKILL utility for find and replace texts in the DB (for the project number in template, e.g.) and I want to ask if is there some easy way how to get all the dbid of the text in whole DB?
Edit: This is the best I can think of.
axlSetFindFilter( ?enabled list( "noall" "text") ?onButtons list( "noall" "text"))axlAddSelectAll()moAllTexts = axlGetSelSet()
I've done this small routine, however it change the text only in the curently displayed layer. Is this normal behavior?
axlSetFindFilter( ?enabled list( "noall" "text") ?onButtons list( "noall" "text"))
In reply to serpens:
The best way to go around this is to use the invisible parameter, so that it searches and selects both on visible and invisible subclasses.
axlSetFindFilter(?enabled list("noall", "text", "invisible"), ?onButtons list("noall", "text"))
In reply to Ejlersen:
Thanks, this solve it nice.
Now I finding how to replace my texts and I found this:
moTmp = pcreReplace( pcreCompile( moFindText) moAllTexts->text moReplaceText 0)
In reply to vramananx:
I will look trough you code. But I think you have similar issue with your code as I describe in here http://www.cadence.com/Community/forums/p/25683/1322038.aspx#1322038