Automating Pro/ENGINEER No programming skills nor money required Olaf Corten Fico BV Olaf Corten Fico BV.

Slides:



Advertisements
Similar presentations
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Advertisements

Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 4 Financial Functions, Data Tables, Amortization Schedules, and Hyperlinks.
KX-TVM50 KX-TVM200 V2.0 (Edition 1.1 2nd November, 2007)
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Using Macros and Visual Basic for Applications (VBA) with Excel
Miscellaneous Windows 2000 Desktop Features Windows 2000 Intermediate.
Introduction to Windows File Management
Choose a category: Install Episys Install Accessories Synergent Confidential Episys Version Synergent 2008Download latest guides from:
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
1 of 6 Parts of Your Notebook Below is a graphic overview of the different parts of a OneNote 2007 notebook. Microsoft ® OneNote ® 2007 notebooks are digital.
Using the Visual Basic Editor Visual Basic for Applications 1.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Installing New Software Dean Steichen Sept
®® Microsoft Windows 7 for Power Users Tutorial 10 Backing Up and Restoring Files.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Basic Computer Maintenance Basic Computer Maintenance Clean and Cool Deleting Temporary Files Scandisk Backup Your Data How to.
Lawson System Foundation 9.0
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Digital Image Processing Lecture3: Introduction to MATLAB.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
Microsoft Office 2007 Access 2007 Chapter 9 Administering a Database System.
Introduction to VB.NET Tonga Institute of Higher Education.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 5 1 Control Panel Applets.
Tutorial 11 Installing, Updating, and Configuring Software
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Exploring Microsoft Office Word 2007 Chapter 7 The Advanced User Robert Grauer, Keith Mulbery,
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Microsoft ® Word 2010 Core Skills Lesson 1: Getting Started Courseware #: 3240 Microsoft Office Word 2010.
Office Tips and Tricks Lisa Short Technology Specialist Summer 2013.
For Version 6.0 and later Lattice3D Reporter Tutorial For Version 6.0 and later LATTICE TECHNOLOGY, INC.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
IT 211 Project Integration and Deployment Lab #11.
IE 411/511: Visual Programming for Industrial Applications
Microsoft Windows 7 Essential Introduction to Windows 7.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
File Management Presented to The Glades Computer Club January 4, 2001.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
OCC Network Drives  H:\  P:\ 
20 Tips in 20 Minutes David, Enrick, Luc PTC/User Montreal RUG David, Enrick, Luc PTC/User Montreal RUG.
Using Xcode A Beginner’s Tutorial Erin Green. This tutorial will walk you through Xcode, a software development tool for Apple’s iOS applications – We.
Microsoft Access 2010 Chapter 10 Administering a Database System.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
1 / 61 Using the Customer Support Web Site © 2006, Universal Tax Systems, Inc. All Rights Reserved. Customer Support Site Objectives –In this chapter you.
VDI-in-a-box TM 1 Kaviza Client End User Quick Start Manual.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
2007 TAX YEARERO TRAINING - MODULE 61 ERO (Transmitter) Training Module 6 Federal and State Installation and Updates.
> > >> < <
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
IBM Software Group © 2008 IBM Corporation Tivoli Provisioning Manager Beta Program Web Replay Intro and Lab September, 2008 Robert Uthe.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Windchill WorkGroup Manager (WGM) for Inventor installation
June 17, 2009 Office 2007 Tips & Tricks.
Weebly Elements, Continued
Computer Literacy BASICS
User Guide Subversion client TortoiseSVN
Electronic Field Study Advanced User Training
Digital Image Processing
Microsoft PowerPoint 2007 – Unit 2
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Automating Pro/ENGINEER No programming skills nor money required Olaf Corten Fico BV Olaf Corten Fico BV

This presentation u Why Automate? u Which solutions are available? u Focus on free solutions with no programming knowledge needed –Mapkeys, trailfiles, Pro/BATCH –3 rd party tools: ProTrail and sBatch Installation Usage Examples u Why Automate? u Which solutions are available? u Focus on free solutions with no programming knowledge needed –Mapkeys, trailfiles, Pro/BATCH –3 rd party tools: ProTrail and sBatch Installation Usage Examples

Why Automate? u Customize and extend the Pro/ENGINEER user interface with seamlessly embedded custom processes u Integrate expert systems and knowledge-based applications into the Pro/ENGINEER environment u Create automated, single-use, or derived designs by external manipulation of geometric and parametric constraints u Improve product quality with design rule verification based on inputs from external solutions u Perform tedious, routine, time-consuming and compute- intensive tasks –Creating deliverables (plotfiles, cadfiles, BOM’s, mass- properties, images, renderings) u Customize and extend the Pro/ENGINEER user interface with seamlessly embedded custom processes u Integrate expert systems and knowledge-based applications into the Pro/ENGINEER environment u Create automated, single-use, or derived designs by external manipulation of geometric and parametric constraints u Improve product quality with design rule verification based on inputs from external solutions u Perform tedious, routine, time-consuming and compute- intensive tasks –Creating deliverables (plotfiles, cadfiles, BOM’s, mass- properties, images, renderings)

How can we automate? u The sky is the limit. It all depends on the tools you use –Pro/Toolkit (C/C++ library) –J-Link (Java) - Free –Automation Gateway (Visual Basic, VBA, C, etc) –Pro/Web.Link (HTML and Javascript) - Free –Pro/BATCH - Free –Built in tools like: Trailfiles & Mapkeys –3 rd party tools like: sBatch ProTrail u The sky is the limit. It all depends on the tools you use –Pro/Toolkit (C/C++ library) –J-Link (Java) - Free –Automation Gateway (Visual Basic, VBA, C, etc) –Pro/Web.Link (HTML and Javascript) - Free –Pro/BATCH - Free –Built in tools like: Trailfiles & Mapkeys –3 rd party tools like: sBatch ProTrail

Pro/BATCH u Tool with graphical UI to Export 2D & 3D formats u Free u Scheduler u No PDM Integration u Tool with graphical UI to Export 2D & 3D formats u Free u Scheduler u No PDM Integration

Pro/BATCH - Usage u Make shortcut to [proloadpoint]\bin\pro_batch.bat and set startup folder to where you want to run it. u Select the files you want to process u Select the action you want to do u Name your batchfile and enter which ProE startup command to use (normally proe1.bat) u Save the batchfile u Now run it (or schedule it) u Starts ProE with cmdline options: pro_wait -batchfile [path]\[batchfile] u Make shortcut to [proloadpoint]\bin\pro_batch.bat and set startup folder to where you want to run it. u Select the files you want to process u Select the action you want to do u Name your batchfile and enter which ProE startup command to use (normally proe1.bat) u Save the batchfile u Now run it (or schedule it) u Starts ProE with cmdline options: pro_wait -batchfile [path]\[batchfile]

Pro/BATCH - Demo u Create DXF’s from a few drawings

Built in functions of ProE u Mapkeys u Running trailfiles u Free u Mapkeys u Running trailfiles u Free

Building your mapkeys u Set following config.pro options: –CMDMGR_TRAIL_OUTPUT YES puts internal ProE commands in trailfile instead of menu dependant commands ~ Command `ProCmdModelSaveAs` vs. ~ Activate `main_dlg_cur` `File.psh_save_as` –TRAIL_DIR C:\TEMP make sure your trailfiles are always on a local drive u Set following config.pro options: –CMDMGR_TRAIL_OUTPUT YES puts internal ProE commands in trailfile instead of menu dependant commands ~ Command `ProCmdModelSaveAs` vs. ~ Activate `main_dlg_cur` `File.psh_save_as` –TRAIL_DIR C:\TEMP make sure your trailfiles are always on a local drive

Building your mapkeys u Use built in mapkey recorder Tools -> Mapkeys -> New or u Get the commands from session trailfile Copy them to config.pro mapkey xxx [commands] u Pick carefully u Don’t make screen selections (unless you want to create a trailfile) If you need to select something Use the Find Tool u Use built in mapkey recorder Tools -> Mapkeys -> New or u Get the commands from session trailfile Copy them to config.pro mapkey xxx [commands] u Pick carefully u Don’t make screen selections (unless you want to create a trailfile) If you need to select something Use the Find Tool

Building your mapkeys u Continuation: –Continue mapkeys on a new line by ending previous line with ;\ –Start new line with mapkey(continued). (not really necessary) –E.G. mapkey fsdxf ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs `;\ mapkey(continued) ~ Select `file_saveas` `type_option` \ mapkey(continued) 1 `db_137`;\ mapkey(continued) ~ Activate `file_saveas` `OK`;\ mapkey(continued) ~ Activate `export_2d_dlg` `OK_Button` u Continuation: –Continue mapkeys on a new line by ending previous line with ;\ –Start new line with mapkey(continued). (not really necessary) –E.G. mapkey fsdxf ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs `;\ mapkey(continued) ~ Select `file_saveas` `type_option` \ mapkey(continued) 1 `db_137`;\ mapkey(continued) ~ Activate `file_saveas` `OK`;\ mapkey(continued) ~ Activate `export_2d_dlg` `OK_Button`

Building your mapkeys u Continuation: –You can put ProE continuation lines on one line as long as they don’t exceed the line length. Maximum line length = 98 characters (incl. backslash) –E.G. ~ Select `file_saveas` `type_option` \ 1 `db_137` Change into: ~ Select `file_saveas` `type_option` 1 `db_137` u Continuation: –You can put ProE continuation lines on one line as long as they don’t exceed the line length. Maximum line length = 98 characters (incl. backslash) –E.G. ~ Select `file_saveas` `type_option` \ 1 `db_137` Change into: ~ Select `file_saveas` `type_option` 1 `db_137`

Building your mapkeys u Add description to your mapkey: to give your mapkey a name to give your mapkey additional info TIP: Always end this with the mapkey in brackets e.g. (mapkey fadxf) u E.G. mapkey of the mapkey;\ and action (mapkey xxx) u Add description to your mapkey: to give your mapkey a name to give your mapkey additional info TIP: Always end this with the mapkey in brackets e.g. (mapkey fadxf) u E.G. mapkey of the mapkey;\ and action (mapkey xxx)

Building your mapkeys u Cleaning up the mapkey –Remove all lines starting with exclamation mark E.G. ~ Activate `export_2d_dlg` `OK_Button` ! Message Dialog: Warning ! : The file d:\36065.dxf already exists, continue anyway? ~ Activate `UI Message Dialog` `ok` u Cleaning up the mapkey –Remove all lines starting with exclamation mark E.G. ~ Activate `export_2d_dlg` `OK_Button` ! Message Dialog: Warning ! : The file d:\36065.dxf already exists, continue anyway? ~ Activate `UI Message Dialog` `ok`

Building your mapkeys u Cleaning up the mapkey –Remove unnecessary consecutive Open/ Select … and Close … lines: E.G. ~ Select `main_dlg_cur` `MenuBar1` \ 1 `File` ~ Close `main_dlg_cur` `MenuBar1` ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` and ~ Open `file_saveas` `type_option` ~ Close `file_saveas` `type_option` ~ Select `file_saveas` `type_option` \ 1 `db_137` u Cleaning up the mapkey –Remove unnecessary consecutive Open/ Select … and Close … lines: E.G. ~ Select `main_dlg_cur` `MenuBar1` \ 1 `File` ~ Close `main_dlg_cur` `MenuBar1` ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` and ~ Open `file_saveas` `type_option` ~ Close `file_saveas` `type_option` ~ Select `file_saveas` `type_option` \ 1 `db_137`

Building your mapkeys u Browsing: –Type in full path vs browsing ~ Select `file_saveas` `ph_list.Filelist` 1 `Data` ~ Activate `file_saveas` `ph_list.Filelist` 1 `Data` ~ Select `file_saveas` `ph_list.Filelist` 1 `PTC` ~ Activate `file_saveas` `ph_list.Filelist` 1 `PTC` ~ Select `file_saveas` `ph_list.Filelist` 1 `Work` ~ Activate `file_saveas` `ph_list.Filelist` 1 `Work` ~ Activate `file_saveas` `ok` vs ~ Update `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \ `d:\\data\\ptc\\work` ~ Activate `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` ~ Activate `file_saveas` `ok` u Browsing: –Type in full path vs browsing ~ Select `file_saveas` `ph_list.Filelist` 1 `Data` ~ Activate `file_saveas` `ph_list.Filelist` 1 `Data` ~ Select `file_saveas` `ph_list.Filelist` 1 `PTC` ~ Activate `file_saveas` `ph_list.Filelist` 1 `PTC` ~ Select `file_saveas` `ph_list.Filelist` 1 `Work` ~ Activate `file_saveas` `ph_list.Filelist` 1 `Work` ~ Activate `file_saveas` `ok` vs ~ Update `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` \ `d:\\data\\ptc\\work` ~ Activate `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` ~ Activate `file_saveas` `ok`

Building your mapkeys u Nesting mapkeys: –Create nested mapkeys by calling other mapkeys with the percent sign. –E.G. mapkey As;\ As (mapkey fsa);\ mapkey(continued) ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` mapkey As DXF;\ As DXF (mapkey fsdxf);\ mapkey(continued) %fsa;\ mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_137`;\ mapkey(continued) ~ Activate `file_saveas` `OK` u Nesting mapkeys: –Create nested mapkeys by calling other mapkeys with the percent sign. –E.G. mapkey As;\ As (mapkey fsa);\ mapkey(continued) ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` mapkey As DXF;\ As DXF (mapkey fsdxf);\ mapkey(continued) %fsa;\ mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_137`;\ mapkey(continued) ~ Activate `file_saveas` `OK`

Building your mapkeys u Parameters: –Use old Parameter UI With the config.pro option NEW_PARAMETER_UI NO. – vs u Parameters: –Use old Parameter UI With the config.pro option NEW_PARAMETER_UI NO. – vs

Building your mapkeys - Demo u Create mapkey to export dxf to folder on disk

Building your trailfiles u Use same approach as creating mapkeys u Start trail file with 2 line header !trail file version No !Pro/ENGINEER TM Wildfire 4.0 (c) 2009 by Parametric Technology Corporation All Rights Reserved. u Put every command on one line u Create environment variable CONTINUE_FROM_OOS = 1 to prevent ProE from crashing when running a trailfile u EG: !trail file version No !Pro/ENGINEER TM Wildfire 4.0 (c) 2009 by Parametric Technology Corporation All Rights Reserved. ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` ~ Update `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` `d:\\data\\ptc` ~ Select `file_saveas` `type_option` 1 `db_137` ~ Activate `file_saveas` `OK` ~ Activate `export_2d_dlg` `OK_Button` ~ Activate `UI Message Dialog` `ok` u Use same approach as creating mapkeys u Start trail file with 2 line header !trail file version No !Pro/ENGINEER TM Wildfire 4.0 (c) 2009 by Parametric Technology Corporation All Rights Reserved. u Put every command on one line u Create environment variable CONTINUE_FROM_OOS = 1 to prevent ProE from crashing when running a trailfile u EG: !trail file version No !Pro/ENGINEER TM Wildfire 4.0 (c) 2009 by Parametric Technology Corporation All Rights Reserved. ~ Activate `main_dlg_cur` ` ProCmdModelSaveAs ` ~ Update `file_saveas` `opt_EMBED_BROWSER_TB_SAB_LAYOUT` `d:\\data\\ptc` ~ Select `file_saveas` `type_option` 1 `db_137` ~ Activate `file_saveas` `OK` ~ Activate `export_2d_dlg` `OK_Button` ~ Activate `UI Message Dialog` `ok`

sBatch u Graphical utility to run your own mapkeys u Free u Uses J-Link u By USG Innotiv (Martein Schuttert) u Builds one large mapkey from selected mapkeys and runs it on your files u Graphical utility to run your own mapkeys u Free u Uses J-Link u By USG Innotiv (Martein Schuttert) u Builds one large mapkey from selected mapkeys and runs it on your files

u Download from: > 1 st Tab > Divisies > Product Development > sTools u Link to download page with password will be mailed u Also other tools: –sPurge –Plotdate u Download from: > 1 st Tab > Divisies > Product Development > sTools u Link to download page with password will be mailed u Also other tools: –sPurge –Plotdate sBatch

Probably need to add the.zip extension to downloaded files

sBatch v3.2 u Creates one large mapkey and adds a button configured to run this mapkey to your config.win u Then runs a trailfile which presses this button u Can connect to Intralink 3.x Workspace u Supports R2001, Wildfire & Wildfire 2.0 u Creates one large mapkey and adds a button configured to run this mapkey to your config.win u Then runs a trailfile which presses this button u Can connect to Intralink 3.x Workspace u Supports R2001, Wildfire & Wildfire 2.0

sBatch v4.0 (beta) u Uses asynchronous J-Link connection u Supports 64-bit u Supports Pro/ENGINEER Wildfire 4 u Supports Windchill Workspace –Intralink 3.x –Windchill PDMLink/ProjectLink 8.0 –Windchill PDMLink/ProjectLink 9.x u Supports non-graphics mode u Improved installlation (detects Pro/E and OS version) u Uses asynchronous J-Link connection u Supports 64-bit u Supports Pro/ENGINEER Wildfire 4 u Supports Windchill Workspace –Intralink 3.x –Windchill PDMLink/ProjectLink 8.0 –Windchill PDMLink/ProjectLink 9.x u Supports non-graphics mode u Improved installlation (detects Pro/E and OS version)

sBatch v4.0 Installation u C:\Program Files\USG Innotiv sBatch u Finds your latest Wildfire version (up to v4.0) u Configure PDM integration –PDMLink 9,8 or 7 and/or –ProjectLink 9,8 or 7 –Intralink 3.x u Desktop icon u C:\Program Files\USG Innotiv sBatch u Finds your latest Wildfire version (up to v4.0) u Configure PDM integration –PDMLink 9,8 or 7 and/or –ProjectLink 9,8 or 7 –Intralink 3.x u Desktop icon

sBatch Installation u Creates c:\windows\sbatch.ini (to hold installation paths) u Creates \.usginnotiv\sbatch.conf in your %USERPROFILE% (holds sBatch config. Can be updated from sBatch) u sBatch looks for config.pro in [proeloadpoint]\text u Creates c:\windows\sbatch.ini (to hold installation paths) u Creates \.usginnotiv\sbatch.conf in your %USERPROFILE% (holds sBatch config. Can be updated from sBatch) u sBatch looks for config.pro in [proeloadpoint]\text

Running sBatch u Start sBatch u Add Files to process u Select mapkeys to run List is alphabetical u TIP: Create shortcuts to often used mapkeys at the top u Choose execution method and select run u Connects to current Pro/E session or starts a new one

sBatch Demo –Create 300dpi jpegs with a white background specified models shaded in the DEF_1 orientation. Use mapkeys –vv1 - Set View to DEF_1 –vs - Shade –faj3 - Create 300dpi jpg with white background

ProTrail u Runs predefined tasks on selected files u Creates a large trailfile and runs it with ProE u Runs in the background u Does error checking when the task is finished u Written by me in C++ u DOS Commandline utility u Runs predefined tasks on selected files u Creates a large trailfile and runs it with ProE u Runs in the background u Does error checking when the task is finished u Written by me in C++ u DOS Commandline utility

ProTrail u Download from: > Utilities > ProTrail u Can connect to Intralink 3.x workspace u In most cases upwards compatible because running trailfiles is often upwards compatible as well. u Download from: > Utilities > ProTrail u Can connect to Intralink 3.x workspace u In most cases upwards compatible because running trailfiles is often upwards compatible as well.

ProTrail u Predefined tasks –Export several 2D and 3D formats –Create images –Explode, unexplode –Run Global interference, Massprops –Set units, assign or unassign material –Import files –Regenerate, save, add timestamp –Check ProE version u Predefined tasks –Export several 2D and 3D formats –Create images –Explode, unexplode –Run Global interference, Massprops –Set units, assign or unassign material –Import files –Regenerate, save, add timestamp –Check ProE version

ProTrail Installation u One executable Just put it somewhere in your PATH. u Ideally: –Create folder c:\Utilities –Copy protrail.exe to this folder –Add folder c:\Utilities to your PATH u Synchronize TEMP variable with config TRAIL_DIR e.g. C:\TEMP u One executable Just put it somewhere in your PATH. u Ideally: –Create folder c:\Utilities –Copy protrail.exe to this folder –Add folder c:\Utilities to your PATH u Synchronize TEMP variable with config TRAIL_DIR e.g. C:\TEMP

Running ProTrail u You start ProTrail from a DOS prompt u Use commandline arguments to drive it Tip: Install DosHere (or Command Prompt Here) Shell extension. It enables you to quickly open a DOS prompt in a folder from Explorer.

Running ProTrail u Type protrail –h to get help u Use –dontrun option to test

Running ProTrail u Options –File Selection: Wildcards *.*, etc. -drw, -prt, -asm, -lay, -models -i inputfile -num (objects with numerical names: e.g prt –Running: -foreground, -pause, -dontexit, -dontrun -cmd -v (version)

Running ProTrail u Options –export Jpg, tiff Dxf, dwg, pdf Iges, Step, set, stl, productview, shrinkwrap –print (to printername) several other plot related options –Intralink 3.x options -ws, -local, -ilink Needs PDM_LDB_PATH variable

Running ProTrail u Options –Specials: -save -view, -shade -regen -unit, -(un)assign -verify, -famtab, -instsave -(un)explode, -interference, -massprops -trail

Running ProTrail u Examples: –protrail –e dxf –e pdf –drw Create dxf and pdf files of all sheets on all drawings –protrail –bgw –e jpg –dpi 300 –view DEF_1 –shade –models 36* Set background to white and create 300dpi jpegs of the DEF_1 shaded view of all models starting with 36 in their name –protrail –ws WORK –unit mmNs –assign aisi_316.mat –regen –save –prt In Workspace WORK set all parts to mmNs units, assign material aisi_316, regenerate and save

Running ProTrail u Examples: –protrail –unexplode –interference –asm -e step Open all assemblies, unexplode them, do an Interference check and export to step –protrail –famtab –models Save FamilyTable file of all generic models. –protrail –import dxf -save Import all dxf’s and save as a ProE drw (also checks dxf format size)

Thanks for your attention