Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATIA V5 HIDE ELEMENTS SUCH AS PLANES POINTS CURVES OF PARENT ASSY IN

Status
Not open for further replies.

steveg501

Automotive
Mar 1, 2006
5
How do you hide elements such as planes, points, curves, axis, general axis and constraints of the parent assembly in one go.
Say your parent assy contains 20 sub assemblies and withing them 125 + parts.
If you go to say the part you can go to tool, hide and select all planes, points etc.
Unfortuanatley I need a method to hide all such elements from the parent assembly not the individual parts as there is 125+ parts here.
Unfortunatley the search tool doesn't seem to do the job either as the entities selected will hide the part too ?
Any one have any ideas ?
Cheers
Steve
 
Replies continue below

Recommended for you

I have a macro I can mail you that will set all non solid elements to hide.

About the assembly constraints there is a setting in tools options-> general-> parameters and measure-> "Constaint and Dimension" tab, there you will find Constraint Display. Now you can set how you want.
 
Thanks Azrael I would like to try that macro if you could send it, sgeraci@prodrive.com
I have been trying to set groups in the search tool to do it that way but its quite slow.
Cheers
Steve
 
You can also use the search, CTRL+F, command and select your geometry this way and then hide it. I wouldn't mind trying out that macro myself. If you don't mind. gcp-design@hotmail.com (MSN Messenger)
Gary.
 
Steveg501 - you can make an advanced search, CNTL f, Advanced tab, Workbench = Generative Shape, Type = Curve, Pick Or, Type = point, Pick Or, Type = Plane.
Now when you hit search the favorite icon becomes active. Add it to your favorites, I imagine it would be faster to search through a large assembly with the internal search function.

Regards,
Derek
 
Derek is on the right track. Addtionally you should check that "Look" is set to "everywhere" and "Visibilty" is set to "Visible"

Another hint is if you save it to your favorites with a simple name you can use the Power Input Field to invoke it.

For example I have a favorite that hides all visible planes and axis systems. This is called VAP in my favorites list. In my PIF (Note you need a P2 or P3 configuration for it to show up, not available with a P1) I type in f:VAP and then hit the hide/show icon.

Jim
 
The search tools is only half the job, it still dones not seem to do what I'm after. I need say a filter so once you have selected every thing you need to turn off, save it in a group or set so when you need it to turn back on again you know where to go.
Most points curves planes etc are required for constraining purposes particularly if some components came from v4. So if you have hidden everything then change something in the assembly you need to go back to turn the hidden elements on again so you have got something to attach your constraints too.
When you have large assemblies this is important.
 
I can suggest here to hide all your "junk" geometry and move your referenced geometry to a new geometry set in your parts and then hide/un-hide only the geometry sets you need to. To move geometry to a new geometry set, highlight, right-click and go to bottom, change geometrical set, select new, ok.
Hope this helps. This is how I keep track of my geometry.
Mybe someone has a better way I too can learn from.
 
Gentlemen, I found the it now.

Make a CATvbs/macro and add this:



Sub CATMain()

Set productDocument1 = CATIA.ActiveDocument

Set selection1 = productDocument1.Selection

selection1.Search "(CATPrtSearch.AxisSystem.Visibility=Visible + (CATPrtSearch.Surface.Visibility=Visible + (CATPrtSearch.Wireframe.Visibility=Visible + CATPrtSearch.Sketch.Visibility=Visible))),all"

Set VisPropSet1 = Selection1.VisProperties

VisPropSet1.SetShow catVisPropertyNoShowAttr

End Sub
 
Hello Azrael
I tried this macro running on my assembly..worked but the one of the main part became invisible can u check ur macros again for me plz..
thanx
***nathalia
 
Hi,

Why don't you use the search feature? Edit-Search-Advanced....

Choose the workbench-type-attribute (if neccessary).

Search, select, hide...Just an example - for axis - Part design-axis-search-select-hide...



Regards
Fernando
 
Hi again,


Oops, I just see the whole thread. It was mentioned what I wrote before. For v4 models you can use DMU workbench, Tools, CATIA v4 layer filters.....

Regards
Fernando
 
Hi Nathalia

The script turns everything non solid to hide, so what is your main part based on (surface or solids)??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor