cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get the path of texture

Hi,

How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.

Could you help me? Thanks in advance.
1 Solution

Accepted Solutions
scandi wrote:
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
A body texture image is best accessed through a body material using ModelerAPI::MeshBody::GetMaterial
You can get the texture for the material using ModelerAPI::Material::GetTexture
The texture bitmap (if it has one) can be accessed from the texture using ModelerAPI::Texture::GetPixelMap
Ralph Wessel BArch
Central Innovation

Go to post

2 Replies 2
scandi wrote:
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
A body texture image is best accessed through a body material using ModelerAPI::MeshBody::GetMaterial
You can get the texture for the material using ModelerAPI::Material::GetTexture
The texture bitmap (if it has one) can be accessed from the texture using ModelerAPI::Texture::GetPixelMap
Ralph Wessel BArch
Central Innovation
Anonymous
Not applicable
Ralph wrote:
scandi wrote:
How could I get the path of texture? I am trying to export the model by using Modeler::element, but I could not find the way to get the texture file location.Could you help me?
A body texture image is best accessed through a body material using ModelerAPI::MeshBody::GetMaterial
You can get the texture for the material using ModelerAPI::Material::GetTexture
The texture bitmap (if it has one) can be accessed from the texture using ModelerAPI::Texture::GetPixelMap
I see. Thank you!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!