request .. call an entity by its name

request .. call an entity by its name

november92
.. I think this is not a new question .. but I want to have this POSSIBLE or NOT ! :D ____ you can call an entity by 'Sketchup.active_model.entities[x]' ... you can call the chosen by using its OnTick: '$curEvalGroup' or 'this' .. but if I want to reach an object with a number I don't know (which means I can't write 'entities[x]') but with its name (defined in entity info > name) .. a not working but fine way would be this example: entities("example_box").material="red" ______ you know? #sketchyphysics
Default Title