CreoView 4 - 0 Installation Guide PDF
CreoView 4 - 0 Installation Guide PDF
CreoView 4 - 0 Installation Guide PDF
Installation Guide
Datecode F000
Copyright © 2016 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.
User and training guides and related documentation from PTC Inc. and its subsidiary companies (collectively
"PTC") are subject to the copyright laws of the United States and other countries and are provided under a
license agreement that restricts copying, disclosure, and use of such documentation. PTC hereby grants to the
licensed software user the right to make copies in printed form of this documentation if provided on software
media, but only for internal/personal use and in accordance with the license agreement under which the
applicable software is licensed. Any copy made shall include the PTC copyright notice and any other
proprietary notice provided by PTC. Training materials may not be copied without the express written consent
of PTC. This documentation may not be disclosed, transferred, modified, or reduced to any form, including
electronic media, or transmitted or made publicly available by any means without the prior written consent of
PTC and no authorization is granted to make copies for such purposes. Information described herein is
furnished for general information only, is subject to change without notice, and should not be construed as a
warranty or commitment by PTC. PTC assumes no responsibility or liability for any errors or inaccuracies
that may appear in this document.
The software described in this document is provided under written license agreement, contains valuable trade
secrets and proprietary information, and is protected by the copyright laws of the United States and other
countries. It may not be copied or distributed in any form or medium, disclosed to third parties, or used in any
manner not provided for in the software licenses agreement except with written prior approval from PTC.
PTC regards software piracy as the crime it is, and we view offenders accordingly. We do not tolerate the
piracy of PTC software products, and we pursue (both civilly and criminally) those who do so using all legal
means available, including public and private surveillance resources. As part of these efforts, PTC uses data
monitoring and scouring technologies to obtain and transmit data on users of illegal copies of our software.
This data collection is not performed on users of legally licensed software from PTC and its authorized
distributors. If you are using an illegal copy of our software and do not consent to the collection and
transmission of such data (including to the United States), cease using the illegal version, and contact PTC to
obtain a legally licensed copy.
Important Copyright, Trademark, Patent, and Licensing Information: See the About Box, or copyright
notice, of your PTC software.
PTC software products and software documentation are “commercial items” as that term is defined at 48 C.F.
R. 2.101. Pursuant to Federal Acquisition Regulation (FAR) 12.212 (a)-(b) (Computer Software) (MAY 2014)
for civilian agencies or the Defense Federal Acquisition Regulation Supplement (DFARS) at 227.7202-1(a)
(Policy) and 227.7202-3 (a) (Rights in commercial computer software or commercial computer software
documentation) (FEB 2014) for the Department of Defense, PTC software products and software
documentation are provided to the U.S. Government under the PTC commercial license agreement. Use,
duplication or disclosure by the U.S. Government is subject solely to the terms and conditions set forth in the
applicable PTC software license agreement.
5
Creating and Deploying a Customized Installer .....................................................48
Performing a Silent Uninstallation ........................................................................52
Updating an Installation .............................................................................................55
Updating the License Server................................................................................56
Hierarchical Visual Navigation ....................................................................................59
Appendix A.License Management Software ................................................................61
Overview of PTC Licensing .................................................................................62
License Types ....................................................................................................62
PTC License Server............................................................................................62
Benefits of Using FlexNet Publisher .....................................................................62
Downward License Compatibility Using FlexNet Publisher .....................................63
Running FlexNet Publisher with Other Applications ...............................................63
Understanding Timeout Parameters .....................................................................64
Appendix B.lmadmin License Server Manager.............................................................67
Overview of lmadmin as a GUI-Client ...................................................................68
Differences between lmgrd and lmadmin ..............................................................68
Installing PTC License Server Based on lmadmin..................................................68
Working with the FLEXnet License Administrator Web Interface .............................69
Appendix C.Troubleshooting Tips for Licensing and Creo View Runtime........................71
Troubleshooting List............................................................................................72
General Debugging Hints ....................................................................................73
Setting Variables and Installing Tools for Troubleshooting ......................................73
Online Information ..............................................................................................74
Appendix D.Managing Preferences ............................................................................75
Overview of Creo View Preferences .....................................................................76
Setting Preferences ............................................................................................78
Disabling Commands..........................................................................................80
Uploading Server Preferences to Windchill ...........................................................81
Loading Preferences from a Shared Location........................................................81
Appendix E.Customizing the Ribbon ...........................................................................85
Overview of Ribbon Customizing .........................................................................86
Setting Preferences ............................................................................................86
Customizing and Saving the Ribbon Locally..........................................................86
Uploading the Customized Files to Windchill.........................................................87
Customized Ribbon Preferences..........................................................................87
Appendix F.Creating Annotation Templates .................................................................89
Appendix G.Customizing Lighting Setups....................................................................93
About Customizing Lighting Setups......................................................................94
About the Light Scenes XML Document ...............................................................94
<lightscenes> Element........................................................................................96
Light Scenes XML Document Examples ............................................................. 104
Appendix H.Lighting Setups XML Document Schema ................................................ 107
About the XML Schema .................................................................................... 108
Contents 7
About This Guide
9
How to Use This Guide
This guide supplements the descriptions in the installer and provides installation
prerequisites, instructions, and reference information. To generate or update
licenses and then install or reconfigure Creo View, see the following chapters:
Chapter Role Information
Overview All users Describes the materials in your
software shipment and lists the
prerequisites for installation.
Quick-Start Installation Existing users Describes a quick-start
approach for users who have
previously installed license
management and product
software.
Obtaining and System administrators Describes how to generate or
Configuring Licenses This chapter does not update licenses for Creo View
apply to users of Creo and how to install PTC License
View Lite and Creo Server.
View Express.
Installing Creo View All users Describes a simple installation
process for Creo View.
Starting Creo View and All users Describes the steps to start Creo
Modifying an View and the procedure to
Installation uninstall the software.
10
Related Documentation
The following documents on the Reference Documents page may be helpful as
you proceed with the installation:
• FlexNet Publisher License Administration Guide that discusses the third-party
license management software for distributing Creo licenses
• Standalone PTC License Server that discusses the installation of the lmadmin-
based PTC License Server
For information about installing the Creo View MCAD and ECAD Adapters, see
the following documents on the Reference Documents page:
• Creo View MCAD Adapters Installation and Configuration Guide
• Creo View ECAD Adapters Installation, Configuration, and Publishing Guide
11
Technical Support
Contact PTC Technical Support via the PTC website, phone, fax, or e-mail if you
encounter problems using your software. You can log a new case or track an
existing case or SPR (Software Performance Report) using the PTC webpage at
www.ptc.com/support/index.htm.
You must have a Service Contract Number (SCN) before you can receive
technical support. If you do not have a SCN, contact PTC License Management
using the instructions in the Customer Service Guide. This guide is on the PTC
webpage at www.ptc.com/support/index.htm.
12
Documentation for PTC Products
PTC provides documentation for download at PTC.com. The following forms of
documentation are available:
• Context-sensitive Help with a search facility and quick links to helpful
information.
• Installing Creo 3.0: Creo View and other books as PDF files. To view and
print the books, you must have Adobe Acrobat Reader installed.
Feedback to Documentation
PTC welcomes your suggestions and comments on its documentation—send
feedback to the following address:
mcad-documentation@ptc.com
Please include the name of the application and its release with your comments.
For online books, provide the book title.
Additionally, you can report any documentation issues using the online Case
Logger tool. On the second Case Logger page, select a product and then select
Help Center / Documentation from the Technical Area list. Upon submission of all
information, a case number is returned immediately.
Documentation Conventions
PTC documentation uses the following conventions:
Convention Item Example
Bold Menu paths, dialog box options, Click File ▶ New.
buttons, and other selectable Click OK.
elements from the user interface
Courier User input, system messages, Processing
directories, and file names completed.
Courier with less- Variables for which an output=
than and greater- appropriate value is substituted <LOADPOINT>
than
symbols (< >)
13
Note
Examples of command-line arguments may contain hidden line breaks to fit
on the page.
14
1
Overview
What You Receive .....................................................................................................16
Editions of Creo View.................................................................................................16
Before You Begin ......................................................................................................17
System Prerequisites.................................................................................................18
PTC Customer Agreement .........................................................................................21
This chapter describes the materials in your software shipment. It describes the
various editions of Creo View, and it outlines the prerequisites for installing and
running the software.
15
What You Receive
PTC (Parametric Technology Corporation) sends the following materials related to
your software order:
• Software Order Confirmation e–mail—Before the receipt of your PTC
software, you will receive an e-mail containing all the details of your order.
• Software DVD—Your order contains one or more DVDs for each product
purchased. These programs are included on the Creo View DVD:
○ Creo View client
○ Creo View ECAD Validate
○ Watermark Editor
Note
The following table indicates the memory limitations of Creo View Lite.
Release Creo View Lite
Creo View 1.0 2.0 Gb
Creo View 2.0 or later 3.5 Gb
Overview 17
○ The Creo View Clients & Toolkits Software Matrix. The matrix is available
on the Reference Documents site.
○ The System Prerequisites.
You must install PTC License Server Manager before installing Creo View except
in these cases:
• You have purchased node-locked licenses.
• You are a user of Creo View Lite or Creo View Express.
See Installing the PTC License Server.
System Prerequisites
This section describes the prerequisites for hardware, operating systems, graphics
cards, and software.
Graphics Requirements
You must have OpenGL library version 1.1 or later installed on your machine.
Make sure you have the latest drivers for your graphics hardware. You can
download the latest drivers from the manufacturer’s website. The graphics
requirements depend on the size and complexity of your data sets. If you plan to
view and manipulate large or complex CAD files, check PTC’s list of supported
hardware for a list of appropriate graphics cards:
Platform Support
Applying special configurations to your graphics card is not recommended.
Overview 19
Platform-specific Requirements
Creo View supports Windows, Linux x64, and Solaris x64. For Windows, you
must have administrative privileges to install Creo View. These are the
prerequisites for all Redhat Linux releases:
• OpenMotif runtime libraries (“openmotif” package) must be installed on the
system using your operating system’s package manager. For example, yum.
• You must have the latest proprietary graphics drivers from your graphics card
vendor. Your operating system’s graphics drivers are not sufficient.
For Redhat Linux 6.0 and later, you must also meet these prerequisites:
• 75–dpi fonts (“xorg-x11-fonts-75dpi” package and “xorg-x11-fonts-ISO8859-
1-75dpi” package")
• 2.96-Redhat compatibility standard C++ libraries (“compat-libstdc++-296”
package, “libstdc++” package, and “libstdc++.i686” package)
For more details on platform support, see the READ THIS FIRST document.
Overview 21
2
Quick-Start Installation
Updating PTC License Server ....................................................................................24
Performing a Quick-Start Installation...........................................................................24
Where Your Software Is Installed ................................................................................24
23
Updating PTC License Server
You must have PTC License server installed before you install Creo View. If you
are updating your software to a later release, you must update your PTC licenses.
See Updating the License Server for details. You need not install PTC License
server if you purchased uncounted node-locked licenses, or if you are installing
Creo View Lite or Creo View Express.
25
Using the License Server Manager
The license server manager handles the initial contact with your PTC software that
uses FlexNet licensing. It passes the connection to the appropriate vendor daemon.
A license server manager serves the following purposes:
• Starts and maintains vendor daemons for serving license rights from different
software.
• Transfers specific software requests to the correct vendor daemon.
There are two versions of the license server manager for license administration:
• lmadmin—Uses a graphical user interface (GUI)
• lmgrd—Uses a command-line interface
PTC currently ships with its products a license server manager based on
lmadmin with the ptc_d vendor daemon at version 11.10. It is a replacement to
the lmgrd−based license server manager shipped with the earlier releases of PTC
products. If you are using an lmgrd−based license server manager with ptc_d
vendor daemon of version 10.8.x.x, you need not migrate to lmadmin.
Obtaining a License
You must generate or update existing licenses to use the latest software for Creo
View. Licenses determine the edition and optional modules that you are
authorized to run on your computer. You can get a license for Creo View MCAD
or Creo View ECAD in two ways:
• New customers—Use the PIM installer (PTC Install Manager). See the next
section.
• Existing customers—Use existing tools (required). Skip to the section Existing
Customer Licensing.
Creo View uses a PTC License Server powered by FLEXnet Publisher 11.10.x or
later from Flexera Software Inc. If you are already running that license server for
another Creo application, you need only update your license file to support the
latest version of Creo View. If you are a new user, or if your license server is
outdated, you must install the PTC License Server when using floating licenses.
Note
You must run the installer on the machine to be licensed. This is true for
both a floating license for a license server or a node-locked license for a
single client machine.
2. Type your user account name (usually your e-mail address), and then type
your SON (Sales Order Number). Your license file is downloaded. For floating
licenses, PTC License Server is also installed.
3. Click Next. The License Agreement appears.
4. Accept the agreement and click Next. A message appears.
5. Verify the network card for your license file configuration, and then click
Next. This step determines automatically the Host ID of the license. A
message appears.
6. Supply your license file. The installer downloads the licenses and installs the
License Server if applicable.
Node-locked licenses are saved locally in a path noted on the screen. A copy of
the license type will be e-mailed to the address on file for the account used in step
2.
This chapter describes the steps for downloading the DVD image of Creo View
from PTC.com.
31
Downloading Creo View from PTC.com
Follow the next procedure to download Creo View.
1. Visit the Order or Download Software Updates page:
http://www.ptc.com/appserver/cs/software_update/swupdate.jsp
You may have to type your user name and password and click Log In.
2. Click Order or Download Software Updates. The Authorized Use Only page
opens.
3. Under Customer Search, type your Customer Number or Customer Name and
click Next. The PTC Software Download page opens to Step 1: Select the
Product Family.
4. Select CREO VIEW & PRODUCTVIEW. The PTC Software Download page opens
to Step 2: Choose Release & Download.
5. Find the release to download and click to expand it.
6. Click next to Creo View Clients.
7. To download the most recent datecode of the release, click to expand Most
Recent Datecode, and then next to Download now, click HTTP. The download
begins.
8. To download another datecode, follow these steps:
a. Click to expand Show all Other Available Datecodes.
b. Click next to the datecode to download.
c. Next to Download now, click HTTP. The download begins.
You have now downloaded Creo View. See Performing an Installation from the
DVD for the next steps.
This chapter describes the process for installing Creo View using the installer on a
single machine. Administrators who want to deploy Creo View on multiple
machines should skip to the next chapter, Deploying Creo View and Customizing
the Installation.
33
Downward Compatibility
Creo View is downward compatible. For example, you can retrieve Creo View
files (structures, viewables) created in a previous release of Creo View using the
current version of Creo View.
Note
To keep file permissions stored in the ZIP file, you must extract the
archive from a UNIX machine.
This chapter explains how to start Creo View and configure the startup. Proceed to
the end of the chapter for the procedure to uninstall Creo View.
41
Starting Creo View
After your license management and product software have been installed, start
Creo View. You can run the application using the Start menu. Click Programs ▶
PTC Creo ▶ PTC Creo View <release_number>. The first time you start the
software, the PTC Creo View Startup dialog box opens. Instructions follow for
setting the edition and license options. To set a language for the Creo View user
interface, see Setting the Language below.
Modifying an Installation
If you installed Creo View from the DVD, all languages and features are already
installed. If you installed the software from the downloaded CreoView_
32.exe or CreoView_64.exe installers, it is good practice to use the installer
to modify your installation as follows:
1. Start the installer. The Creo View 3.0 Setup dialog box opens to the welcome
page.
2. Click Next. The Change, repair, or remove installation page opens.
3. Click Change. The Product Features page opens.
4. Add or remove features. See Performing an Advanced Installation for more
information.
5. Click Change. The installation is changed.
Note
You must separately remove the helper applications using the previous
procedure.
This chapter is for system administrators and applies to Windows only. It provides
information on deployment, including example procedures for customizing the
automated installation of the program.
45
Deploying Creo View Using a Silent
Installation
Perform a silent installation in either of these ways:
• Deploy the program from the downloaded CreoView_32.exe or
CreoView_64.exe—See Deploying Creo View from a Downloaded
Executable File for an example.
• Extract the executable file and directly call msiexec.exe on some or all of
the required installers—See Customizing the Installer for examples.
In the command shell, you can enter msiexec /? to read an explanation of all
the generic MSI options. Some common examples of options for a silent
installation follow:
• /qn—Installs the software with no installer user interface.
• /qb—Provides a progress bar with a Cancel button.
• /qb!—Provides only a progress bar. A user cannot stop the installation.
Note
You need to enable the Adobe PDF
Reader ActiveX Control Add-on
from the Windchill Server to view
Creo View viewables in standalone
or regular mode.
pvocxsys System-wide ActiveX component. This
is required for standard users.
plugin_acrobat Adobe Acrobat add-in program for
marking up PDF files.
doc CHM Help file. This feature is
required.
Language Features
In this case, you may want to customize the installer in these ways:
• Bundle the JT Import Filter with the Creo View installation
• Remove Microsoft Visual Studio C++ 2010 Runtime Redistributable because
you have already deployed it. We will still deploy 2012 Runtime.
Modifying CreoSetup.ini
You have added an installer file to bundle the JT Import Filter with the Creo View
installation. You must now modify CreoSetup.ini to make these changes to
the default installation directives. You can delete unnecessary lines and sections
from the file, or you can modify them. In this example, they are modified.
• Add new directives to run the JT installer
• Remove or disable the vcredist_x##_VS2010.exe directives.
Modify them to call the JT installer instead of the Creo View ECAD Adapters
installer:
JTIMPORT_X86=YES
JTIMPORT_X64=YES
4. At the end of the file, find the sections for the Creo View ECAD Adapters,
such as the example below:
[ECADADAPTERS_X86]
PROGRAM=CreoView_ECAD_Adapters_32.exe
COMMANDLINE=/f /vADDLOCAL="ALL" REBOOT="ReallySuppress" /l*v
TempFolder]pvinstecadadapters.log" /qb!
LOCATION=..\ecad_adapters
; PRODUCTCODE=
PLATFORM=X86
Caution
Do not modify the registry. Doing so can severely damage your computer.
Note
Make sure there is no space between /v and the next character in the
command.
Creo View and the JT Import Filter are installed with a progress bar, but no Cancel
button. For more information on common examples of options for a silent
installation, see Deploying Creo View Using a Silent Installation.
Obtaining ProductCodes
To query the MSI inventory and retrieve the ProductCodes, you can use any of
these methods:
This chapter explains how to update your copy of Creo View. Each time you
update your software to a new release, you must update your license file. New
license codes are not required if you are updating to a maintenance release of Creo
View within the same release. In some cases you may have to update the current
installation of PTC License Server. See the next sections for details.
55
Updating the License Server
You can update the current installation of PTC License Server with your new
license information when updating your PTC software. An installation update of
PTC License Server is typically required in one of these scenarios:
• Adding license information from your new Sales Order
• Updating the existing license features in your license file with those of a
maintenance release
You may have to update the license server software itself depending on the
version installed. In such cases, you must uninstall PTC License Server using
administrative privileges and then follow the installation instructions in the
Standalone PTC License Server guide on the Reference Documents page.
Update your licenses using this workflow:
1. Make note of the product code that you have received via e-mail.
Alternatively, use the PTC License Management Web tools to request for a
license file via e-mail. Save the license file in an ASCII format to a secure
location on your disk.
2. Navigate to the \bin subfolder of your license server installation. The default
path follows:
C:\Program Files\FLEXnet Admin License Server\bin
3. Right-click ptcsetup.bat and choose Run as Administrator from the
shortcut menu. The PTC Setup — PTC License Server dialog box opens.
4. Click . The Open dialog box opens.
5. Browse to your license file, and then click Open. The path appears under
License File.
6. Click Configure. The Installation Progress page opens with a progress bar.
7. A warning opens. Click OK.
8. To check the status of your updated license, follow these steps:
a. Click Program Files ▶ PTC ▶ PTC FLEXnet Admin License Server. The
FLEXnet License Administrator webpage opens.
b. Near the top of the page, click Administration. The Administration tab
opens.
c. On the left, click Vendor Daemon Configuration. The Vendor Daemon
Configuration tab opens with your license.
d. Under the Status column, verify that the status is RUNNING.
PTC License Server restarts. For Triad configurations, two of the three partner
machines must be running before licenses can be distributed.
Updating an Installation 57
9
Hierarchical Visual Navigation
You can rapidly load the approximate 3D model graphics for very large Creo
View structures by loading 3D thumbnail image (PVT) files of the structures that
were previously created. Once the thumbnail is loaded you can switch to the full
3D model view (OL file). You can also revert from the full 3D model view back to
the 3D thumbnail image.
This functionality is available only under the following conditions:
• 3D thumbnail images have been generated for sub-level assemblies. This
requires configuration of the CAD worker or the server-side Thumbnail
Generator to create them. See Enabling Hierarchical Visual Navigation in the
Creo View MCAD Adapters 3.0 Installation and Configuration Guide.
• Creo View options are configured to download and view thumbnails. See
About Thumbnails in the Creo View 3.0 Help .
Note
For more information read the Technical Support Knowledge Base Article
CS25318, which covers the complete configuration across all products.
59
A
License Management Software
This appendix discusses license management software and describes the benefits
of PTC License Server. License simplification is explained for new and existing
users.
61
Overview of PTC Licensing
PTC software including PTC optional applications must be licensed for use.
Licensing authorizes the installed software to run. Creo View licenses are not
time-sensitive.
License Types
Depending on the PTC product, a license can be one of the following types.
• Node-locked licenses—Restricts the use of the software to a particular
machine (independent workstation).
• Floating licenses—Served by the license server and can be used on any
machine connected over the network. There are two different types of floating
licenses:
○ Single server licenses—Configured for a single machine as the server.
○ Triad licenses—Configured for a set of three machines on the same
network that work together to manage a pool of floating licenses. This
configuration provides redundant backup in case of a server outage. An
identical license file is used for each Triad partner.
• Extended license—An extended license makes floating licenses available for
locked modules.
• Borrowed license—A borrowed license allows you to work temporarily on
your machine without being connected to the license server. Refer to
Borrowing and Returning Licenses for details.
For more information on the additional license types that are supported for your
product, refer to the product documentation.
PTC License Server
Flexera Software, Inc.’s FlexNet Publisher license management software is
integrated with PTC software. For more information, visit www.flexerasoftware.
com.
Benefits of Using FlexNet Publisher
Using FlexNet Publisher to control usage of licenses offers the following key
advantages:
• Single-Server Solution—FlexNet Publisher can manage PTC software and
other vendor applications without conflict. Note that the PTC license file
cannot be combined with the license files of other vendors.
• Immediate License Recovery—If there is a premature exit of the licensed
software (for example, the system shuts down), the FlexNet Publisher license
server automatically reclaims the PTC license.
Note
To run the current release of Creo View, you must install FlexNet Publisher
version 10.8.x or later.
67
Overview of lmadmin as a GUI-Client
The lmadmin license server manager supports a Graphical User Interface (GUI)
client with connection over HTTP. It provides a Web-based administrative
interface. It is compatible with license files and vendor daemons created with
FlexNet Publisher 9.2 and later. Use lmadmin for the following functions:
• Perform server configurations and administration functions
• Start the license server manager without any configuration options
• Directly configure vendor daemon and the license server manager without
editing the license files
• Import existing license files
• Support multiple vendor daemons with a single lmadmin process
• Display license rights status
• Display alerts and monitor status of various processes, such as license
expiration or unavailable licenses
See the chapter lmadmin − GUI−based License Server Manager in the FlexNet
Publisher License Administration Guide for more information.
Differences between lmgrd and lmadmin
The lmadmin license server manager includes all the features of the lmgrd
license server manager. The differences between the two license server managers
follow:
lmgrd lmadmin
Uses a command-line Supports a GUI client with connection over
interface. HTTP.
Configuration settings are Configuration settings are session-based.
retained for all the sessions.
See the chapter Migrating from lmgrd to lmadmin in the FlexNet Publisher
License Administration Guide for more information.
Installing PTC License Server Based on
lmadmin
Follow the instructions given in the section Installing the PTC License Server to
install PTC License Server based on lmadmin. After you install the license server,
you can configure the license server administration settings using the FLEXnet
License Administrator Web interface.
This appendix documents common problems that occur when you install Creo
View and PTC License Server. This appendix also provides general debugging
techniques and cites other sources of information available from the PTC website.
71
Troubleshooting List
Skim through the following list of problems to find any that appear to be the same
as the one you are experiencing. The information is presented in the following
format.
Symptom: Describes the problem.
Cause: Lists the cause of the problem.
Solution: Provides steps to resolve the problem.
Invalid Licenses
Symptom: You receive the error message Invalid license.
Cause: Licensing information is inaccurate.
Solution: Return to the FLEXnet license editor and verify that the information
entered is exactly as it appears in your License Pack. If no licenses are listed,
return to the FLEXnet license editor and ensure no text is highlighted.
If all licenses are listed as invalid, verify that the PTC Host_ID in the
License Pack corresponds with what you see in the FLEXnet license editor. For
example, one server line and one daemon line represent a single server. Three
server lines and one daemon line represent a fault-tolerant or Triad configuration.
Remove all the lines that do not pertain to the PTC HOST_ID.
Your incremental lines must have no blank lines. Verify that all continuation
characters (\) are at the end of each line, except for the last line. If some licenses
are valid while others are invalid, find the invalid feature name lines in the
License File window and correct the text.
If you received your license codes via e-mail, remove any extraneous text such as
the header and footer. Another option is to delete the invalid license in the
FLEXnet license editor window.
Online Information
See www.ptc.com/support/index.htm for a wealth of how-to information for new
and experienced users, including order and license support. The Customer Support
Guide provides online tools and other support services. You can search the
Knowledge Base of over 14,000 technical documents or download reference
documents, including the Read This First.
Customer Support Guide and Contact Support are available at the My eSupport
page. For information on FlexNet Publisher diagnostic environment variables,
consult the FlexNet Publisher License Administration Guide.
75
Overview of Creo View Preferences
This section contains an overview of the types of preferences you can set for Creo
View. It also provides information for locking preferences.
Types of Preferences
There are five types of preferences. Each type is read from an XML file:
Type File Name Location
Default ProductView_ Read from <Creo
prefs.xml View>\
preferences\
ProductView\
subdirectory of the
installation directory.
Note
A preference sample
file is located
in<Creo View>\
resources\
ProductView\
preferences\
ProductView_
pref.xml
Server server_prefs.xml Downloaded from a WVS
Configuration from the
Windchill server context
hierarchy. The server
preferences are only
active when you are
connected to Windchill.
Shared shared_pref.xml Downloaded from a
shared location, to
<Creo View>\
preferences\
ProductView\
shared_prefs
subdirectory of the
installation directory.
Once enabled, the shared
preference file is updated
automatically. The shared
The files are processed in the order listed above. You can override a value in a
preference file with a different value in a subsequent file:
• A user preference replaces the setting for a preference in the administrative
file.
• An administrative preference replaces the setting for a preference in the server
file. If a shared preference file exists and is active, the administrative
preference replaces the shared preference.
Note
The server preference file and the shared preference file cannot coexist.
Managing Preferences 77
<preference1 name="highlight_using_color" value="False"/>
</subcategory>
</category>
</preferences>
However, if the user explicitly enables the same preference in the user interface,
the setting is saved to the user_prefs.xml file. As a result, the administrator
preference is overridden and the color highlighting command is enabled. To
prevent a user from overriding the administrator preferences, lock the
administrator preferences. Continue to the next section, Locking Preferences, for
more information.
Locking Preferences
At any level, you can lock a preference. A locked preference cannot be modified
or overridden by a file on a lower level. Using the color highlighting example
from the previous section, you can add the attribute locked=”True” to prevent
the user from changing the preference:
<?xml version="1.0" encoding="utf-8"?>
<preferences>
<category name="General">
<subcategory name="Navigation" >
<preference1 name="highlight_using_color" value="False" locked="True"/>
</subcategory>
</category>
</preferences
The color highlighting command is now disabled and locked.
Setting Preferences
Set the user preferences using the Creo View Options dialog box in the Creo View
client, and then click OK. For more information, see the Creo View Help.
Set the administrator preferences, server preferences, or both by basing them on
one of these files:
• User preferences
• Default preferences
Instructions for both methods follow.
Note
Make sure the XML structure hierarchy is maintained.
Note
The locked attribute is not supported in the user_prefs.xml.
Managing Preferences 79
Disabling Commands
Each control in the user interface has a unique command. For example, the
command for the Print button is PrintCmd. You can use a preference file to
disable access from the user interface to one or more commands on buttons or
ribbons. You cannot disable commands on shortcut menus. Instructions for finding
and disabling a command follow.
Finding a Command
1. To find a command for a button, set the following environment variable:
set PVIEW_DISPLAY_COMMANDS=1
2. Open Creo View, and then place the pointer over the button. A tooltip appears
with the command. For example, PrintCmd.
<category name="General">
<subcategory name="UI_Config">
<preference name="disabled_commands" value="PrintCmd"/>
</subcategory>
</category>
</preferences>
3. To disable more than one command, list them, separated by commas, as the
value for disabled_commands.
4. Save admin_prefs.xml or server_prefs.xml and close the file.
The command is now disabled. When all of the preference files are read, the
values in each disabled_commands section are cumulatively disabled.
Some server preference options cannot be configured using the preference editor,
and they only apply when Creo View is embedded in a web page. This option
disables the automatic unlock of an annotation set when closed:
<?xml version="1.0" encoding="utf-8"?>
<preferences>
<category name="Annotations">
<preference name="disable_auto_lock" value="True"/>
</category>
</preferences>
Managing Preferences 81
To configure shared preferences for Cadence Allegro and APD follow the steps
below:
1. In the Creo View client, click File ▶ Options. The Creo View Options dialog
box opens.
2. Set one or more preferences and then click OK. The changes are saved to the
user_prefs.xml file.
3. Open the user_prefs.xml file in a text editor. Locate the entries for the
preferences you set in step 2 and copy them into a new file.
4. Save this file as admin_prefs.xml, server_prefs.xml, and
shared_prefs.xml.
Note
The Cadence Allegro extracta file (.acceptedAllegroExtracta),
must be kept in the same location as the admin_prefs.xml, server_
prefs.xml and shared_prefs.xml.
Note
The locked attribute is not supported in the user_prefs.xml.
Managing Preferences 83
1. Click Start, and in the search box, type environment and press ENTER. The
Environment Variables page opens.
2. Under User variables for <your user name>, click New. The New User Variable
dialog box opens.
3. Under Variable name, type PVIEW_SHARED_PREFERENCES.
4. Under Variable value, type the name of the shared preference file, for example
\\sharedhost\shared_prefs\shared_prefs.zip, and click OK.
5. In the Environment Variables dialog box, click OK to close the dialog box.
You have now set an environment variable to point to the shared preference file.
Continue to the next section, Loading the Shared Preference File
This appendix provides instructions to configure and customize the Creo View
ribbon commands.
85
Overview of Ribbon Customizing
This section contains an overview of customizing the availability of Creo View
ribbon commands.
Configure which Creo View user interface commands are available and save them
in the Creo UI Toolkit *.ui files.
Setting Preferences
The customized user interface definitions are saved in proprietary Creo UI Toolkit
files (*.ui) created in the %APPDATA%\PTC\ProductView folder. There are
two customization files: an optional administrator file and the user file. The
administrator file is loaded first. It defines the baseline for user customization.
Set the user preferences using the Customize Ribbon page. Access the dialog box
from the Creo View Options in the Creo View client. For more information, see
About Customizing the Ribbon in the Creo View Help.
Customizing and Saving the Ribbon
Locally
1. In Windchill, click Product ▶ Utilities ▶ Visualization Configuration
Administration and upload the uiconfig.xml file and the referenced image
files. (These can have PNG, BMP, JPG, or JPEG format extensions.)
2. Open a file in Creo View.
3. Use the Customize Ribbon page of the Creo View Options dialog box to make
changes to the ribbon.
4. Click Apply, and then click OK to add the newly created menu.
5. The new menu appears in the ribbon menu and the customized commands
appear in that menu.
6. Exit Creo View and navigate to the %APPDATA%\PTC\ProductView
folder. Note that the following files are present in that directory:
• user_prefs.xml
• user_cust_pvpro.ui
7. Rename the above two files as follows:
• server_prefs.xml
• server_cust_pvpro.ui
8. Edit server_prefs.xml and add the following preference:
<?xml version="1.0" encoding="utf-8"?>
<preferences>
<category name="GUI">
<category name="Customize">
<preference name="Location" value="server"/>
Note
If there are previously uploaded uiconfig.xml and referenced image
files, delete them before uploading.
AllowCustomize
This preference controls whether the user can customize his ribbon. It does not
stop any existing customization from being applied, but prevents changing the
customization.
Note
The Quick Access Toolbar is not disabled together with the Customize Ribbon
option.
RemoveInvisibleFromQAT
This preference controls visibility of the Quick Access Toolbar buttons that have
been removed from the ribbon. You can set this value to prevent buttons that are
not available in the ribbon due to customization from appearing in the Quick
Access Toolbar options page.
The value can be true or false. If true, buttons removed from the ribbon do
not appear in Quick Access Toolbar options page.
89
About the Annotation Template XML Document
The element <annotationtemplates> can contain a number of different
templates.
The file may also contain a name attribute. Use the name attribute to distinguish
templates from different files that have the same name.
The element <annotationtemplate> contains <template> tags. Each
<template> tag defines a single annotation template.
The <template> tag contains the following information:
• An attribute name which defines the annotation template name
• A list of <property> tags that define template properties in the template:
○ type—Defines the type of property, for example line style or
transparency.
○ value—Sets the value of the property
○ appliesto—Applies the template to certain annotation types
<type> Element
The <type> element defines type of property. Define the type of property by
setting the <values> for one or more of the following:
Property Type Values Description
text text Text content for a note
without attributes.
textexpanded true, false Expanded Text option
fontsize real value Font size in points
shape circle, square, Shape of the note.
rectangle,
hexagon,
triangleup,
triangledown,
roundedrectangle
color hexadecimal color
value
backgroundcolor hexadecimal color
value
linewidth any integer The line widths selectable
interactively corresponds
to 1, 3, 5
linestyle solid, dotdash, One of the literal values
dotdotdash shown, corresponding to
<appliesto> Attribute
The attribute <appliesto> defines which types of annotation the property
should be applied to. For example, use this attribute to define a different color for
a note and a leader line separately. The value of the <appliesto> attribute is a
comma-separated list of one or more of the following values:
• all
• note
• leaderline
• freehand
• rectangle
• ellipse
• polygon — Surface polygon in 3D and a 2D polygon
This appendix describes the structure, elements, and attributes of the Light Scenes
XML document. (For the XML document schema, see the separate appendix,
Lighting Setups XML Document Schema.)
93
About Customizing Lighting Setups
Lighting setups in the Creo View Lights list are encoded the Light Scenes XML
document. Creo View uses the Light Scenes XML document stored in this XML
text file:
%APPDATA%\ptc\ProductView\LightScenes.xml.
You can edit this file to change or delete lighting setups in the Lighting Setup list.
(To open the list in Creo View, click the ribbon Figure tab, and then click the
Lighting Setup box in the Lights group.) Lighting setups include properties for
light type, color, and direction. To update the Lighting Setup list after you edit the
XML file, place a copy of the updated file in
%APPDATA%\ptc\ProductView\LightScenes.xml
and then restart Creo View.
About the Light Scenes XML Document
The main elements in the Light Scenes XML document are summarized below.
All elements and attributes in the XML document are specified separately in the
topics that follow.
<lightscenes> Syntax
<lightscenes>
<lightscene />
<lightscene />
…
<lightscene />
</lightscenes>
<lightscenes> Example
The <lightscenes> element below creates two lighting setups in the Lighting
Setup list:
<lightscene> Syntax
Example: Lighting setup with a predefined localized name:
<!-- Lighting setup with a predefined localized name -->
<lightscene>
<name locid="DEFlocName"/>
<light />
<light />
…
<light />
</lightscene>
Example: Lighting setup with a custom non-localized name:
<!-- Lighting setup with a custom non-localized name -->
<lightscene>
<name>Lighting Setup Name</name>
<light />
<light />
…
<light />
</lightscene>
<lightscene> Example
This example shows the predefined lighting setup, DEFTwoLights, encoded in
a <lightscene> element.
<lightscene>
<name locid="DEFTwoLights"/>
<light name="key" type="direct" relative="view">
<name> Element
The <name> element is a child of the <lightscene> element. It contains
either a locid attribute that defines a predefined localized name, or, it contains a
custom name. The <name> element has no child elements.
Note
The Creo View installation includes predefined and localized locid attribute
values for the <name /> child element. These locid values have the prefix
DEF and are reserved by Creo View. Do not edit locid values. Rather, if you
want to change the lighting setup name, replace the self-closing element with
an element of the same name that has a start and an end tag; for example,
<name>My Name</name>. The content of the <name> element, My Name,
overrides the locid value (if present).
<name> Syntax
<!-- Predefined localized name -->
<name locid="DEFlocName"/>
<name> Attributes
<light> Element
The <light> element is a child of the <lightscene> element. The
<light> element defines the type, color, and direction for one light in a lighting
setup.
<light> Syntax
<light name="Light Name" type="[direct|spot|point]" relative="[view|scene]">
<color />
<position />
<direction />
<angle>
<exponent>
</light>
<light> Attributes
Note
For orthographic projections, if you set the <light>
attribute type="spot" or type="point", you
should only set the attribute relative="scene".
Setting relative="view" can produce unpredictable
results.
<color /> Specifies the color intensity of the ambient, diffuse, and
specular light settings. (See <color> Element .)
<position /> For spot and point lights only—Specifies the XYZ
coordinates for the location of the point or spot light source,
assuming it not infinitely far from the scene. (See <position>
Element .)
<direction /> For direct and spot lights only—Specifies the XYZ
vector for the direction of the direct or spot light source. (See
<direction> Element .)
<angle> For spot lights only—Specifies the cutoff angle for the spot
light source. (See <angle> Element .)
<exponent> For spot lights only—Specifies the exponent for the spot
light source. (See <exponent> Element .)
<light> Example
This example shows the light element for a spot light source that has a position in
the scene.
<light name="back" type="spot" relative="scene">
<color ambient="#0A0A0A" diffuse="#FFB669" specular="#E0E0E0"/>
<position x="71.00" y="66.00" z="24.00"/>
<direction x="-60.00" y="60.00" z="-20.00"/>
<angle>10.00</angle>
<exponent>128</exponent>
</light>
<color> Element
The <color> element is a child element of <light> that specifies the intensity
of the ambient, diffuse, and specular settings for the RGB hexadecimal color
codes. (The <color> element is self-closing. It has no content or child
elements.)
<color> Syntax
<color ambient="#hexColor" diffuse="#hexColor" specular="#hexColor" />
<color> Example
<color ambient="#333333" diffuse="#CCCCCC" specular="#CCCCCC"/>
<position> Element
The <position> element is a child element of <light> for spot and point
lights only. It specifies the XYZ coordinates for the location of the point or spot
light source that is not infinitely far from the scene. If the <position> element
is omitted, the point or spot light source is considered infinitely far away; i.e., rays
of light from the source are considered parallel.
The <position> element is self-closing. It has no content or child elements.
<position> Syntax
<position x="xValue" y="yValue" z="zValue" />
<position> Attributes
<position> Example
This example shows a <position> element for the XYZ location (-150, 150,
600).
<position x="-150.00" y="150.00" z="600.00" />
<direction> Syntax
<direction x="xValue" y="yValue" z="zValue" />
<direction> Attributes
xyz (Float) Specifies the ±(X, Y, or Z) coordinate for the
direction vector along the axis of the direct or spot light.
<direction> Example
This example shows a <direction> element with the XYZ vector coordinates
(-60, 60, -20).
<direction x="-60.00" y="60.00" z="-20.00"/>
<angle> Element
The <angle> element is a child element of <light> for spot lights only. It
specifies the cutoff angle in positive degrees from 0.00 to 180.00 as Float. The
cutoff angle is the angle between the axis of the light cone and a ray along the
edge of the cone.
<angle> Syntax
<angle>degValue</angle>
<angle> Example
This example shows an <angle> element with a cutoff angle of 10 degrees.
<angle>10.00</angle>
<exponent> Element
The <exponent> element is a child element of <light> for spot lights only.
It specifies the exponent for the spot light source as a positive whole number from
0 (default) to 128 as Integer. Increase the exponent value to increase the focus or
to concentrate the spot light source.
<exponent> Syntax
<exponent>expValue</exponent>
This appendix lists the XML schema for the lighting setups XML document used
in Creo View.
107
About the XML Schema
The XML schema listed below defines the following characteristics of the Light
Scenes XML document:
• Elements and attributes that can appear in the document, along with their data
types and values
• Which elements are child elements, and the order and number of child
elements
• Whether an element is empty or can include text
Any custom Light Scenes XML files that you intend to use with Creo View must
follow this schema.
Note
For more information on the Light Scenes XML Document, see Customizing
Lighting Setups.
111
Hardware Prerequisites
For a personal computer:
• NVIDIA 3D display card with 3D vision compatible display
• Compatible shutter glasses
For a television set:
• NVIDIA 3D display card with a 3D television set
• Compatible polarizing glasses
Note
For some 3D displays, you might need to use a specific resolution. For
example, if you are using a 3D television set, you must set its resolution to
1080p, 1920*1080.
113
About Customized Commands
You can create customized commands in Creo View. From the Creo View
Options, under Customize, select the Custom Commands and click Add to add a
new command or Edit to edit an existing command.
You can later add these commands to the Ribbon or to the Quick Access Toolbar.
Adding the command to the right-click menu is done via the command definition
as described below.
Using customized commands, you can define one of the following three
behaviors:
• Save the current view to an annotation set (defined by XML attributes).
• Copy the image in the view by adding it to the clipboard (defined by XML
attributes).
• Open a URL in a web browser and define substitutions for properties (defined
by XML content).
<menu>
(Mixed) Mandatory menu setup element. This is the root
element. (See The <menu> Element Attributes on page 116.)
<command_
Mandatory command name element. Specifies the unique
name> name of this customized command. You can use this
identifier as a reference in the Ribbon or when you override
the command. In addition, this is the identifier you specify
when you define the position of another customized
command in the right-click menu.
Note
If annoSetNameSuffixUser is set to true then the
current date is appended after the user name.
copyViewToClip-
Copies the current view to the clipboard, if the value is set to
board true. If the view state is an annotation set, then the link and
image are both copied. If you paste the contents in Microsoft
Excel, Microsoft PowerPoint, or Microsoft Word and click
the image link, Creo View opens in the corresponding web
page and displays the annotation set as the first page.
Note
Creo View will only open if you are running with
Windchill.
Note
You can define several substitutions in a single URL. Define substitutions by
enclosing the property to be substituted with <! (less than) and !>
(greater than).