cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Design forum

GDL batch change info

Domagoj Lukinic
Contributor

Hi all!

Is there some way to batch change on multiple GDL-s at once Author/Object's subtype or even something that can batch replace text in scripts 

e.g. 

I am modeling 2D symbols and want to change mul2  from "mul2    A/0.08, B/009 "  to "mul2 A/GLOB_SCALE, B/GLOB_SCALE" nothing special but it would be great to batch all symbols...

 

Thank you in advance!

1 ACCEPTED SOLUTION
5 REPLIES 5

runxel
Ace

Convert to HSF (LP_XMLConverter), make your adjustments via a script or just with plain regex, convert back.

Mostly AC 26 on Mac | Author of SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

You can do a find and replace all for script text. But you have to do each script separately.

Is there a solution without using XMLConverter? If not, can you recommend a tutorial/manual so I can check it out?

Yes I know but I am looking for solution where I can lets say click "find and replace all"

but the text is replaced in all open tabs that are GDL editor.

Solution

The GDL editor will only let you edit one script of one object at a time.

 

As far as I know, you need to use the LP_XMLConverter tho change the format so you can edit (find and replace) and then save back.

 

This link may help?

 

https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool

 

I must admit I have never mastered it.

Each time I try, I look at it and think it is too hard and I just don't understand what is written.

I just edit each object I the GDL editor.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!