2021-06-17 06:43 AM - last edited on 2021-09-14 09:06 AM by Noemi Balogh
"...\LP_XMLConverter.exe" libpart2xml "[object path]" "[save path]"The
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2021-06-17 10:03 AM
"...\LP_XMLConverter.exe" libpart2xml "object path" "save path" -password mysecret
2022-09-01 01:48 AM
It kinda worked but it keeps saying that I'm typing my password wrong (Mac terminal). Any ideas?
2022-09-05 02:32 PM
Keyboard layout?
[] are optional parameters, and their order among the other optional parameters doesn't matter.
[-cur file [-keepimagepath]] means the order is important.
2022-09-05 02:56 PM
I've kept the order, no brackets, and I can actually see the password, so it's typed right. It has no special characters, just 8 random non-special characters.
2022-11-17 11:42 PM
Did you manage to encrypt/decrypt through the command line?
If I try to decrypt a file it says "error: Could not decrypt library part (wrong password)" and if I instead try to encrypt a file through the command line the .gsm file is created without any password.
I've tried the LP_XMLConverter from different AC versions (23 and 26) and even the LP_XMLConverter shipped with the LibDev Toolkit and the result is the same. I've also tried quoted and unquoted passwords, trivial passwords without any special chars (12345) and I've ven tried to base64 encode the password (worth a shot...), but the outcome is always the same.
2022-11-18 03:33 PM
This works for me:
LP_XMLConverter hsf2libpart -password pwd sourcedir target.gsm
LP_XMLConverter libpart2hsf -password pwd target.gsm sourcedir
Please PM me with the object and the steps to reproduce if there is still a problem.
2022-11-18 04:24 PM
I've figured it out, (I think) I've misread your previous post before: as it turns out, the order of oprional parameters doesn't matter amongst themselves, but they do need to be placed before the source/target parameters.
I was doing the same as the OP and placing them at the end of the command, which is why it led to the same error
Here's a print of the command failing when password is the last parameter and succeeding when it is not.
I do find it a bit weird having to input optional parameters before (some) of the mandatory ones, but at least it's now working as expected.
2023-02-09 01:48 PM
This works! But it's not stated anywhere.
Please consider making it clear at:
https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool
Or even instructions like <Symbol [...] version="43"> at second line means it can be converted to AC25, <Symbol [...] version="41"> makes it able for Archicad 24.
2023-02-14 04:39 PM
Or even instructions like <Symbol [...] version="43"> at second line means it can be converted to AC25, <Symbol [...] version="41"> makes it able for Archicad 24.
Sometimes that works when we don't change the xml format. Use the -compatibility flag to convert to earlier versions.