Endlich ist es möglich per Scripting Ebenen zu manipulieren. Ich hätte mir zwar gewünscht das für einzelne Ebenen zu zun, aber so ist das mit dem kleinen Finger.
Mit dieser Action könnt ihr die Ebenen-Einstellungen exportieren und importieren, ab Version 2.6.
Die Action ist leider nur in der API Doku enthalten, funktioniert aber wie gesagt im Scripting.
Danke an FrankS für den Hinweis in diesem Beitrag.
Action name = graphicallayertable TYPE Type of task to be performed by the action: IMPORT: Import graphical layer table EXPORT: Export graphical layer table PROJECTNAME Project name with full path (optional). If not entered, the selected project is used when the action is called from GUI (like from a script or button bar). If called from the windows command line, PROJECTNAME must be set or the ProjectAction must be used first, otherwise an System.ArgumentException exception is thrown. IMPORTFILE The directory and the file name of the table to be imported must be specified here. EXPORTFILE The directory and the file name of the table to be exported must be specified here. Import example: graphicallayertable /TYPE:IMPORT /PROJECTNAME:C:\\Projects\\EPLAN\\EPLAN-DEMO.elk /IMPORTFILE:C:\\EPLAN\\EPLAN-DEMO.elc Export example: graphicallayertable /TYPE:EXPORT /PROJECTNAME:C:\\Projekte\\EPLAN\\EPLAN-DEMO.elk /EXPORTFILE:C:\\EPLAN\\EPLAN-DEMO.elc
This is great news. It would be really nice to have a function/script that exports the current layer table, then change some settings in the exported xml file and import the file back. That way it would be possible to manipulate single layer settings.