Personal tools
You are here: Home Forum Other... (new forum, problems, etc.) How can I get the Ref. Entry from the object browser ?

How can I get the Ref. Entry from the object browser ?

Up to Other... (new forum, problems, etc.)

How can I get the Ref. Entry from the object browser ?

Posted by Gérald NICOLAS at January 02. 2014

I want to make a difference if an object is selected from the object browser as a starting object or a derived object.

First case: the starting object is known thanks to the function getEntry (into SALOME_InteractiveObject). On the picture, the answer is 0:1:2:1:1 for the "black" Hypo_1

Second case: the same object under another one, such as the "red" Hypo_1. Unfortunately, getEntry returns the same value 0:1:2:1:1 and I expected 0:1:2:2:2:2

More, I don't know how to get the Ref.Entry that doesn't exist in the first case and does in the second case. I thought that the function hasReference could give me the answer but it is always false.

 

I need help.

Attachments
Quick reply
URLs will be automatically hyperlinked. Basic HTML tags are OK.
Powered by Ploneboard
History
Activate by Gérald NICOLAS on Jan 02, 2014 08:10 PM
Document Actions