If a net is high light probed, geGetAllProbe() returns the current edit schemaitc hierachy instead of the actual net hierarchy.
netX is in hierarchy L0.L1.netX, if I high light netX in L0.L1.L2.netX,
geGetAllProbe() will return path ''L0.L1.L2" for netX,
but ''L0.L1" is the ONLY correct path for netX
How can get the correct probe net path by SKILL?
Not sure if I've entirely understood what you're saying, but it sounds as if you're after the "adjusted path" to provide the highest level that the signal exists at? I wouldn't say the probe net path is wrong, with what you're seeing (so it's not incorrect), but maybe you want the highest probe point?
If so, this would provide the list of the adjusted paths for all probes:
adjustedProbePaths=foreach(mapcar probe geGetAllProbe() geGetAdjustedPath(hiGetCurrentWindow() strcat(probe~>pathList "/" probe~>pathObjectName)))
Thank you Andrew!
This is exactly what I want, problem solved!