978-1-58503-380-5 -- Pro ENGINEER Advanced Tutorial [Wildfire 4.0]

978-1-58503-380-5 -- Pro ENGINEER Advanced Tutorial [Wildfire 4.0]


25 Pages
Downloading requires you to have access to the YouScribe library
Learn all about the services we offer


®Pro|ENGINEER ™W I L D F I R E 4.0 Advanced Tutorial Roger Toogood, Ph.D., P. Eng. Mechanical Engineering University of Alberta SDCPUBLICATIONS Schroff Development Corporation www.schroff.com Better Textbooks. Lower Prices. Pro/E Customization and Project Intro 1 - 1Lesson 1Copyrighted MenusMessage Window Pro/E Customization Tools(and Dashboard; top or bottom)and Material ToolbarsCustomized buttons onleft, top, and/or right Project Introduction Synopsis: Copyrighted Configuration settings; customizing the screen toolbars and menus; mapkeys; parttemplates; introduction to the projectMaterial OverviewThis lesson will introduce tools for customizing your Pro/E configuration and working environment and show you how to create some useful shortcuts for accessing Pro/Ecommands. The major customization tool is the use of one or more configuration files(default files config.pro and config.win). The lesson also includes managing and creatingyour own custom toolbars and mapkeys. We’ll also see how you can create your ownpart templates. The major project used in this tutorial is introduced and the first four partsCopyrighted are presented.Material Configuration Files (config.pro)By now, you should be familiar with the commands for environment settings that areavailable in Tools > EnvironmentThese aspects of the working environment (and much more!) can also be controlled usingsettings stored in configuration files ...



Published by
Reads 108
Language English
Report a problem
P r o| E N G I N E E R®W I L D F I R E.04
Advanced Tutorial
Roger Toogood, Ph.D., P. Eng. M e c h a n i c a l E n g i n e e r i n g U n i v e r s i t y o f A l b e r t a
SDC PUBLICATIONS Schroff Development Corporation www.schroff.com Better Textbooks. Lower Prices.
Pro/E Customization and Project Intro
MenusLerssiong1hted CustoTmiozoeldbbaurttsonsdnDa(Masehsbsoaargde;toWpinordbootwtom)PranrPto/EdjoeCurstiomdaiztaloioti noTlosn left, top, and/or right ucect Intro on
1 1 -
SCoynnfioguprsatiCiso:n setotings; cpustomiyzing trhe sicreengtoolbahrs andtmeneus; mapdkeys ; part templates; introduction to the projectrial Overview environment and show you how to create s ome useful shortcuts for accessing Pro/E This lesson will introduce tools for customizing your Pro/E configuration and working commands. The major customization tool is the use of one or more configuration files (yaprdoaeerutfrpatroeuelwmstenpfnilltcaCtesutssed.eco.omTnfhoitego.opmlrbaojoarpapnrdranscdojoeynmcftiagpu.ksweeriydn)sn..iihtlsitTehleWgetusronsosoiasllalhshoaolniieesintrtwycuoeduduceloednadcnacranamsdhtifeeaigteygn ingreatndcourowntsrarpaurfots Configuration Files (nocfig.pro)rial By now, you should be familiar with the commands for environment settings that are  available in Tools > Environment isTnehtdteiisvniegdsaussaptloeCedinrifucgstoftcnoorunfiongcoaritheowpioknnigngreatstietys.Alnvironsl(ifelrcsmoeentntfiiitngisnfga(lgedsrfosehmdevahcuh.lutt)orahferomtanc!)eavul/orPeasbtolswshatsahEdacerievlelnob tonfiedlhundrloelrtnuisegddseusTpheecimfiocsatlliymspeotritnanatoonccMifgngfiifel,lefiarochspasitinageedcalecelifdurinrdellagaisecsosnifoaing..prloth at is automatically read when Pro/E starts up a new session. You can also read in (and/or change) additional configuration settings at any time during a session. For example, you may want to have
1 - 2
Pro/E Customization and Project Intro
one group of settings for one project you are working on, and another group for a odinflfyerweintthptrhoejeucstethCohfetsaoytuoeglcinwshctipotnrifdouugiyangsnroitarifl,geliniecsoensfgisig.opnr.o,Ihsltohaidenttutoridattseal,ra-tpue.wdwill d eal Several copies ofconfig.promight exist on your system, and they are read in the followcionngfiogr.dsuerpiht-pasistrohwnePorE/isMaluendcctheeysafd:mtestile wehich isrreaid byaall uslers but is not available for modification by users. Your system administrator has control of this file. Pro/E loadpoint - this is read by all users and would usually contain common  settings determined by the system administrator such as search paths, formats, libraries, and so on. This file cannot normally be altered by individual users. sdputsreatuceridiictreyohorrd,iesmCponethyrotcerytro-toeF-luondiqwheorpeforieurNavdngkiyotrreceaigatorhcurywheweshrionPeU(inxnygufritslrsta)o/EhrpuactnshutProo/TE.efdnanidswdreheltecte his Working Directory in the Navigator pane1. Settings made in the first copy (config.sup is handy This) cannot be overridden by users. installation (search paths for pMart libraraies, ftor insteance)r. Ain indiavidulal u ser can modify for making configuration settings to be applied universally across all users at a Pro/E entries in the last two copies ofconfig.proto suit their own requirements. If the same entry appears more than once, the last entry encountered in the start-up sequence is the start-up, additional configuration settings can be re  might bead in at any time. These one the system will use (except that settings inconfig.sup Aftercannot be overridden). used to create a configuration unique to a special project, or perhaps a special type of modeling. Be aware that when a new configuration file is read in (or some settings more a bit later.Copyrighted changed), some options may not take effect until Pro/E is restarted. This is discussed entries in the following form: Settings inconfig.proare arraMnged in aatablet. Eaceh rowrin thie tabale islcom posed of two config_option name config_option_value _ Option values can be composed either of text, single numbers, or series of numbers. A  listing and description of manyconfigoptions is contained in the on-line help. the Select following (starting in the pull-down menus): Help > Help Center Then pick the linkCs:opyrighted Fundamentals > Pro/ENGaINEEtR Fuendamrentailsal  1In Windows, right click on the Pro/E icon on the desktop (if it exists), select Properties > ShortCutand examine theStart Intext entry field.
Pro/E Customization and Project Intro
1 - 3
Consider adding a bookmark for this page. In theContentspane, expand the topics CrPro/oENGIpNEERyFundrameintalsghted rConfiguring Pro/ENGINEER Fundamentals shToahrimdsetsiohmfoetwhrseesqmeueittomesbaeeleroianngsgMiseetmhtlhrotedsp(aaiylitgclaiirntarnptonanohwllsaofeddefaeshentinritpuoltiFugi.snoulave)er1aroFpo(stfnoilsisiunailat bltioneopveakcilC.snoinaiwllsee,aswetely).csouYilwhalminute, the dialog window for working with configuration files contains a one line description of each option and there is also a search capability for finding option names. Although this makes finding the options much easier, you are encouraged to explore the  on-line help - you might find just the setting you need to make your life easier!
Figure 1On-line help for configuration options The ConCfiguraotionpFile Eyditorrighted cYoonuficgaunraaticocnesfsilyeouusrincguMrrenta Tools > Options
This brings up theOptions window shown in Figure 2. If m has options set ayloreuradsyy,sttehCese wilol appeapr in they window. If not, the central area of the window will be blank, as in Figure 2. We’ll discuss the operation of this dialogMwindowa from the top down. TheShowing epull-down list atFdiigtiunrget2cneohTehOfipgtuiroantisdnaginttserfowdowninolife
1 - 4
Pro/E Customization and Project Intro
the top will let you choose from a number of configuration groups (Current Session, your start-up config.pro, or elsewhere). SelectCurrent Session. Deselect the checkCbox juost belopw theyShowirngpiull-dgown bohx. Atcompelete lisdt of a ll the Pro/E configuration options will appear. The first column shows its name, and the second column shows its current value. An entry with an asterisk indicates a default Material value. Note that you can resize the column widths by dragging on the vertical column separator bars at the top of the display area. At the far right (possibly out of the initial window view) is a long (scrollable) one-line description of each option.  Browse down through the list. There are a lot of options here (over 750!). Note that the options are arranged alphabetically. This is because of the setting in theSortpull-down menu in the top-riCght coroner. Cphange tyhis torByiCateggory. Thhis retarrangees thedlist o f options to group them by function. For example, check out the settings available in the EnvironmentandSketchergroups. Fortunately, there are a couple of tools to help you Sort(Alphabetical).a find the option name you’re loM Leoking for.tt’s seee howrtheiy worak.l Check the box beside “Show only options loaded from file” and select  Assuming you have a blankconfig.pro At, let’s create a couple of useful settings. the bottom of theOptionswindow are two text boxes for entering option names and values. users, a useful settCing is tohe follpowing.yIn thre texit boxgbelowhOptiton, eneter thedoptio n If you know the name of the option, you can just type it in to the first box. For new nameprompt_on_exit. As you type this in, notice that Pro/E anticipates the rest of the text box based on the letters you have typed in. After typing enough characters (up to the pull-down list underValue, seMlectYes.aNotetthat tehe oprtioninamae is nlot c ase sensitive “x” in “exit”), the rest of the desired option will appear; just hit theEnterkey. In the and the default value is indicated by an asterisk in the pull-down list. Now select the Add/Change Thebutton on the right. bright green A entry now appears in the data area. effect. star in theStatuscolumn indicates that the option has been defined but has not yet taken Now enter a display option. The default part display mode in the graphics window is Shaded. Many people prefer to work in hidden line mode - let’s make it the default on start-up. Once agCain, weowill enpter theyconfirguraitiongoptionhnametand pieck thedvalue from a drop-down list. The option name and value we want are display hiddenvis Material Now selectAdd/Changeas before (or just hit the Enter key after typing the “h”). Add the following option to control how tangent edges should be displayed (HINT: try typing in
Pro/E Customization and Project Intro
the following:tan<enter>, backspace to remove the default, thend<enter>): Ctangeont_edgpe_dispylayrdimimedhted Another common setting is the location of the Pro/E trail file. As you recall, the trail file contains a recMord of evaeryt command and mouse click during a Pro/E session. The default location for this is the start-up directory. Theoretically, trail files can be used to  recover from disastrous crashes of Pro/E, but this is a tricky operation. Most people just delete them. It is handy, therefore, to collect trail files in a single directory, where they can bei easily remCoved laoter. Thpere isyan optrion for setting the location of this directory. Suppose we don’t knoMw theat configuration option’s specific name. Here is where a search function will come in handy. click theFindbutton. This brings up theF in At the bottom of theOptionswindow, keywordtrailand select CLook ion(ALLp_CATyEGORrY)iFingd Nowhted > Several possibilities come up. The option we want is listed astrail_dir- scroll the description to the rightMto confiarm thits. Seelect thris oiptionaandlthen pick theBrowse button at the bottom to identify a suitable location on your system for the value. Perhaps something likec:\temp select. ThenAdd/Change new entry appears in the. TheOptions window. In theFind Optionwindow, selectClose. For some options, the value is numeric (eg setting a default tolerance, number of digits,  or the color of entities on the screen). In these cases, you can enter the relevant number (or numbers separated by either spaces or commas). For example, underOption, enter (separated by spaces). These give the values of red, green, and blue (out of 100). Equal the namesCystem_ohiddepn_coloyr. Thren uindergValue,hentertthe nuembersd60 60 60  values yield gray; this setting will brighten the hidden lines a bit from the default value. SelectAdd/Change. We have now specifiedMfive opations.tTo heave thremitake eaffectl, se lect theApplybutton at the bottom. The green stars change to small green circles in the Status column. The settings are automatically saved in a filecurrent_session.proin the working directory.
1 - 5
1 - 6
Pro/E Customization and Project Intro
For practice, enter the options shown in Figure 4. The order that the configuration options are declared does not matter. Feel free to add new settings to your file (for search paths, libraries, deCfault edoitors, default decimral pilaces, imporht/exptort setetings, adnd so on).
Figure 4Some settings inconfig.pro Material Notice the icons in the first column beside the option names. These mean the following:  (lightning) - option takes effect immediately   (wand) - option will take effect for the next object created  (screen) -Coptionowill tapke effyect thernexit timge Pro/Ehis statrteded If you are using aconfigfile from a previous version of Pro/E you may see a “stop sign” (actually a red circle with a line through it), which means that the option is no longer used.aMme. Foraexamtple, ien Relerasei2000ai therle w as an option Try to add an illegal option n _ sketcher readme_alert. Type that in to theOptionfield. When you try to set a value
Pro/E Customization and Project Intro
1 - 7
for this, it will not be accepted (theAdd/Change only Pro/Ebutton stays gray). recognizesCvalid ooptionpnames!yThusr, ifiyou mgistypehor entter aneinvaliddnam e, this is indicated by not being able to enter a value for it. Saving Yourconfig.proSettings To store the settings wMe have jaust cretatedeso thart theiy wilal be lload ed automatically, select theSave A Copybutton at the top of theOptions the bottom of the newwindow. At window, type in the desired name for the file - in this caseconfig.proand selectOK. It have saved properly, use theOpen Filebu tton at the top of theOptionswindow. Select should be saved in your default (start-up) working directory. To confirm that the settings theconfig.profile you just saved, thenOpen. You will have toApplythe new settings. LoadingCa ConofigurpationyFilerighted To load a new configuration file, select theOpen Filebutton beside theShowinglist. activated immediatelyM(note theagreetn stare). Selrect tiheApaplyblutt on and observe the Select the desired file and thenOpen. Note that these settings will be read in but not green star. Deleting Configuration Options With the configuration file name visible in theShowingfield at the top, highlight one of the optionsCand selectDelete. SelectingApplyautomatically saves the current settings. Now selectCloseoin thepOptionyswinrdowi.ghted Checking Your CoMnfiguraationtOpetionsrial Because some settings will not activate until Pro/E is restarted, many users will exit Pro/E after making changes to theirconfig.profile and then restart, just to make sure the  settings are doing what they are supposed to. Do that now. This is not quite so critical since theOptionswindow shows you with the lightning/wand/screen icons whether an option is active. However be aware of where Pro/E will look for theconfig.profile on start-up, as discussed above. If you have savedconfig.proin another working directory than the onCe youonormalply startyin, thren miovegit beforhe startting Preo/E. Odn the other hand, if you have settings that you only want active when you are in a certain directory, keep a copy ofconfig.prothere and load it once Pro/E has started up and you have changed to the desired directory.MTo keepathingstsimpele, anrd unitil yoau halve p lenty of experience with changing the configuration settings, it is usually better to have only one copy of config.proin your startup directory.
1 8 -
Pro/E Customization and Project Intro
Message Window (and Dashboard; top or bottom)
Toolbars Customized buttons on left, top, and/or right
Note that it is probably easier to make some changes to the environment for a single or assembly creation session - you never know wihen an unanticipated effect might anything too adventurous withconfig.proin the middle of a part scceloosmsbibpoeuntreuyrsoitunorgolwsT,oordookCl!sn>ttErynovironmpent. Aylso, ars is oftengthe cashe whetn leaerning tdo use new erial Customizing the Interface (fngiw.nico) In addition to the environment settings, there are several ways of customizing the Pro/E interface: usingconfig.pro, toolbars, menus, and mapkeys. AnCexample of a figure at the right. Whenoyoup customized interface is shown in the modify the interface layout, your changes will be saved in aM config.winfile in a directory of your choice (usually the current working directory). It is possible and permissible to have several different config.winfiles in different directories, each with a different customization of the screen to suit the work you may be doing on files CopFigure 5A (somewhat cluttered) customized s creen in that directory. In this section, we will introduce methods to customize the toolMrsblaaayoutterial and menus. Toolbars With the cursor on the top toolbar, hold down the  This brings up aright mouse button. displayed (see check marks); the toolbars can be toggled to include/exclude them from menu similar to thCe one sohown ipn Figurye 6.rThisishowgs the toholbartgroueps currdently the display. The contents of the menu might depend on the current program status. Each group contains a set of functionally-related shortcut buttons. At the bottom of this pop-up mMenu, selaectTtoolbaers. Thris oipensatheClustomizewindow bottom of this window you can specify whether or not, and where, to aut omatically save which contains a list of all available toolbars, and their location (see Figure 7). At the the current layout settings. The default isconfig.winin the current working directory. As mentioned above, you can create multipleconfig.winfiles, and useFile > Save Settings