×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

HIDING DATUMS in Catia
4

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

RE: HIDING DATUMS in Catia

From the Menu, choose Edit -> SEARCH . In Workbench select Part Design, then in TYPE select Plane and hit the binocular. Select them and Hide.

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

(OP)
Hora, will this HIDE all the parts at once, or do I need to go one by one?

Thanks

RE: HIDING DATUMS in Catia

All at once.

RE: HIDING DATUMS in Catia

(OP)
Fantastic....thanks Hora

RE: HIDING DATUMS in Catia

2
If you don't like working in menus, (like I don't) you can also use the power input.

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

Good tip Solid7, but unfortunately this does not work in Assembly Design. Works great in Part mode (at least in V5 Release 15)


-Hora

RE: HIDING DATUMS in Catia

Does anyone know why this doesn't work in assy mode but ok with power input in part design?
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

smile Solid7, a star on your shoulder (for your power input).

-Hora

RE: HIDING DATUMS in Catia

because it is searching the currently active document which is  a product that does not contain any planes. Try this
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

(OP)
kboy, I use the following:

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

Quote (designmr):

It was from Azrael, on another forum, it works great.  I'm using an OLD version of Catia V5, rev9...

designmr - check my post just a few up from yours...

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog

RE: HIDING DATUMS in Catia

(OP)
Thanks solid7..

RE: HIDING DATUMS in Catia

In power input, the coomand t:plane,all does not work for an assembly, but

t:pl*,all

will do the job.

-Hora

RE: HIDING DATUMS in Catia

(OP)
Ok, I got how to hide them all.....What about to "SHOW", them all again????

RE: HIDING DATUMS in Catia

Same thing...  Just do it again.

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

(OP)
Thanks solid, I pretty new to Catia, this company does not offer training, everyone is learning on their own.  

This is a great site for getting answers I tell you.

RE: HIDING DATUMS in Catia

Solid - yet another company that does not offer training.  When will they learn about the ROI of training.

RE: HIDING DATUMS in Catia

(OP)
This company figured if you already knew Solidworks, you can learn Catia on your own....oh well.

What makes it worse, we have NO access to help files

RE: HIDING DATUMS in Catia

I would guess that you also have NO access to legal copies of the software, either.

Who did you say you work for? smile

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog

RE: HIDING DATUMS in Catia

(OP)
Yeah, Solid7, you understand exactly....

If I had another job, I would tell you....

RE: HIDING DATUMS in Catia

designmr

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

I got it to work fine with no capital V, but thank you for mentioning it.  (it definitely needs a capital "I", though)

-----------------------------------------------------------
Catia Design|Catia Design News|Catia V5 blog

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources