Expression path type,I don't understand
i am new driver,
At present, I find that different indentations can lead to different results!
I don't understand the difference between these three lines of code
detail("/obj/geo1/foreach_begin1_metadata1","iteration",0)
detail("../foreach_begin1_metadata1","iteration",0)
detail("/../../foreach_begin1_metadata1","iteration",0)
The results of the first two lines are the same, and the bottom line is different
Expression path type,I don't understand,please help me!
1684 2 2- lb29212746
- Member
- 3 posts
- Joined: 9月 2019
- Offline
- frBorges34
- Member
- 38 posts
- Joined: 6月 2019
- Offline
Not sure if I understand correctly your question, but :
The first one refers to the foreach_begin1_metadata1 iteration's attribute, using the absolute path.
The second one refers to the same, using a relative path
the third looks two levels above the level where the actual (relative, again) path is declared
Houdini node's organization is working like a file system, and therefore works with the same type of path declaration that is found in a lot of coding languages (Historically, I'd say Unix system, but I'm not a specialist)
The documentation has some explanation on it [www.sidefx.com].
Or you can find more info on this kind of site [pyrochlore.net]
The first one refers to the foreach_begin1_metadata1 iteration's attribute, using the absolute path.
The second one refers to the same, using a relative path
the third looks two levels above the level where the actual (relative, again) path is declared
Houdini node's organization is working like a file system, and therefore works with the same type of path declaration that is found in a lot of coding languages (Historically, I'd say Unix system, but I'm not a specialist)
The documentation has some explanation on it [www.sidefx.com].
Or you can find more info on this kind of site [pyrochlore.net]
- lb29212746
- Member
- 3 posts
- Joined: 9月 2019
- Offline
frBorges34 34Oh, thank you so much. I forgot about it
Not sure if I understand correctly your question, but :
The first one refers to the foreach_begin1_metadata1 iteration's attribute, using the absolute path.
The second one refers to the same, using a relative path
the third looks two levels above the level where the actual (relative, again) path is declared
Houdini node's organization is working like a file system, and therefore works with the same type of path declaration that is found in a lot of coding languages (Historically, I'd say Unix system, but I'm not a specialist)
The documentation has some explanation on it [www.sidefx.com].
Or you can find more info on this kind of site [pyrochlore.net]
-
- Quick Links