ZBrushCentral

question: How to get a displacement map's name

Hi,

I’m trying to get a displacement map’s name from its tool.
I found that I could get the current texture’s name using [IGetTitle, Texture:Current Texture]
but I couldn’t figure out how to do it with a displacement map.

I’d appreciate it if anyone can let me know how to do this.

Thanks for your help.

You can use:

[VarSet,dispname,[IGetTitle,“Tool:Displacement Map:Displacement Map”]]

Also, you might want to use:

[VarSet,txtrname,[IGetTitle,“Tool:Texture Map:Texture Map”]]

as the code you have gets the name from the Texture palette and that might not be the same as the map applied to the subtool.

Good links:
http://docs.pixologic.com/user-guide/3d-modeling/exporting-your-model/vector-displacement-maps/