Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I can't get a texture to save in the company appearance.dmt with the texture file saved. Is that because the save_texture_with_model does what it says and saves the texture with the CAD file?
Anyone have any luck saving a texture file in the appearance.dmt for use as a company standard? Hoping I am just missing something easy here. I tried putting the texture file (.jpg) in the same folder as the appearance file but that doesn't seem to be working. When I open up the appearance.dmt with a text editor the there is a color_map line that references my jpg filename so it is saved in that file. Does the full path need to be in there?
Solved! Go to Solution.
I've had lots of gripes about appearance.dmt stuff in the past, but not with texture. Not because I didn't find anything wrong with textures, but because I don't use them much.
From what I can tell by looking at the config.pro options available, you might need to use the texture_search_path to add a directory specification to the default path list. At least that's how it sounds from the description of the parameter.
Hopefully the description is correct and it adds to the path list, rather than replacing the current setting...
I've had lots of gripes about appearance.dmt stuff in the past, but not with texture. Not because I didn't find anything wrong with textures, but because I don't use them much.
From what I can tell by looking at the config.pro options available, you might need to use the texture_search_path to add a directory specification to the default path list. At least that's how it sounds from the description of the parameter.
Hopefully the description is correct and it adds to the path list, rather than replacing the current setting...
Perfect! that worked. Thanks for that suggestion.