Professional Documents
Culture Documents
ProductView Publishing
David Haigh
June 2011
LLNL-PRES-484460
This work performed under the auspices of the U.S. Department of Energy
by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344
Agenda
>
>
>
>
>
>
>
>
>
>
>
>
>
>
2010 PTC
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
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
3
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
4
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
5
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
6
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
7
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
8
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
9
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
10
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
11
Publishing Components
Worker Agent
Adapters
Authoring
Software
Agent.ini
Distiller
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
12
2010 PTC
Worker Agent
Adapters
Authoring
Software
Agent.ini
LiveCycle
GSWorker
Shared Folder
32bit OS
IIS
Adapters do the
publishing using the
authoring software
They also contain the
recipe files for the
publishing job
ProE & MS Office
GSWorker opens
communication ports
on the worker
Share folder is where
files to be published
are dropped so the
worker can process
them
FTP Server
IIS and FTP are
optional
13
Monolithic Setup
Windchill Server
Worker Agent
Adapters
Authoring
Software
Agent.ini
GSWorker
Distiller
Shared Folder
32bit OS
2010 PTC
14
Worker Machine
Worker Agent
Adapters
Authoring
Software
Agent.ini
GSWorker
IIS
Shared Folder
FTP Server
Distiller
32bit OS
2010 PTC
15
Worker Agent
Adapters
Adapters
Pro/Engineer
Software
MS Office
Software
Agent.ini
GSWorker
GSWorker
Shared Folder
Shared Folder
Distiller
32bit OS
2010 PTC
16
2010 PTC
17
Worker Machine
Adapters
ProEngineer
MS Office
GSWorker
2010 PTC
Shared Folder
Distiller
32bit OS
18
19
2010 PTC
20
HPGL:
Requires ProductView, Allows Markup and Overlay
compare with ProductView
PDF:
Common Format, Markup and Overlay compare only
available with full version of Acrobat
.
2010 PTC
21
2010 PTC
22
2010 PTC
23
2010 PTC
24
2010 PTC
25
2010 PTC
26
Server Setup
> Install:
2010 PTC
27
Server Setup
Force Republishing on life cycle state changes use if release state is on drawing
publish.republishonepmdocumentchange = true
Remove completed jobs
wvs property
deleteCompleted.enableOnContainers = true
wt properties
wt.queue.removeCompleted.PublisherQueue = true
wt.queue.removeCompleted.PublisherQueue1 = true
wt.queue.removeCompleted.PublisherQueue2 = true
wt.queue.removeCompleted = true
2010 PTC
28
Dont fully qualify the host name of the worker. Let the system resolve it.
Select the type of Worker, ProE or Office
2010 PTC
29
2010 PTC
30
2010 PTC
31
2010 PTC
32
2010 PTC
33
Pick the Green Flag Green means Start, Red means Stop
May need to pick the left flag twice
2010 PTC
34
2010 PTC
35
Go to Default FTP Site, and use RMB menu to pick New > Virtual Directory
http://msdn.microsoft.com/en-us/library/6ws081sa.aspx
2010 PTC
36
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
See TAN 136481
2010 PTC
37
The ProductView Install and Configuration Guide has two test to perform
Link to file
2010 PTC
38
The service on the worker has to run as a real user. It wont work with Local System
Publishing will break when the user password expires
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 server
Double 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
2010 PTC
39
Security Concerns
> Log files containing the password for the ProductView user
On the PDMLink Server Machine:
PROEqueue.log in <loadpoint>logs\cadagent\PROEqueue
StatusMessages.log in <loadpoint>logs\cadagent\StatusMessages
*.log in <loadpoint>\logs\cadagent\<workermachine name>-<workername>
Agent.ini in <loadpoint>\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 its still visable from the Worker Agent logs
inside PDMLink assuming you have site access.
2010 PTC
40
Watermark Editor
> Watermark Editor
2010 PTC
41
2010 PTC
42
43
If you want to make these an server side preferences you need to upload them to PDMLink
See next slide
2010 PTC
44
productview.configfromserver = true
2010 PTC
45
46
You can export the watermarks from your server by picking on this link.
You can then import it into another system
2010 PTC
47
With hpgl2 dont assign a pen table They have line weight defined
Set background to White
Set display to Monochrome
2010 PTC
48
This will flood your queues with thousands of publishing jobs and bring your system to its
knees!
Always start them from the Product or Project context
Ive seen systems where people set up one Product and just created folders under it for
all the different deliverables they design. Thats 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
If you system is choked with jobs you will be force to clear them using the windchill shell
If that doesnt work PTC can give you a jsp to help you delete the jobs
Im not going to give you any commands here because I
believe 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 lead
to 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 its functioning right
then, it wont be.
2010 PTC
49
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.
2010 PTC
50
ProductView Express
> ProductView Express & ProE
This is how ProE shows you a preview of drawings and models in the embedded browser
If ProE isnt 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
<ProE Loadpoint>\i486_nt\pvx\pvx.msi The installer
Will typically create a path to:
PVX_INSTALL_DIR C:\Program Files\ptc\ProductViewExpress\
2010 PTC
51
Reduced detail when retrieved, full detail loaded when you double click on items
Compressed 3D Thumbnail
2010 PTC
2010 PTC
53
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 Assy
Sub-Assy-A
Sub-Assy-1
Sub-Assy-2
Sub-Assy-3
Sub-Assy-B
Sub-Assy-4
Sub-Assy-5
Sub-Assy-6
54
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
2010 PTC
55
2010 PTC
56
2010 PTC
57
2010 PTC
58
An Administrators Guide to
ProductView Publishing
Questions?
David Haigh
haigh1@llnl.gov
925-424-3931