Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello all,
We have been given a new layer standard that we are to follow. Items are to exist on only one layer. We are trying to setup rules that will fulfill these requirements. We have a threads layer and an (several actually) axis layer.
I am really struggling with how setup a rule to assign the thread surfaces of hole features and cosmetic threads to the threads layer and to have the axis from the hole go to the axis layer. We also have a surfaces layer. How can I accomplish this?
Thanks in advance,
Karl Krahmer
Mechanisms and Structural Systems
ASRC Aerospace Corporation
Kennedy Space Center, Florida 32899
Mail code ASRC-5211
Office: 321-867-5052
-<mailto:->
You actually have the same rule twice.
Like I mentioned above, I don't want to hide the thread surfaces, only the axiis themselves, and the way I mentioned does just that. If you want tohide the thread and axiis, your rule should work. It did for me.
In Reply to Karl Krahmer:
Hello Glenn, Doug, and all,
I have tried numerous rules to get this to work properly. A couple of them seemed like they should work, like Doug's suggestion below. I input it into the Rule Editor and hit Preview Results, as shown. It successfully finds the threads. It actually grabs ALL the surfaces (countersink, solid cylinder, etc), but since you can't blank solid geometry, I thought this to be an acceptable rule. Everything seemed great. I also had a 2nd rule that was Look For: Cosmetic Feature Look By: Cosmetic Feature, Type is equal to , Category All, Value Has Thread that would grab any external cosmetic threads a user might create. We are currently on WF 2.0 M220 and Windhcill 8.0 M050. We are planning on upgrading to Windchill 9.1 very soon and WF 5 shortly after that. (Continued below)
BUT when I exit the rule editor and layer properties, the only item on the layer is the external cosmetic thread. This seems like a bug to me. I have also been having similar problems with rules for the Surfaces layer. The Preview Results shows you're going to get what you expect, but the results do not.
PTC's 1st response was :
From the Layer Properties dialog box, select the Rules tab. Then click on Options > Independent > Options > Associative > Edit Rules.
Set the Look For and Look By to Feature.
Select the Attributes tab and select the Type radio button.
Set the Value field to Cosmetic and click Add New in the Query Builder.
Then set Category field to Miscellaneous, then set the Value field to Has Thread and click Add New in the Query Builder.
Select Preview Results > OK > OK.
But as Glenn mentioned, this puts the axis on the layer as well which is unacceptable. It also puts ALL cosmetics on the layer, the rule I mentioned above seems to work the way I want it to.
Has anyone else seen this problem? How have you overcome them?
Best Regards and thanks in advance,
Karl Krahmer
Mechanisms and Structural Systems
ASRC Aerospace Corporation
Kennedy Space Center, Florida 32899
Mail code ASRC-5211
Office: 321-867-5052
-<mailto:->
I checked this again.
You can manually put the thread surfaces of hole features onto a THREADS layer, and get the desired action where the thread and axis visibility are individually controlled. The thread shows in the layer as an Entity of the type quilt.
Entities fo the type quilt can be put onto a layer by a rule but there is no way to discriminate between threads and other quilts that might be in the model.
Compound layer rules just do not work where quilts are concerned.
The key to unlocking this is for PTC to make available the "look by" option when quilt is selected in the "look for" field.
For now I am using the following
Axis layer, rule selects all axis entities
Axis_tag layer, rule selects all axis tags
thread layer, rule selects all features having threads
While working with the model I cannot make a thread appear without an axis. But, this doesn't matter for drawings because the "Show Dialog" overrides the axis blanking caused by the layer status.