HIDING DATUMS in Catia
HIDING DATUMS in Catia
(OP)
Anyone know how to HIDE completely the DATUMS and keeps them hiding?
I was sent a file (.product) with hundreds of parts, I want to just hide ALL the DATUM PANELS at once.
The version I am using is CATIA, Version 5, rev 9. Seems you can hide the datums, and save the file. Once you call it up again, the datum are BACK again, same with contraints.
Thanks
I was sent a file (.product) with hundreds of parts, I want to just hide ALL the DATUM PANELS at once.
The version I am using is CATIA, Version 5, rev 9. Seems you can hide the datums, and save the file. Once you call it up again, the datum are BACK again, same with contraints.
Thanks





RE: HIDING DATUMS in Catia
You must save all the parts of your assy if you don't want them ON next time you'll load the assembly.
-Hora
RE: HIDING DATUMS in Catia
Thanks
RE: HIDING DATUMS in Catia
RE: HIDING DATUMS in Catia
RE: HIDING DATUMS in Catia
In the little white box at the bottom of the screen, type "t:plane". (no quotations marks) When they all select, right click any one plane in the tree, and select "hide/show".
Same effect, different (faster) method.
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: HIDING DATUMS in Catia
-Hora
RE: HIDING DATUMS in Catia
You can make a script (very easily) to hide/show planes in an assembly, based on the search you did, or check this out:
http://2htts.com/CATBlog/index.php?itemid=14
I have a similar script set up as a toolbar icon.
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: HIDING DATUMS in Catia
Is this a setting within the options or a Catia Release issue,
In product environment I have to use the search facility or use VB script.
RE: HIDING DATUMS in Catia
-Hora
RE: HIDING DATUMS in Catia
t:plane,all
or
t:plane,from
or
t:plane,scr
the bit after the , defines the search scope All being eveywhere, from being selected branch down and scr being only stuff visible on the screen.
RE: HIDING DATUMS in Catia
Go to Tools->Macro and choose create, set to VB script and name your macro. Paste this:
-------------------------------------------
Language="VBSCRIPT"
Sub CATMain()
Set productDocument1 = CATIA.ActiveDocument
Set selection1 = productDocument1.Selection
selection1.Search "CATPrtSearch.Plane.Visibility=Visible,all"
Set VisPropSet1 = Selection1.VisProperties
VisPropSet1.SetShow catVisPropertyNoShowAttr
End Sub
--------------------------------------------
Now you can run it and test it
If you want to add it as button, go to custimize and under the commands bar there should be a category named macros (left field), in the right field pick your macro and hit show properties, change icon name if wanted and pick and icon in the list. Now just just drag the macro from the commands field into an existing toolbar in Catia. Of course you can also make your own toolbar.
It was from Azrael, on another forum, it works great. I'm using an OLD version of Catia V5, rev9...
RE: HIDING DATUMS in Catia
designmr - check my post just a few up from yours...
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: HIDING DATUMS in Catia
RE: HIDING DATUMS in Catia
t:pl*,all
will do the job.
-Hora
RE: HIDING DATUMS in Catia
RE: HIDING DATUMS in Catia
Or, change the script at this line:
selection1.Search "CATPrtSearch.Plane.Visibility=Visible,all"
TO
selection1.Search "CATPrtSearch.Plane.Visibility=Invisible,all"
AND
VisPropSet1.SetShow catVisPropertyNoShowAttr
TO
VisPropSet1.SetShow catVisPropertyShowAttr
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: HIDING DATUMS in Catia
This is a great site for getting answers I tell you.
RE: HIDING DATUMS in Catia
RE: HIDING DATUMS in Catia
What makes it worse, we have NO access to help files
RE: HIDING DATUMS in Catia
Who did you say you work for?
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog
RE: HIDING DATUMS in Catia
If I had another job, I would tell you....
RE: HIDING DATUMS in Catia
Thanks for the script updates,,,,
Solid7
The No show script was fine, just worth mentioning in case others try to copy and have a problem that the line:-
selection1.Search "CATPrtSearch.Plane.Visibility=Invisible,all"
Needs Capital "V" in visible in order to work, at least thats what I found, as follows-
selection1.Search "CATPrtSearch.Plane.Visibility=InVisible,all"
Thanks again guys.....
RE: HIDING DATUMS in Catia
-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog