2018-05-14 09:49 PM
2018-05-14 10:33 PM
2018-05-15 09:58 PM
2018-05-16 05:50 AM
2018-05-24 10:31 AM
2018-06-13 06:21 AM
Johan wrote:Hi Johan,
I already made a few modifications to the script. It is now more stable and more versatile.
You can change pen numbers, line types and fill colors.
I also added a small explanation on how to use it.
/Users/furtonb/Desktop/AC21 xml/Object Library 21/1. BASIC LIBRARY 21/1.1 Furnishing 21/Chairs 21/Lounge Chair 21.xml Traceback (most recent call last): File "/Users/furtonb/Downloads/PenNumbersReplacement.py", line 34, in <module> index = oldValue.index(valeur.text) ValueError: '4' is not in list [Finished in 0.1s with exit code 1] [shell_cmd: python -u "/Users/furtonb/Downloads/PenNumbersReplacement.py"] [dir: /Users/furtonb/Downloads] [path: /Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]The v2 version runs OK (example line):
(...) ('File modified :', '/Users/furtonb/Desktop/AC21 xml/Object Library 21/1. BASIC LIBRARY 21/1.1 Furnishing 21/Chairs 21/Bar Stool 21.xml') [Finished in 0.2s] [Process finished with exit code 0]The only thing I did is replacing the xml folder path and removing the linetype and fill colour sections from v2.
2018-06-13 07:00 AM
2018-06-13 07:37 PM
2018-06-21 08:47 AM
2022-02-10 08:38 PM
hi! great idea! I‘m also interested in adapting the standard AC library, but simply with a text editor that can search and replace in multiple text files in the HSF format. this works quite well, my only concern is how to migrate a running project that is using a customized library. will it work to customize, for example, the AC22 library, begin a project there, customize the AC24 library and migrate the project from custom library 22 to custom library 24?
does anybody have experiences here?