Admin Guide to ProductView dasd

  • Upload
    ronald

  • View
    228

  • Download
    0

Embed Size (px)

Citation preview

  • 8/19/2019 Admin Guide to ProductView dasd

    1/59

     An Administrators Guide toProductView Publishing

    David HaighJune 2011

    LLNL-PRES-484460This work performed under the auspices of the U.S. Department of Energy

    by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344

  • 8/19/2019 Admin Guide to ProductView dasd

    2/59

    2© 2010 PTC

     Agenda

    > Publishing Components

    > Hardware Options> Software Install

    > Worker Setup

    > Server Setup

    > Worker Agent Config> Trouble Shooting

    > Security Issues

    > Watermarks

    > Publish Scheduler Administrator> Client Install

    > ProductView Express

    > Compressed 3D Thumbnails

    > Post Publishing Rules

    Slides only, not

    covered in talk

  • 8/19/2019 Admin Guide to ProductView dasd

    3/59

    3© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move thefiles, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MS

    Office files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    4/59

    4© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MS

    Office files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    5/59

    5© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MS

    Office files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    6/59

    6© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MS

    Office files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    7/597© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MS

    Office files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    8/598© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MSOffice files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    9/599© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MSOffice files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    10/5910© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MSOffice files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    11/5911© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MSOffice files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    12/5912© 2010 PTC

    Publishing Components

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe DistillerServer is required tocreate pdf’s of MSOffice files

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    13/5913© 2010 PTC

    Publishing Components - Creo

    Worker Agent

    User Auth File

     Agent.ini

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderLiveCycle

     Adapters do the

    publishing using theauthoring softwareThey also contain therecipe files for thepublishing job

    ProE & MS Office

    GSWorker openscommunication portson the worker

    Share folder is where

    files to be publishedare dropped so theworker can processthem

    IIS and FTP areoptional

    Workers move the

    files, communicatewith the GSWorker,and attach theviewable to theobject.

     Auth file contains ausername &password

     Agent.ini openscommunication portson the server and

    starts the Worker Agents

     Adobe LiveCycle

    Server replaces

    Distiller

    32bit OS

    FTP ServerIIS

  • 8/19/2019 Admin Guide to ProductView dasd

    14/5914© 2010 PTC

    Monolithic Setup

    Worker Agent

    User Auth File

     Agent.ini

    Windchill Server

     Adapters

     AuthoringSoftware

    GSWorker

    Shared FolderDistiller32bit OS

  • 8/19/2019 Admin Guide to ProductView dasd

    15/5915© 2010 PTC

    Separate Worker Setup

    Worker Agent

    User Auth File

     Agent.ini

    Windchill Server

     Adapters

     AuthoringSoftware

    GSWorker

    Worker Machine

    Shared Folder

    Distiller32bit OS

    FTP Server

    IIS

  • 8/19/2019 Admin Guide to ProductView dasd

    16/5916© 2010 PTC

    Multiple Worker Setup

    Distiller

    Worker Agent

    User Auth File

     Agent.ini

    Windchill Server

     Adapters

    Pro/EngineerSoftware

    GSWorker

    ProE Worker Machine

    Shared Folder

     Adapters

    MS OfficeSoftware

    GSWorker

    Doc Worker Machine

    Shared Folder

    32bit OS

  • 8/19/2019 Admin Guide to ProductView dasd

    17/5917© 2010 PTC

    Software Install Order

    > Set up the Worker machine first

    > Configure the PDMLink Server second

    > Finally setup the Worker Agent

  • 8/19/2019 Admin Guide to ProductView dasd

    18/5918© 2010 PTC

    Worker Software Install

    Distiller

     Adapters

    ProEngineerMS Office

    GSWorker

    Worker Machine

    Shared Folder

    32bit OS

    > Install the Required Authoring Applications –  ProE

     –  MS Office

     –  Adobe Distiller

    > Setup the shared folder –  Used for file transfers – Write permissions for everyone

    > Optionally setup IIS and a FTP server –  Setup a ftp virtual folder – Name & path of folder is

    unimportant

    > Install the Adaptor Software

     –  Select all the ProE options –  Select the Documents Adapter

     –  Select the Thumbnail Generator

     –  Configure as a Windows Service

     –  Install from a local drive, no spaces in installer path

     –  No spaces in the setup directory path, no networked drive

  • 8/19/2019 Admin Guide to ProductView dasd

    19/5919© 2010 PTC

    Worker Software Install

    For SSL this has to be an actual user

  • 8/19/2019 Admin Guide to ProductView dasd

    20/5920© 2010 PTC

    ProE Worker Setup

    > Configure the ProE to PV Adapter –  Run Proe2pv_config.exe – In \bin

     –  Make sure:

    Client/Server Version matches

    ProE Command matches

    ProE version matches

    ProE Date-Code matches

    Server Host name matches, not fully qualified

    Leave the port number at default

     –  Pick Setup – This creates the proe_setup dirand startup scripts

     –  Don’t pick Test Server at this time, it will fail.Leave that for trouble shooting

  • 8/19/2019 Admin Guide to ProductView dasd

    21/5921© 2010 PTC

    ProE Worker Configuration

    > Configure ProE –  The config.pro has to go into the proe_setup folder

     –  Assign the pen file location in this config

     –  Turn off Datums, Points, Coord Sys, etc.

    > Configure the Recipe File –  Use proe2pv.rcp in the proe_setup folder –  Need to decide on hpgl or pdf as the output format.

    > HPGL2 vs. PDF –  HPGL:

     –  Requires ProductView, Allows Markup and Overlaycompare with ProductView

     –  PDF:

     –  Common Format, Markup and Overlay compare onlyavailable with full version of Acrobat

    .

  • 8/19/2019 Admin Guide to ProductView dasd

    22/5922© 2010 PTC

    ProE Worker Recipe Configuration

    Some downstream applicationsmay not know how to deal withcompressed hpgl files

    Make sure this matches yourProductView version

  • 8/19/2019 Admin Guide to ProductView dasd

    23/5923© 2010 PTC

    ProE Worker Recipe Configuration

    > Configure HPGL2 Recipe –  ProE Plotter should be an hpgl2 unit

     –  32bit machines should use Minimum Memory

     –  HPGL

    .

  • 8/19/2019 Admin Guide to ProductView dasd

    24/5924© 2010 PTC

    ProE Worker Recipe Configuration

    > Configure PDF Recipe –  Change the Drawing Output to PDF

    .

  • 8/19/2019 Admin Guide to ProductView dasd

    25/59

    25© 2010 PTC

    ProE Worker Recipe Configuration

    > Configure PDF Output Setup –  Select Use pentable to control line

    weights

     –  The other settings are as I like

    You may want somethingdifferent

    .

  • 8/19/2019 Admin Guide to ProductView dasd

    26/59

    26© 2010 PTC

    Document Worker Setup

    > Configure the Doc to PV Adapter –  Doc2pv_config.exe – in the loadpointbin dir

     –  Make sure:

    Client/Server Version matches

    Server Host name matches and is

    not fully qualifiedLeave the port number at default

     –  Pick Setup, this creates the doc_setupfolder and startup scripts

     –  I didn’t modify the recipe file for the doc

    worker

  • 8/19/2019 Admin Guide to ProductView dasd

    27/59

    27© 2010 PTC

    Server Setup

    > Install: –  ProductView Client – allows users to download the software from PDMLink –  Thumbnail Generator and Viewable Compression Utilities – even if using separate workers

    > Setup a user that has read access to everything –  Some people use the “root” user, wcadmin

    > Configure wvs.properties settings

     –  Set publish.cadconvert.PROE to be:com.ptc.wvs.server.publish.CadConvertPROE,useworkerdownload=$(wt.home)$(wvs.dir.sep)auth.properties

     –  auth.properties was fileadaptorauth.properties –This is the filename the system looks for

    Using the old name in this property can cause some confusion when dealing with PTC’shelp line.

  • 8/19/2019 Admin Guide to ProductView dasd

    28/59

    28© 2010 PTC

    Server Setup

    > Auth.Properties File  –  The syntax is:auth=:

    For example, auth=publish:productview

    > Additional Properties 

     –  Force Republishing on life cycle state changes – use if release state is on drawingpublish.republishonepmdocumentchange = true

     –  Remove completed jobs

    wvs property

    deleteCompleted.enableOnContainers = truewt properties

    wt.queue.removeCompleted.PublisherQueue = true

    wt.queue.removeCompleted.PublisherQueue1 = true

    wt.queue.removeCompleted.PublisherQueue2 = true

    wt.queue.removeCompleted = true

    Don’t use @ in this password. Itget’s doubled when sent. Bestto avoid all special characters

  • 8/19/2019 Admin Guide to ProductView dasd

    29/59

    29© 2010 PTC

    Worker Agent Setup

    > Configure a new Worker Agent –  FromSite, Utilites, Worker Agent Administrator , pick Configure 

    > Add a worker

     –  Don’t fully qualify the host name of the worker. Let the system resolve it. –  Select the type of Worker, ProE or Office

  • 8/19/2019 Admin Guide to ProductView dasd

    30/59

    30© 2010 PTC

    Worker Agent Setup

    > Worker Location –  Use Winchill Server  for a monolithic install –  Use Different machine for separate workers

    > Path to startup command on worker –  Copy path from worker machine

     –  Select AutoStart & AutoErrorStop

     –  Enter times

  • 8/19/2019 Admin Guide to ProductView dasd

    31/59

    31© 2010 PTC

    Worker Agent Setup

    > Port Assignment –  Default is 601

    > Common File System Path –  Use FTP or UNC path

     –  FTP requires username & password

     –  FTP user real or anonymous

  • 8/19/2019 Admin Guide to ProductView dasd

    32/59

    32© 2010 PTC

    Worker Agent Setup

  • 8/19/2019 Admin Guide to ProductView dasd

    33/59

    33© 2010 PTC

    Worker Agent Setup

    > Save the File –  This writes the data to the agent.ini file

    > Reload the Worker Agent –  Pick Reload Worker Agent

     –  Then pick Return to Worker Agent Administrator

  • 8/19/2019 Admin Guide to ProductView dasd

    34/59

    34© 2010 PTC

    Worker Agent Setup

    > Try to start the worker –  Pick the Green Flag – Green means Start, Red means Stop –  May need to pick the left flag twice

    > Test a Manual Publish –  Pick on the Pyramid for a ProE object

     –  Pick on Publish Monitor

  • 8/19/2019 Admin Guide to ProductView dasd

    35/59

    35© 2010 PTC

    Trouble Shooting – Server Side

    > Checking Communication – netstat –a | find /i "listening” | more –  Look for port 5600

    TCP :5600 :0 LISTENING

     –  If you don’t see this line the agent.ini file is messed up

    > Fixing the agent.ini –  manually edit \codebase\agent.ini so it only has the following lines

    [agent]

    port=5600

    transferpath=$(wt.temp)\transfer

    numworkers=2 –  Stop & start the Windchill service

     –  Check the port again with netstat

     –  From worker, telnet 5600

     –  Reconfigure the worker

    Successful telnet sessionlooks like this

  • 8/19/2019 Admin Guide to ProductView dasd

    36/59

    36© 2010 PTC

    Trouble Shooting – Server Side

    > User password in auth.properties –  Make sure you don’t have an @ in the password –  Avoid all special characters

     –  Has the users password expired? If so, your workers are broke

    > Common File System is Writable

     –  test by typing \\\ in the folder browser –  e.g., \\myworker\viewable_files

     –  Try to create a folder or file on the remote file system

     –  Is the folder shared out? Are the permissions correct?

    > FTP site – virtual folder –  Go to Default FTP Site, and use RMB menu to pick New >Virtual Directory… –  http://msdn.microsoft.com/en-us/library/6ws081sa.aspx 

    > Monitor log files when Publishing –  \logs\cadagent Warning, files have name and password in clear text

    S S

    http://msdn.microsoft.com/en-us/library/6ws081sa.aspxhttp://msdn.microsoft.com/en-us/library/6ws081sa.aspx

  • 8/19/2019 Admin Guide to ProductView dasd

    37/59

    37© 2010 PTC

    Trouble Shooting – Worker Side

    > Checking Communication – netstat –a | find /i "listening” | more

     –  Look for port 601TCP :601 :0 LISTENING

     –  If you don’t see this GS Worker Daemon service may not be running

     –  Services should show:

    GS Worker Daemon Started  Automatic Local System Or a user name

     – Confirm communication with telnet from server machine

    telnet 601

    > Too many proe2pv error log files –  After error proe2pvo.999 is reached, ProE will not start on the worker

     –  Select “Stop All” in the CAD Agent Adminstrator

     –  Delete all "C:/WINDOWS/TEMP/proe2pvo.*“ log files on the worker –  SeeTAN 136481 

    > GSWorker issue – worker fails to start –  You may need to “Allow service to interact with desktop”

    T bl Sh ti W k Sid

    https://www.ptc.com/appserver/cs/view/solution.jsp?&n=136481https://www.ptc.com/appserver/cs/view/solution.jsp?&n=136481

  • 8/19/2019 Admin Guide to ProductView dasd

    38/59

    38© 2010 PTC

    Trouble Shooting – Worker Side

    > Monitor log files when starting Worker Agents

     –  Lots of useful information in these files\productview_adapters\proe_setup\

    monitor_*.log  Most errors reported here

    helper_*.log

    worker_*.log

    std.out

    trail.txt.*

    PV Install & Configuration Guide lists typical errors in the Troubleshooting guide 

    > Perform the Interactive and command line publishing test –  The ProductView Install and Configuration Guide has two test to perform

     –  Link to file 

    > Double check Setup & Recipe Configuration –  Double check paths

     –  Double check versions

     –  Is the server name fully qualified? If so, the workers will break if the domain changes

    Warning, the worker_*.loghas username and passwordin clear text 

    T bl Sh ti W k Sid SSL I

    http://interactive_command_line_test.pdf/http://interactive_command_line_test.pdf/

  • 8/19/2019 Admin Guide to ProductView dasd

    39/59

    39© 2010 PTC

    Trouble Shooting – Worker Side – SSL Issues

    > GSWorker Service –  The service on the worker has to run as a real user. It won’t work with Local System –  Publishing will break when the user password expires

    > Self Signed Certificates –  Make sure your certificate is stored in the Trusted Root Certification Authorities in I.E.

     –  Make sure ProE starts without any user interaction & can connect to the serverDouble click on proepublish.bat in the adaptors proe_setup folder to test

     –  Also set this config.pro option in the adaptors proe_setup\config.pro

    web_browser_homepage about:blank

     –  Did you change certificates? Your workers just broke!

     –  Check I.E. for old out-of-date trusted certificates

    > Still Having Problems? –  Contact PTC’s help line

     –  The good thing is, having worked through all these possibilities, you have eliminated alot of things they will have to look at. The bad new is… it’s not a simple problem.

    S it C

  • 8/19/2019 Admin Guide to ProductView dasd

    40/59

    40© 2010 PTC

    Security Concerns

    > Log files containing the password for the ProductView user

    On the PDMLink Server Machine: –  PROEqueue.log in logs\cadagent\PROEqueue

     –  StatusMessages.log in logs\cadagent\StatusMessages

     –  *.log in \logs\cadagent\-

     –  Agent.ini  in \codebase Contains the ftp username & password

    On the Worker Machine: 

     –  Worker_*.log in the proe_setup or doc_setup folder

    Bottom line – Search & replace for the username/password on all log files you send to PTC

    > Communication between the Worker Agent & Worker is not encrypted –  Run the worker on the server

     –  Put the worker and server on their own private network segment –  Create a VPN between the server and worker

    > Auth.Properties file has the username & password in clear text –  Limit access to your PDMLink server, however it’s still visable from the Worker Agent logs

    inside PDMLink assuming you have site access.

    W t k Edit

  • 8/19/2019 Admin Guide to ProductView dasd

    41/59

    41© 2010 PTC

    Watermark Editor

    > Watermark Editor –  Not included with ProductView – separate install

     –  Accommodate all parameters names for a field

    e.g.,

    Same information, different names

    ProductView displays what it finds

    Useful if you have files from others that

    have different parameters

    > Watermarks for object types –  Define watermarks for Models, Drawings, etc.

    Help on the Watermark Editor  From Help menu of the editor

    W t k P f P d tVi Cli t

    http://defining%20watermarks.pdf/http://defining%20watermarks.pdf/

  • 8/19/2019 Admin Guide to ProductView dasd

    42/59

    42© 2010 PTC

    Watermarks Preferences – ProductView Client

    > Add Watermark *.ini files –  Open ProductView Options, Select Watermarks

     –  Pick Add, select your .ini file and give it a name.

    > Add as many Watermarks as you require –  You can assign watermarks based on:

    the Lifecycle State

     A parameter

     –  This is a yes or no match, no “if” logic

    Released or not, or Proprietary or not, but not both

    W t k M i P d tVi Cli t

  • 8/19/2019 Admin Guide to ProductView dasd

    43/59

    43© 2010 PTC

    Watermarks Mapping – ProductView Client

    > Watermark Mapping – Lifecycle example –  Pick a watermark to be the default

     –  Checkmark Include when viewing, and/or printing –  Pick on Watermark Map…

     –  Because I set Work in Progress to be default

    we only need to map Released

     –  The Property Name is the Parameter Name

    It’s case sensitive

     –  The Attribute value is the Lifecycle state name

     –  You could also do the same thing with otherparameters, for example using a different

    watermark if an object is Proprietary

    Watermarks Preferences Prod ctVie Client

  • 8/19/2019 Admin Guide to ProductView dasd

    44/59

    44© 2010 PTC

    Watermarks Preferences – ProductView Client

    > Watermark Preference – Client Side –  The default location for the users ProductView preferences is:

    %APPDATA%/ptc/ProductView/user_prefs.xml –  This file includes the watermark maps

     –   If you want to make these an admin preferences you need to move them to

     –  \preferences\ProductView\ admin_prefs.xml

    > Watermark Preference definition – Server Side  –   If you want to make these an server side preferences you need to upload them to PDMLink –  See next slide

    > Locking specific Preferences  –   You can lock specific preferences in either the admin_prefs or server_prefs

     –  For example if you are using a different watermark for proprietary objects you may want todisable printing without the watermark

     –  Or you might want to disable printing altogether

     –  Refer to the readme in

    \preferences\ProductView\readme.txt 

    Server Side Watermarks

  • 8/19/2019 Admin Guide to ProductView dasd

    45/59

    45© 2010 PTC

    Server Side Watermarks

    > WVS Properties –  productview.configfromserver = true

    > Loading the watermark file –  At Site or Org pick Utilities, and Visulization Configuration Administrator

     –  Create a configuration, give it a name

  • 8/19/2019 Admin Guide to ProductView dasd

    46/59

    Server Side Watermarks

  • 8/19/2019 Admin Guide to ProductView dasd

    47/59

    47© 2010 PTC

    Server Side Watermarks

    > Exporting the watermark

     –  You can export the watermarks from your server by picking on this link. –  You can then import it into another system

    > Watermark level priority –  Watermarks can be defined at:

    SiteOrganization

    Product/Project

     –  Lower levels override higher levels

    If you have a very sensitive product you can assign a watermark just for it

    Additional ProductView Preferences

  • 8/19/2019 Admin Guide to ProductView dasd

    48/59

    48© 2010 PTC

     Additional ProductView Preferences

    > HPGL Viewing & printing

     –  With hpgl2 don’t assign a pen table – They have line weight defined –  Set background to White

     –  Set display to Monochrome

    > Mouse Button Behavior –  Best if you set it to be the same as ProE

    Publish Scheduler Administrator

  • 8/19/2019 Admin Guide to ProductView dasd

    49/59

    49© 2010 PTC

    Publish Scheduler Administrator

    > Never start scheduled publishing at the Site or Org context

     –  This will flood your queues with thousands of publishing jobs and bring your system to it’sknees!

     –  Always start them from the Product or Project context

    I’ve seen systems where people set up one Product and just created folders under it for

    all the different deliverables they design. That’s a bad idea from a publishing point of view

    You can only publish on a context level, not a folder level. If you try to schedule a job on

    a huge context, your going to run into the same problem as doing it at the Site or Org

    > Clearing Queues from Windchill Shell –  If you system is choked with jobs you will be force to clear them using the windchill shell

     –  If that doesn’t work PTC can give you a jsp to help you delete the jobs

    I’m not going to give you any commands here because Ibelieve you need to contact PTC to deal with this situation

     –  If you get into this situation, I strongly suggest you call PTC immediately because it will leadto a total denial of service for your users, and it will not take a long time

     –  Put your call in at the highest level, System Down. Because even if it’s functioning rightthen, it won’t be.

    ProductView Client Install

  • 8/19/2019 Admin Guide to ProductView dasd

    50/59

    50© 2010 PTC

    ProductView Client Install

    > User Initiated Install

     –  Pick Home, Utilties, and Software Downloads –  ProductView Installation

    > Push Install –  See TPI 14306 “How to perform a command-line silent installation of ProductView Lite and

    Professional 9.1 Clients.”

     –  Note that Lite and Professional are the same software, Pro just needs a license.

    ProductView Express

  • 8/19/2019 Admin Guide to ProductView dasd

    51/59

    51© 2010 PTC

    ProductView Express

    > ProductView Express & ProE

     –  This is how ProE shows you a preview of drawings and models in the embedded browser –  If ProE isn’t installed locally on each machine it may have problems finding PVX

    You may need to run the PVX installer on each client to get this working properly

    Or you could try adding the path to your ProE startup script

     –  The path is defined in the environment and should be set when the PVX installer is run

     –  \i486_nt\pvx\pvx.msi The installer

     –  Will typically create a path to:PVX_INSTALL_DIR C:\Program Files\ptc\ProductViewExpress\

    ProductView Compressed 3D Thumbnails

  • 8/19/2019 Admin Guide to ProductView dasd

    52/59

    52© 2010 PTC

    ProductView Compressed 3D Thumbnails

    > This is a manual task – Not a publishing process

     –  PTC had no documentation on how to do this…. So here’s the missing manual

    > What is a compressed 3D Thumbnail? –  Reduced detail when retrieved, full detail loaded when you double click on items

    Compressed 3D Thumbnail Some items full detail

    ProductView Compressed 3D Thumbnails

  • 8/19/2019 Admin Guide to ProductView dasd

    53/59

    53© 2010 PTC

    ProductView Compressed 3D Thumbnails

    > Required Software

     –  Need access to the ProductView Adaptors bin directory

    > Required Files –  Download ProductView representation from PDMLink

    ProductView Compressed 3D Thumbnails

  • 8/19/2019 Admin Guide to ProductView dasd

    54/59

    54© 2010 PTC

    ProductView Compressed 3D Thumbnails

    > Required Recipe File –  The recipe file level1.rcp looks like this:

    file=pvsthumb-rcpver=5lastp=specadapter/createSubModel=1

     –  Where createSubModel = 1 is the sub-assy level where the thumbnails are created

    Changing the number to 2 will create thumbnails at the second level of sub-assys –  For example, if you have the following structure

    Top AssySub-Assy-A

    Sub-Assy-1Sub-Assy-2

    Sub-Assy-3Sub-Assy-BSub-Assy-4Sub-Assy-5Sub-Assy-6

     –  Level 1 will generate 2 thumbnails of the lettered assemblies

     – Level 2 will generate 6 thumbnails of the numbered assemblies

    ProductView Compressed 3D Thumbnails

  • 8/19/2019 Admin Guide to ProductView dasd

    55/59

    55© 2010 PTC

    ProductView Compressed 3D Thumbnails

    > Required Script

     –  The script, thumb.bat assumes:The bat file itself is in the current directory

    The recipe file is named level1.rcp and is in the current directory

    The product adapters are installed in C:\ptc\productview_adapters

     Also note that the name of the input and output .pvs file is hard coded

    set PVIEW_HOME=c:\ptc\productview_adaptersset PATH=%PVIEW_HOME%\bin;%PATH%

    pvsthumb -r level1.rcp 01-2_crankshaft_asm.pvs -o level1crank.pvs

     –  Essentially, you download the representation from PDMLink and unzip the file

     –  Copy the bat file and recipe file into the directory with the .pvs and .ol files –  Edit the bat file for the name of the .pvs input and output files

     –  Double click on the bat file to do the conversion

     –  You should end up with a new .pvs file and a number of new .pvt files

     –  Open up the new .pvs file in ProductView to see the results

    Post Publishing Rules

  • 8/19/2019 Admin Guide to ProductView dasd

    56/59

    56© 2010 PTC

    Post Publishing Rules

    > Allows automating secondary operations after publishing

     –  Allows creating a new WTDocument of a published representation –  This allows searching on the representation itself. Without this, the representation isattached as secondary content to the source object, so the only way to get to it is to go tothe information page of the source object.

     –  Also allows revision control of the representation itself. Without this, the representationdoesn’t really have it’s own “revision” because it’s a child of the parent object.

    > For more info –  Windchill Installation and Configuration Guide – Visulization Services, Publishing Rules

     –  We’ve not made use of this capability yet, so this is all I know

    Additional Info Learned Since the Conference

  • 8/19/2019 Admin Guide to ProductView dasd

    57/59

    57© 2010 PTC

     Additional Info Learned Since the Conference

    The first image shown here is the preview shown inside of ProE. The thing

    that is bad about this is in order to display this, the epmdoc (ProE Cad file)has to be downloaded to your local cache, thus inflating your cache, andtaking a lot longer for large assemblies. The second image is what youwant displayed inside of ProE. This TPI tells you how to disableProductView express for the embedded browser:https://www.ptc.com/appserver/cs/view/solution.jsp?n=/137875.htm 

    Additional Info Learned Since the Conference

    https://www.ptc.com/appserver/cs/view/solution.jsp?n=/137875.htmhttps://www.ptc.com/appserver/cs/view/solution.jsp?n=/137875.htm

  • 8/19/2019 Admin Guide to ProductView dasd

    58/59

    58© 2010 PTC

     Additional Info Learned Since the Conference

    Enabling thumbnails for drawings:

     Add to your worker config.pro 

    set "save_drawing_picture_file" in config.pro to both.

    There are four possible options no, export, embed, both.

    Embed - Embeds a picture file inside a drawing for preview purposes.Export - Saves a drawing file as a picture file in the working directory whensaving a drawing.Both - Does both embed and export.

    There are no thumbnails created if you are publishing drawings as PDF’s.PDMLink 10, has a method to create thumbnails for these.

  • 8/19/2019 Admin Guide to ProductView dasd

    59/59

     An Administrators Guide toProductView Publishing

    Questions?

    David [email protected] 

    925-424-3931

    mailto:[email protected]:[email protected]