Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

layer rules

bretonh

New member
Hello all,


I'd like to know if it's possible to create a rule that will put all axis created from a hole feature in a layer.





Thanks
 
I think if you make a rule that puts holes on the layer and hide it, the axes only from holes will be hidden.
 
The layer rule would be:

Look for: axis
Look by: feature

set attributes> "type" "is equal to" "all" and "hole"


Edited by: gkbeer
 
I'm still having a problem,


Sorry, I'm a fairly "green" user.


I've done the rule, and when I click "preview results", it seams to work, but the features don't show up in the content.


I'm doing this in an assembly, and I check the "include submodels" box. WHen I clickexit the Rule editor, and return to it, the "include submodels" is unchecked.


What am I doing wrong?
 
Under the rules tab, the layer dialog has an "options" pull down.

There are three options: Associative, Rules Enabled, & Independent.

All three, must have checks by them.

When successful, the layer will be filled with items that are "geometric entities", in this case the axis of hole features.

Look carefully at how they are noted. The icon is different from that of a feature, the text has a "colon" separating the entity name from the parent feature's name.
The colon is the best clue that the item listed in a geometric entity as opposed to a feature.
 
you dont have to:


look for: axis
look by: feature


you can also


look for: feature
look by: feature


type set to hole.


It will actually put the hole features on the layer which you can hide, because holes are solid enities it will only hide the non-solid entities of the hole, which are the axes.
 
Sorry, it's not working for me, and I don't want to waste your time. It is probably something else that I've done wrong.


I get the rule in, and I preview the results ok, but when I click OK from the rule editor page, I get this prompt


"Rules cannot be evaluated for submodels of a Layer model"
 
Ah!

Uncheck the "include submodels" box in the rule editor.

Once the layer is created in the assembly, select the layer and go to the layer pulldown and choose "extend rules"

That will cause the assembly layer to be recreated in every submodel.
 
hi gkbeer,


i have created rule as per your suggestions given above.


after setting rule, when I press view results button it shows 2 axes, but when I come out, there will not be any iten in the contents.


I get a message in the log as : rule(s) not supported by layer.


plz suggest on the same.
 
I tried it with WF3-M080 it's working fine
smiley4.gif



it's not working with WF2-m110, WF2-m170, WF2-m180.


can anyone tell me from which version onwards this works,


regards


-Rudresh
 

Sponsor

Back
Top