ProTrail Help

ProTrail  version 7.63  ==================

         ############## 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 7.63

         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] <objectfilter>

           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
                            o creo2
                            o creo4
                            o creo5
                            default = Creo2
           -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 ....
           -o yyy         - Open object yyy without looking for local verions.
           -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.
           -path yyy      - Set PDM_LDB_PATH to yyy
                            not needed if you create an environment var.
           -workdir       - Always open files in workdir.
           -nodrwcheck    - When opening drw, don't check for additional sheets.
           -drwnoview     - When opening drw, create no_view Rep on the fly.
           -drwdispstat   - Drawing display status info (creates display.inf).
           -nogencheck    - When doing famtab stuff, don't check if it's a generic.
           -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.
           -minfo         - Run Model Info.
           -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.
           -parimp xxx    - Use parameter info file xxx to create parameters.
           -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
                            3dpdf - 3DPDF file
                                  Control 3DPDF output with following options:
                                  o -pdfpass "xxx" (file open password)
                                  o -pdfdescr "xxx yyy"
                                  o -pdfsecure (prevent printing and copying, needs pdfpass)
                            pdf - PDF file
                                  Control pdf output with following options:
                                  o -pdfpentable
                                  o -pdflayersall
                                  o -pdflayersvis
                                  o -pdflayersnone
                                  o -pdfpardes
                                  o -pdfparnone
                                  o -pdfstroketext
                                  o -pdfnosearchtext
                                  o -pdfnohyperl
                                  o -pdfpass "xxx" (file open password)
                                  o -pdfdescr "xxx yyy"
                                  o -pdfsecure (prevent printing and copying, needs pdfpass)
                                  o -dpi xxx
                                  o -pdfsinglesheet
                            iges - IGES file
                            step - STEP file
                            set - SET file
                            stl - Stereo Lithography file
                            render - Render file
                            productview - ProductView file
                            shrinkwrap - Shrinkwap file
           -stepsolid     - If exporting step, only export solid geometry (no curves/points, nor shells).
           -dpstep        - If exporting a drawing also try to export a step file of a part with the same name.
           -dastep        - If exporting a drawing also try to export a step file of an assembly with the same name.
           -dppvz         - If exporting a drawing also try to export a pvz file of a part with the same name.
           -dapvz         - If exporting a drawing also try to export a pvz file of an assembly with the same name.
           -profile xxx   - If exporting use export profile xxx (e.g. myname.dep_step.
           -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.
           -sheets xxx    - Assume xxx nr. of sheets.
           -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
           -backup        - Backup to Working Dir
           -erase         - Erase every model after the actions have been done.
           -dontexit      - Do not exit Pro/E when finished.
           -cmd xxx       - Creo Parametric Start Command (default: parametric)
           -foreground    - Run in the foreground.
           -redirect xxx  - Redirect output to xxx.
           -graphics      - Run in the foreground.
           -noconfigpro   - Don't create special config.pro
           -ilinkconf     - Create special Intralink config.pro to
                            prevent unwanted changes or checkouts.
           -3dexpconf     - Add special 3D Export config.
           -accelconf     - Add Save Accelerator files always to config.
           -pause         - Pause at the end.
           -dontrun       - Don't start Creo
           -verbose       - Give more output
           -silent        - Give less output
           -noerrors      - Don't write Errors to file.
           -outfile xxx   - Create trailfile xxx (default: run_protrail.txt).

         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: https://croesite.com