Saturday, May 15, 2010

Cruising Gay Areas Va

Something I reraise a model to the 3D Warehouse Turning

Sometimes I wanted to reupload a model to the 3D Warehouse and I had the problem instead of replacing the old model, generating a new one. Apart from having to erase the old, also lost all the ratings it had obtained. Well, here's a quick tutorial for the re-raise to replace the old model.

The web address of the 3D models have the following structure:
http://sketchup.google.com/3dwarehouse/details?mid = 2ebb1e63c82fa8083ecfad39b719ed2d
The last part of direction, marked in red, is the model code the 3D Warehouse. Each model has a different and its alphanumeric identifier.

To see the model code must be entered in the Ruby Console:
Sketchup.active_model.get_attribute (DWarehouse '3 ',' Model ')
If the console will respond ' nil ', that means no code, and whether that has not yet been uploaded to the 3D Warehouse model or that is lost when modifying the model.

When the code to retrieve a file to upload does not lead to another file but to replace the existing one should be introduced in the Ruby Console:
Sketchup.active_model.set_attribute ('3 DWarehouse ',' model ',' 3D-gallery-code ')
As the model code to the 3D Warehouse, which appears on page of the model we want to replace.

PD 1: The Ruby Console is Window> Ruby Console .
PD 2: Information from 3D Challenge participation manual , by Jm @ n .

0 comments:

Post a Comment