Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Nov 29, 2020
Messages
30
Location
AR
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.
 
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

Back
Top