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 Size Comparison against a parameter value Size
History ID Number Failed Feature Last Feature Of Look for context All
Status Regeneration Layer Display Parent/Child
Geometry Zone Distance Exterior Comps
Using Multiple Rules Multiple rules can be used to define behavior on a single layer Use the Build Query option
Using Multiple Rules Rules added are shown in the Query Builder sections of the tool
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
Config File Automated Layers The def_layer configuration file option def_layer option layer-name
Pros & Cons of Config Layers 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 Layer intent not transportable with models Pros Layers do not appear until category type is added Have you guessed I am not fond of these?
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
Adding Rules Use the Edit Rules button to launch the rules editor
Pros & Cons of Rule Based Layers 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 Cons Layers exist regardless of features created
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
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
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 “*”
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
Filtering Layers Mechanism Launch layer search ID greater than zero Find & Select All Filter Selected Collapse all Expand base node
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
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
Extending Rules Change to layers tab Select all the rule layers From the Layers pull down choose Extend layers
Extending Rules Close temporary assembly Open your (now) changed model Note new fully compliant rule based layer structure Save your model
Layers In a Drawing Template By using drawing template unique Layers can be built into drawings Both rule based and some drawing options
Drawing Layers Standard Options Placed on unique layers Hidden by default Non-rule based
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
Rule Based Simplified Representations Rules can be applied to simplified representations Activate the rule editor from the Simp Rep definition
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
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
Rule Definition Proceed to define rule tied to newly created condition Remember Build Query option for multiples
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
Sample Template Reps No_Hardware Rule filters (excludes) all models with part_type parameter equal to string Hardware
Sample Template Reps No_Library Rule filters (excludes) all models with name ending in recognized library suffixes
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
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
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
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
Sample Template Reps Zone Rep Use zone to exclude components within it in simplified rep
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
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”
Demo