3D Preview Service Location
Configuration of the 3d Preview Service Location is only required if:
- DriveWorks Live is being run through IIS (Internet Information Services, see How To: Configure DriveWorks Live For IIS).
And
- Any of the forms used in the projects being specified use the 3D Preview Box user form control.
Configuring The 3D Preview Service Location
This is only necessary for DriveWorks versions 14.2 or earlier.
The 3D Preview Service Location is defined in the Web.config file.
The Web.config file is a DriveWorks maintained file.
When DriveWorks is installed this file will be overwritten with the installed version.
It is important to take a backup of this file before and after making any custom modifications to it.
- Taking a backup before modifying will give you a return point if anything goes wrong.
- Taking a backup after your modification will allow you to compare the new Web.config file with the backup that contains your modifications. You will then be able to migrate your modifications into the new Web.config file.
The 3D Preview Service Location is defined in the web.config file, for the Application Theme this is found in the location:
C:\ProgramData\DriveWorks\[version number]\Live\Themes\Application
The 3D Preview Service Location is the location (if local) or
name of the computer running DriveWorks Autopilot that has 3D
Preview enabled.
To change the 3D Preview Service location:
- Using Windows Explorer locate the config file for the theme being used and make a copy for back up purposes.
The name of the config file depends on the Theme being used, for the:
- Web Theme it is named %ProgramData%\DriveWorks\[version number]\Live\Themes\Web\DriveWorks.config
- Application Theme it is named %ProgramData%\DriveWorks\[version number]\Live\Themes\Application\web.config
- Open the config file using notepad or a similar text editor.
- Locate the line below
<preview serverName="localhost">
- Change the string "localhost" to the name of the machine
hosting DriveWorks Autopilot.
Examples
Name | Meaning |
---|
localhost | The DriveWorks Autopilot that hosts the 3D Preview service is
located on the local machine. |
AutopilotMachine | The DriveWorks Autopilot that hosts the 3D Preview service is
located on the machine named
AutopilotMachine. |
The computer running DriveWorks Autopilot will require its Firewall settings adjusted to allow connection to the 3D Preview service. Please refer to
Autopilot: 3D Preview Settings for more information.
A user form control that displays a box in which an
interactive 3D Model can be displayed during specification in
DriveWorks Live.
The 3D Preview Box can run in 3 different modes:
- File Mode - Requires the location of existing 3D content to be
applied to the File Name property of the control.
- Document Mode - Requires the name of an Output Document that
uses a DriveWorks 3D file to be applied in the Preview Document
Name property of the control.
- Autopilot Mode - Requires the name of an engine that DriveWorks
Autopilot will use to render 3D content back to the control, this
is set in the Preview Engine property of the control.