Frameworks
Integrations
Mendix
SharePoint
Modular UI
Legacy UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
WebViewer BIM Server is a REST server for performing 3D document work.
This server comes packaged as a Docker image available for Linux, MacOS Intel (not in M1) or Windows.
Pull latest webviewer bim server image:
The BIM server supports both setting configuration through a config
file and setting it directly through environment variables. To set configuration through a config file take the following steps:
The configuration file is a JSON file with the following options:
license
- The server license keytemp_directory
- The temp directory to use for processing. Defaults to ./sys/tmp
log_directory
- The log directory to use for server logs. Defaults to ./sys/logs
data_directory
- The directory to store cached data in. Defaults to ./sys/data
log_level
- Sets the logging level. Accepts DEBUGINFOTRACEWARN
num_threads
- The number of concurrent jobs to target. Defaults to number of CPUs detected minus 1.bind_address
- The server binding address. Defaults to 0.0.0.0
port
- The server port. Defaults to 8085
max_cache_size
- The maximum cache size before forcing cache deletion. Defaults to 90% of the available disk.force_zero_cache
- Force cache to constantly be removed. Defaults to false
release_mode
- Sets HTTP to release mode, defaults to true
.request_timeout
- Maximum time to wait for an HTTP request result in seconds. Defaults to 10
seconds.job_timeout
- Maximum time to wait for a job to complete . Defaults to 10
minutes.use_https
- If true
, enables HTTPS and uses the HTTPSPort. Defaults to false
https_port
- HTTPS port, defaults to 443
https_cert_file
- The HTTPS public certificate location.https_key_file
- The HTTPS private certificate location.allowed_origins
- The origins allowed to access the server. Expects a string array ['test.com','pdftron.com']
allow_credentials
- If true
, includes the Access-Control-Allow-Credentials header in server responses. Required if using withCredentials
on client-side API calls.A sample of what the json file should look like.
In order to pass these arguments as enviroment variables, just run the docker contianer with variable with the prefix trn_
, such as:
This will mount the config file to the container into the path /home/docjob/config
where it will be loaded from.
This will run the container with the trn_license
configuration variable defined.
It's important to maintain uptime when using a Docker container. The best way to do this is with a container management tool such as Portainer
, Kubernetes
, OpenShift
, Docker
, ECS
and much more.
When managing your container, you can use the built-in health API to monitor its status.
If you enabled withCredentials
in supported client-side APIs, the BIM server must be configured correctly:
allow_credentials
is enabled.allowed_origins
is not using the default *
wildcard.See client-side documentation for more details.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales