The name of material pattern can be determined by
MaterialMap* mMap;
mMap->fileName; (in V8i) or
MaterialMapLayerP layer;
layer->GetFileName(); (in CONNECT)
Result ist the 'short' filename, e.g. 'brick30.jpg'
How can I determine the full filename with path (in both versions)?
Best regards
Tom
Hi Tom,
MicroStation usually finds those files with the help of configuration variables. So I would suggest to use "mdlFile_findExt()" and feed this function with "MS_MATERIAL", this should give you the right file. HTH
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
Hi Volker,
that is correct, but we are not able to find a 'lokal' material, e.g. with a pattern 'Tom.jpg' in C:\projekts. But it should be possible. Collada-export generates correct filenames in all cases...
Thank you!