Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Refresh CATIA tree spec

Status
Not open for further replies.

AlvaroPers

Mechanical
Nov 29, 2020
30
thread560-450512
There was a thread unsolved and closed. I have the same question.

Do anyone knows how to refresh the tree ?

The method "CATIA.RefreshDsiplay = true/false" doesn't work well.


Thank you.
 
Replies continue below

Recommended for you

Did you try to update assembly/part from macro or you want to refresh only a tree?

Regards,
M
 
I just have to refresh the tree because I'm changing instance names only.
I solved using this:

With myCATIA.ActiveWindow
.Height = .Height - 1
.ActiveViewer.Update()
.Height = .Height + 1
End With


I know it's no the proper way, but it works.

Thank you.
 
Check ViewPoint class. Note that 3D documents have two: for geometry and spec tree.
 
Thank you.

It worked with this line: objCurrentWindow.SpecsViewer.Update()

Appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor