Erwin wrote: Use the syringe (CTRL + ALT or CMD + ALT) to select the other object. It will retain the similar parameters this way.
This will copy all of the values of parameters from one object to another with the same parameters.
It doesn't copy the parameters themselves if you are trying to script an object.
You are stuck creating them one by one unless you save an object that has the parameters you want with the 'Use as Subtype' button ticked (top of the scripting dialogue).
This will create a subtype that you can then use in other objects.
Add or delete parameters in the original object and all those using that subtype should automatically adjust.
You can set custom values in each object and hide those parameters you don't want to use.
One of the forum moderators. Versions 6.5 to 27 Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10 Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
I use applescript to convert the files - here is an example
do shell script "Applications/Graphisoft/ArchiCAD\\ 18/LP_XMLConverter.app/Contents/MacOS/LP_XMLConverter x2l /XMLHOLDING/ /Applications/MacLibDevKits/GDLPROCESSED/"
set alertResult to display alert "XML now converted to GDL"
note: x2l is the command to convert the xml to library part. l2x will convert GDL to xml.
It will work 'as is' if you place two folders directly in your hard drive - called 'XMLHOLDING' and 'GDLPROCESSED'
So in your example you would place your XML files in the folder called XMLHOLDING then run the script and get the processed GDL files that would then be located in the folder GDLPROCESSED. Right?
Would the script going the other way GDL==>XML look like this?
do shell script "Applications/Graphisoft/ArchiCAD\\ 18/LP_XMLConverter.app/Contents/MacOS/LP_XMLConverter l2x /GDLHOLDING/ /Applications/MacLibDevKits/XMLPROCESSED/"
set alertResult to display alert "GDL now converted to XML"
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K