Export
Arguments for exporting
Following commands can be used during an export:
| Argument | Description | Required | Default |
|---|---|---|---|
| --TrackerId | The id of the Codebeamer tracker for export | yes | — |
| --DiagramPath | Sets the path for diagram images | no | — |
| --DiagramFileExtension | Sets the diagram image file extension (png, jpg, bmp) | no | png |
| --FreeSort | Enable EA 'free sorting' option | no | false |
| --DiagramAbovePackage | Enable sort diagrams above packages | no | false |
| --RateLimitPerSecond | Limits API calls to amount per second (0 means no limit) | no | 0 |
| --RateLimitPerMinute | Limits API calls to amount per minute (0 means no limit) | no | 0 |
| --IgnoreCreatingPlaceholders | Does not create placeholders if enabled | no | false |
| --License | Path to a folder or file with a license | no | — |
| --ServerUrl | The URL to the server | yes | — |
| --Username | Username | yes | — |
| --Password | Password | no | — |
| --Token | Personal Access Token | no | — |
| --Model | The source 'Model' used to export from Server | yes | — |
| --PackageGuid | The guid of the 'Package' configured for export | yes | — |
| --Mapping | The mapping file used for export | yes | — |
| --Log | Sets the output path for log files | no | — |
| --MaxConcurrentTasks | Number of concurrent tasks to process and load data | no | 8 |
| --help | Display the help screen | no | — |
Powershell Example:
LemonTree.Connect.Codebeamer.Automation.exe Export `
--DiagramFileExtension png `
--DiagramPath c:\eaDiagramImages\{B62E2AC1-DFE5-44b2-95A8-052F7499585E}\ `
--Mapping "Mapping\Export\UML Architecture Mapping (combined).xml" `
--MaxConcurrentTasks 8 `
--Model automationtest.qeax `
--PackageGuid {B62E2AC1-DFE5-44b2-95A8-052F7499585E} `
--Password password `
--RateLimitPerMinute 200 `
--RateLimitPerSecond 10 `
--ServerUrl http://<server>/ `
--TrackerId 4336 `
--Username username