From the Google Engineer who created Dynamic Components for SketchUp and posted this code on the SketchUcation Forum.
From the Google Engineer who created Dynamic Components for SketchUp and posted this code on the SketchUcation Forum: UI. Menu("Plugins"). Add_item('Make Sang Red') { # Assumes that sang is the 1st entity in model.
Sang = Sketchup. Active_model. Entities0 sang_def = sang.
Definition # Override sang's shirt color to red. ("material" # is a special attribute that requires # you to set a formula to "take control" # over the default material the user has painted. ) sang_def.
Set_attribute 'dynamic_attributes', 'material', 'red' sang_def. Set_attribute 'dynamic_attributes', '_material_formula', '"red"' # Add a new configurable option to Sang. # (Any attribute that starts with an underscore # is a "meta attribute" that describes behavior.) sang_def.
Set_attribute 'dynamic_attributes', 'weight', '145' sang_def. Set_attribute 'dynamic_attributes', '_weight_label', 'weight' sang_def. Set_attribute 'dynamic_attributes', '_weight_formlabel', 'My Weight' sang_def.
Set_attribute 'dynamic_attributes', '_weight_units', 'STRING' sang_def. Set_attribute 'dynamic_attributes', '_weight_access', 'TEXTBOX' # Change the description that shows # up in the configure box with a custom # formula. Sang_def.
Set_attribute 'dynamic_attributes', '_description_formula', '"Sang is now red and weighs " & weight' # There is a global handle into the plugin that # allows you to make the same calls that the # plugin does, like so... dcs = $dc_observers. Get_latest_class dcs. Redraw_with_undo(sang) }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.