ProTrail version 5.32 ==================
############## D I S C L A I M E R ##############
# #
# IN NO EVENT SHALL OLAF CORTEN OR HIS EMPLOYER #
# BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, #
# SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES #
# ARISING OUT OF THE USE OF THIS SOFTWARE AND #
# ITS DOCUMENTATION, EVEN IF OLAF CORTEN OR HIS #
# EMPLOYER HAS BEEN ADVISED OF THE POSSIBILITY #
# OF SUCH DAMAGE. #
# #
# OLAF CORTEN AND HIS EMPLOYER SPECIFICALLY #
# DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT #
# LIMITED TO, THE IMPLIED WARRANTIES OF #
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR #
# PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS #
# ON AN "AS IS" BASIS, AND OLAF CORTEN OR HIS #
# EMPLOYER HAS NO OBLIGATION TO PROVIDE #
# MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, #
# OR MODIFICATIONS. #
# #
############## D I S C L A I M E R ##############
ProTrail version 5.40
This program creates and runs a trailfile to retrieve objects
in Pro/E and to perform actions on them.
All is done in the background.
Syntax:
protrail [options]
The objectfilter is used to open only the objects corresponding to
the filter. Use wildcards to do so. It can be include multiple times.
By default it does all Pro/E objects.
Options:
-h - Show this help screen
-timestamp - Add timestamps
-v xxx - Pro/E Version; where xxx can be:
o 2001
o wildfire
o wildfire2
o wildfire3
o wildfire4
default = Wildfire2
-drawings/drw - Do drawings only (*.drw)
-layouts/lay - Do layouts only (*.lay)
-assemblies/asm- Do assemblies only (*.asm)
-parts/prt - Do parts only (*.prt)
-models - Do models only (*.prt *.asm)
-i yyy - Use objectnames in inputfile yyy.
Syntax: name.ext or an Intralink output file.
An Intralink output file must have this syntax:
Row # Name ....
-num - Do numerical objects only (e.g. 12345.*.*)
-ws yyy - Open in Workspace yyy.
-ilink - Open in default workspace: IlinkTrail.
-local - Use files in local folder, instead of trying to find them in the .proi.
Use together with -ws or -ilink option. This assumes you exported your drawings first.
-workdir - Always open files in workdir.
-chkvers - Show Pro/E version file was created in.
-trail xxx - Run trailfile xxx on each file found.
-bgwhite - Set background to white.
-view xxx - Set a model to view xxx.
You can use 'Default' od any other name.
-shade - Shade the model.
-regen - Regenerate the model.
-verify - If it's a generic model verify the FamilyTable.
-famtab - If it's a generic model save the FamilyTable file.
-instsave - Save all instances from a FamilyTable file.
Needs .ptd file (use -famtab option first).
-explode - Explode assembly.
-unexplode - UnExplode assembly.
-interference - Do a global interference.
-massprop - Calculate Mass Properties.
-unassign - Unassign Material from part.
-assign xxx.mat- Assign Material xxx.mat from file to part.
-parexp - Export parameter info file.
-parwu xxx - Run where used report for each parameter found in xxx.
Where xxx must be a parameter info file created with -parexp.
-unit xxx - Set Unit's to xxx, where xxx can be:
CGS
Custom
FPS
DEF
IPS
MKS
mmNs
-dpi xxx - When exporting image or pdf set resolution to xxx dpi.
-e xxx - Export options, where xxx can be:
jpg - jpg image
tiff - tiff image
dxf - AutoDesk dxf file
dwg - AutoCAD dwg file
pdf - PDF file
Control pdf output with following options:
o -pdfpentable
o -pdflayersvis
o -pdflayersnone
o -pdfpardes
o -pdfparnone
o -pdfstroketext
o -pdfnosearchtext
o -pdfnohyperl
o -pdfdescr "xxx yyy"
o -dpi xxx
o -singlesheet
iges - IGES file
step - STEP file
set - SET file
stl - Stereo Lithography file
productview - ProductView file
shrinkwrap - Shrinkwap file
-stl yyy xxx - Set stl option yyy to xxx, where yyy can be:
chord or angle
-blank - Blank the format on a sheet in the drawing first.
-p xxx - Print options, where xxx can be a printername.
quote the name if needed e.g.: "Ghostscript pdf".
-pclipped - Clip Plot to view extents
-pfileonly - Only create Plotfile
-pcommand xxx - Set full path to plotcommand to xxx.
Use in conjunction with -pfileonly.
-pext xxx - Set plotfile extension to xxx.
Use in conjunction with -pcommand.
-pdontplot - Dont send created plotfiles to plotter
-import xxx - Import options, where xxx can be:
dxf - AutoDesk dxf file
dwg - AutoCAD dwg file
iges - IGES file
step - STEP file
-copies x - Plot x copies of your drawing
-dontrename - Do not rename mutiple sheet plotfiles.
-singlesheet - Only plot the first sheet.
Use this when your pcf file prints multiple sheet plotfiles.
-save - Save model
-dontexit - Do not exit Pro/E when finished.
-cmd xxx - ProE Start Command (default: proewildfire2)
-foreground - Run in the foreground.
-noconfigpro - Don't create special config.pro
-pause - Pause at the end.
-dontrun - Don't start ProE
-verbose - Give more output
-silent - Give less output
Note: To find sheetnumbers in drawings you need to store your files uncompressed.
Example:
protrail -e dxf -drawings *base* *plate*
Open all drawings with 'base' or 'plate' in the name and
export dxf files.
Author: Olaf Corten, the Netherlands
WWW: http://www.proesite.com