1 / 42

Take Time to Obey the Rules

Take Time to Obey the Rules. Mark Ganzer Lockheed Martin. What are Rules?. Rules are a search that is continuously evaluated Can be used to drive layers Can be used to drive simplified Representations. Attributes. Name of item Type of item Expression Comparison against a parameter value

marandag
Download Presentation

Take Time to Obey the Rules

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Take Time to Obey the Rules Mark GanzerLockheed Martin

  2. What are Rules? • Rules are a search that is continuously evaluated • Can be used to drive layers • Can be used to drive simplified Representations

  3. Attributes • Name of item • Type of item • Expression • Comparison against a parameter value • Size

  4. History • ID • Number • Failed Feature • Last Feature • Of Look for context • All • Of Look for context

  5. Status • Regeneration • Layer • Display • Parent/Child

  6. Geometry • Zone • Distance • Exterior Comps

  7. Using Multiple Rules • Multiple rules can be used to define behavior on a single layer • Use the Build Query option

  8. Using Multiple Rules • Rules added are shown in the Query Builder sections of the tool

  9. Layers • Layers defined in template models • Assemblies, parts, and drawings • Two methodologies • Layers created by configuration file options • Layers created in the template models and saved with them • Rules are the only way to make them interactive with future features

  10. Config File Automated Layers • The def_layer configuration file option • def_layer option layer-name

  11. Pros & Cons of Config Layers Cons Pros Layers do not appear until category type is added Have you guessed I am not fond of these? • Layer intent not transportable with models • Only one category per layer • Config file must be active anytime the model is edited • Layers do not appear until category type is added • Cannot be manually added to models

  12. Rules Based Layers • When created a new layer use the Rule tab in the GUI • Rules enabled for obvious reasons • Independent to disable the default layer model • Associative applies to the rules to existing geometry as well

  13. Adding Rules • Use the Edit Rules button to launch the rules editor

  14. Pros & Cons of Rule Based Layers Pros Cons Layers exist regardless of features created • Layer definition is saved with models • Layer intent travels with models • More than one category can be applied to layers • Layers exist regardless of features created • Full layer structure is viewable from the beginning • Layers can be edited or viewed to determine layer rules and intent

  15. Standard Rule Structure • Basic template rules we use • All are in place whether they are used or not • Some entities are further split into sub categories • Datum planes

  16. Layer Examples • 01_DTM_PLANES_STD • Type equal to datum planes • Feature number from 1 to 4 • This ensure recognizing the default planes whether the first feature is one of the planes or a default coordinate system

  17. Layer Examples • 06_GTOL_DTMs • Layer contains all GTOL planes and axis • Type is shown datum and Feature name is “*” • Type is shown axis and Feature name is “*”

  18. Filtering Layers • To defuse the complaint about empty layers we filter empty layers • Mapkey with icon in place to run it • Another mapkey resets the regular display

  19. Filtering Layers • Mechanism • Launch layer search • ID greater than zero • Find & Select All • Filter Selected • Collapse all • Expand base node

  20. Extending Layers • Models from a vendor or older internal Pro/E models lack the proper layer structure • Multiple layers names for similar functions • Rule based layers can be extend down to components in an assembly

  21. Extending Rules • Delete the layers from the non compliant model • Place model into a assembly created from correct template • New assembly will not be saved • New template has current rule based layer structure

  22. Extending Rules • Change to layers tab • Select all the rule layers • From the Layers pull down choose Extend layers

  23. Extending Rules • Close temporary assembly • Open your (now) changed model • Note new fully compliant rule based layer structure • Save your model

  24. Layers In a Drawing Template • By using drawing template unique Layers can be built into drawings • Both rule based and some drawing options

  25. Drawing Layers • Standard Options • Placed on unique layers • Hidden by default • Non-rule based

  26. Drawing Layers • Rule based • Drawing only items • Standard naming scheme for sorting • Model layers appear at top of list when models added • Layer filtering mapkeys apply to these layers too

  27. Rule Based Simplified Representations • Rules can be applied to simplified representations • Activate the rule editor from the Simp Rep definition

  28. Rule Actions • Use green plus to add Rule Action • Rep Action pull down do decide how models are handed • Right mouse button on select Condition to add a new rule definition

  29. Rule Actions • Type in a new name and hit enter • System remembers all Conditions used on model • Can use multiple Rule Actions in one rep • Handle components differently • Combine otherwise incompatible rules

  30. Rule Definition • Proceed to define rule tied to newly created condition • Remember Build Query option for multiples

  31. Template Model Reps • The rule based rep can be saved in your assembly template model • There waiting for the user to leverage • No excuses for not using simp reps

  32. Sample Template Reps • No_Hardware • Rule filters (excludes) all models with part_type parameter equal to string Hardware

  33. Sample Template Reps • No_Library • Rule filters (excludes) all models with name ending in recognized library suffixes

  34. Sample Template Reps • WARNING • Rule filters can be setup to recognize the parameter of the ProI folder location • This led to a profound slowdown in ProE performance

  35. Sample Template Reps • Geometry Bases • Standard rules used to exclude items smaller than a defined size • These reps sizes can be tailored to what works for your business

  36. Sample Template Reps • Zone Rep • Exclude everything within a given area • Create an extruded surface “box” • Use box to create a zone • In Xsec tab

  37. Sample Template Reps • Zone Rep • Exclude everything within a given area • Create an extruded surface “box” • Use box to create a zone • In Xsec tab

  38. Sample Template Reps • Zone Rep • Use zone to exclude components within it in simplified rep

  39. Sample Template Reps • Zone Rep • Change size of zone to exclude desired interior components in a model • All that is required to leverage exisiting rep

  40. Sample Template Reps • Zone Rep Clean up • Place defined zone in footer • Hide the surface box feature • Consider making the surface box transparent as well • Mapkey to hide all features called “box_name” incase some one “unhides all”

  41. Demo

More Related