Hi, when I import a sketchup model, the material is located in some temp folder, so when I do a save as to a location where I would like to store the model I loose all the material.
Of course I can copy all the materials from the temp location into the correct folder and reassign the material.
But wouldn't it be nice when I do a save as to have everything included?
Or do I do something wrong? How do you do when saving models from 3D Warehouse to your local system?
You try > Put as a cell... ?
You try > Put as a cell... ?
I have tried several ways.
1. Use Utilities 3D warehouse, import a model and then save as DGN - material is lost
2. Directly download SKP file from 3D warehouse and attach as cell, then close MicroStation and open again - material is lost
3. Directly download SKP file from 3D warehouse and attach as reference, then close MicroStation and open again - material is still there
But cells would be best for this in theory, but isn't in reality.
MicroStation 08.11.09.829MicroStation Connect Update 11ProjectWise 08.11.11.590LumenRT Update 11
Something's wrong with your settings. Local materials are supposed to be carried with the DGN file they're attached to, not stored in a seperate folder. From Help:
Local materials are stored within the DGN file itself rather than in external library files. Storing the materials in the DGN file allows for an element´s material definition to be handled in a manner that is more consistent with other element properties such as level, text style, and the like. For example, when an element is copied from a reference file, its level (if it does not already exists) is copied as well — it is never possible in normal operation for an element to lose its level. In a similar manner, with local materials, copying an element from a reference file causes its material definition also to be copied to the master file. By tightly binding a material to an element (or level), it is possible to insure that the object is always rendered with that material, thus helping to insure that rendering is more repeatable.
When local materials are used, created from external palettes, a material palette file is required only the first time that a material is applied. Once you have created a local material, the material definition is saved with the DGN file. You then can use that material in any models of the DGN without the need for external files (external material tables and material palette files).
Where a material is imported, or a new material created, then a local material and palette is created. In these cases, a material is created that has no association with an external definition. You can create external versions of these local materials from the Table menu in the Material Editor.
You are both correct, and both not.
Local Materials are stored in the dgn , but NOT the bitmaps (jpeg/tif etc.) optionally used.
So the imported model doesn't loose the materials it looses the path to the bitmaps which are indeed stored in a temporary path.
Nevertheless the result is the same. Any imported material which uses a bitmap (i.e. as pattern) could not be shown after reopening the drawing.
Maybe someone knows a variable to be set to store the bitmaps in a path that might be found later.
Are the bit maps in Mstn limited by the 32bit limit like the raster refs?
Would be good if the extra memory would be accessible if on Win 7 64bit.
You can copy the bitmap from the temporary path to the pattern path, then adapt the material with the material editor.
Seems MS_SKETCHUP_IMAGE could be used to define where those bitmaps are saved, and is automatically searched when reopening the drawing. At least at my side this works. When the variable is set to an unexisting path (seems to happen at a number of installations) the images are not to be find on reopen.
Michael's advice is correct - let me know if you still have issues after following it.
the basic problem is, that Ustn defines this path in sketchup.cfg to be $(_USTN_PROJECTDATA)sketchupimage/
which is a non existent path for all installations. Against the comment in the help this directory is never created automatically.
So Bentley should correct this for the next installations to point to an existing path by updating the _USTN_PROJECTSUBDIRS to contain sketchupimage or use a path in the standard dir (or really create it automatically, which I find the worst case).
how do I have to change my configuration when I have a folder "sketchup_images" in let´s say C:\BentleyWorkspace\System\Materials?