Makro Text ersetzen

Makro Text ersetzen

Anonymous
Not applicable
1,821 Views
5 Replies
Message 1 of 6

Makro Text ersetzen

Anonymous
Not applicable

Ich suche ein Makro (CUI) für Suchen und Ersetzen (fixe Werte, ohne Dialog) => transparenter Befehl für FIND?

0 Likes
Accepted solutions (1)
1,822 Views
5 Replies
Replies (5)
Message 2 of 6

cadffm
Consultant
Consultant

Was du suchst ist eine Befehlszeilenversion, die es leider nicht gibt.

 

(Für Attributwerte würde es ggf etwas geben, aber nicht für Textobjekt)

 

Lösung für alle Nicht-LT Nutzer:

Zusatzprogramm installieren welches diese Möglichkeit bereitstellt.

 

Ein extrem tolles und mächtiges Werkzeug findest du im www mit dem Namen als Suchbegriff:

BW_FinRepT

 

 

Sebastian

0 Likes
Message 3 of 6

Anonymous
Not applicable
Hallo



Besten Dank für die prompte Antwort "Makro: Text ersetzen", leider ohne Lösung.

Das mit den Attributen habe ich im Griff (^C^C-attedit;....)



Gruss Michel


0 Likes
Message 4 of 6

steven-g
Mentor
Mentor

Unfortunately, LISP doesn't work with LT. A macro or script cannot work with a command dialogue, some commands offer an alternative text-based sequence but 'find/replace' is not one of those, which makes the find command a one by one process in LT, unless you have the exact same text multiple times, then you could use qselect to select all matching items and then make the change in the properties palette, this won't work for matching one word in different text items. Though that would find all sentences with that one word and select them allowing you to isolate those objects which would make them easier to find.

Message 5 of 6

cadffm
Consultant
Consultant

Just in short & german

"Besten Dank für die prompte Antwort "Makro: Text ersetzen", leider ohne Lösung."

Richtig, es gibt keine Lösung in LT.

(Dafür würde man ein sehr aufwändiges Zusatzprogramm benötigen, einfach nur ein Makro oder Script geht nicht)

Sorry.

 

Sebastian

Message 6 of 6

steven-g
Mentor
Mentor
Accepted solution

There is just one other way if you are feeling adventurous, save a COPY of your drawing as dxf (which is just a text file) use Windows explorer and open the file with Notepad which will let you use find/replace on the file, just be very careful with this method because if any of the words are used by the 'System' then you could destroy the file or have unexpected consequences. So definitely only try this on a copy and don't try it if you think any word might be a program-specific word.

For example, I would be happy to replace the word 'elephant' but would think very very carefully before replacing the word 'mouse'.

0 Likes