ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
OTOlexandra T.19/07/2018

Hi! I want to get texture from part (faces) in SW using SolidWorks API. In API Help I find methods GetTessTextures andIGetTessTextures. With this method i have an array with double values, U and V, for mapping texture. But when i apply this coordinates to part in another app, texture is very diffrent from SW(position and scale). Also i have scale values of texture (about 0,04) for face. So, when i apply texture coordinates to surface programmaticaly, what should i do to have it same as in the SW?

1. Work only with values from GetTessTextures method?

2. Also work with texture scale, like GetTessTextures.U*scale, GetTessTextures.V*scale?

3. Am i right when work with GetTessTextures to get texture coordinates or i should work with another method?

Thanks for any help.