Hello,
I'm currently struggling to access constraint references. I'm trying to find the object a reference is pointing to (see => GetConstraintElement).
Seems like the only usefull information in the reference object is DisplayName which is apparently a path in the specification tree... but I cannot find any way to get a reference to the pointed object.
Research didn't bring any usefull answer either. The closest I found was which is exactly the same issue. Unfortunately the answer doesn't work. Going through the hierarchy of products doesn't work because the syntax of the path is very complex and can contains weird element related to... whatever.
for example:
"Product1/Cube.2/!Product1/Cube.2/"
"Product1/Cube.1/!Selection_FVertexVertexNeighboursFaceBrpPad.1;0BrpSketch.1;3)));None);Cf12));FaceBrpPad.1;2);None);Cf12));FaceBrpPad.1;0BrpSketch.1;2)));None);Cf12)));Cf12));Pad.1_ResultOUT;Z0;G8782)"
Does anyone have any clue how to get the object pointed by references?
I'm currently struggling to access constraint references. I'm trying to find the object a reference is pointing to (see => GetConstraintElement).
Seems like the only usefull information in the reference object is DisplayName which is apparently a path in the specification tree... but I cannot find any way to get a reference to the pointed object.
Research didn't bring any usefull answer either. The closest I found was which is exactly the same issue. Unfortunately the answer doesn't work. Going through the hierarchy of products doesn't work because the syntax of the path is very complex and can contains weird element related to... whatever.
for example:
"Product1/Cube.2/!Product1/Cube.2/"
"Product1/Cube.1/!Selection_FVertexVertexNeighboursFaceBrpPad.1;0BrpSketch.1;3)));None);Cf12));FaceBrpPad.1;2);None);Cf12));FaceBrpPad.1;0BrpSketch.1;2)));None);Cf12)));Cf12));Pad.1_ResultOUT;Z0;G8782)"
Does anyone have any clue how to get the object pointed by references?