Hello!
I have a Attribute Wrangle with string:
s@pathid = “$JOB” + “/id/map/”+detail(0, “matName”,0)+“_id.png”;
it make a detail attribute like that:
CUsers/Danil/Documents/HoudiniProjects/Nervous/id/map/Vertebra_thoracica_thvi_id.png
why i can`t use @pathid in Texture Map of node attribfrommap? how to do it right?
procedural path to texture map
2156 2 0- Danil Shaposhnikov
- Member
- 58 posts
- Joined: July 2013
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
you can't use local variables in Attribute From Map, which is what you are trying to do
however since your attrib is detail you can directly grab the value using detail() or details() expressions
so in your case:
if however you want to use multiple color maps for different sets of points you can just create s@cmap point attribute holding your paths and Attrib From Map will automatically use that value per point instead of what is in the filename parameter
thanks to the fact that it's build using VOPs and any Parameter vop can be automatically overriden with attributes of the same name, class and type
however since your attrib is detail you can directly grab the value using detail() or details() expressions
so in your case:
`details(0, "pathid")`
if however you want to use multiple color maps for different sets of points you can just create s@cmap point attribute holding your paths and Attrib From Map will automatically use that value per point instead of what is in the filename parameter
thanks to the fact that it's build using VOPs and any Parameter vop can be automatically overriden with attributes of the same name, class and type
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Danil Shaposhnikov
- Member
- 58 posts
- Joined: July 2013
- Offline
-
- Quick Links