Hi friends,
Greetings ! I'm a newbee in CAA software development and thus need some insights to solve a problem I'm facing in my work.I need to find a way to identify a topological entity (EDGE/FACE/VERTEX ) by a unique identifier and that identifier should persist across sessions.So that in next session,I should be able to find the same topo entity by using the id ( unless the topo entity itself is deleted ! )
I think there is "GetPersistentTag( )" method available,but what it gives is persistent during a session ( please,correct me if I'm wrong ).Moreover,if the entity gets modified ( e.g the geometry of the topological entity is changed/replaced ) then a new tag is given to the same topology.Now this won't help to someone who relies on the id to refer the topo entity.
I finally came across Generic Naming.But after reading about it and appreciating the way it uniquely identifies the topo entity across sessions,by coupling it with the feature history et al,I am still unable to find "how to access generic names of the topological entities" while reading a CATIA model.To be more specific,I'm not creating new features or anything.I'm just reading the already created/designed data from a file ( say some model.CATPart ).
I will be really obliged to get some insights on how to go about this.Thanks in advance.
-Aniket.
Greetings ! I'm a newbee in CAA software development and thus need some insights to solve a problem I'm facing in my work.I need to find a way to identify a topological entity (EDGE/FACE/VERTEX ) by a unique identifier and that identifier should persist across sessions.So that in next session,I should be able to find the same topo entity by using the id ( unless the topo entity itself is deleted ! )
I think there is "GetPersistentTag( )" method available,but what it gives is persistent during a session ( please,correct me if I'm wrong ).Moreover,if the entity gets modified ( e.g the geometry of the topological entity is changed/replaced ) then a new tag is given to the same topology.Now this won't help to someone who relies on the id to refer the topo entity.
I finally came across Generic Naming.But after reading about it and appreciating the way it uniquely identifies the topo entity across sessions,by coupling it with the feature history et al,I am still unable to find "how to access generic names of the topological entities" while reading a CATIA model.To be more specific,I'm not creating new features or anything.I'm just reading the already created/designed data from a file ( say some model.CATPart ).
I will be really obliged to get some insights on how to go about this.Thanks in advance.
-Aniket.