![]() entities ) do | entity, transformation, path | # Do something to every visible entity in the model. walk ( entities, transformation = IDENTITY, path =, & block ) entities. # "DrawHiddenGeometry" and "DrawHiddenObjects" rendering options.ĭef self. is_a? ( Sketchup :: Group ) end # Walk the visible entities in the model, taking into account is_a? ( Sketchup :: ComponentInstance ) || entity. Traversing every visible entity in the model module Example def self. The #active_path= method is used to open a given instance path for editing. Model.start_operation('.', true, false, true)įor the end user this will be experienced as a single operation.įor the API user the side-effect is multiple transaction notifications to Sketchup::ModelObservers. I downloaded solar-north - so it goes into my downloads folder. I did access it from my browser, and was signed-in automatically. OK - sorted I could access the warehouse from within Sketchup, but wasnt signed in and couldnt sign in. Then SketchUp will automatically break it up to something like to this: model.start_operation('.', true) Re: solar north plugin (2015) by dcauldwell » Mon 4:37 pm. If the API user tries to do this: model.start_operation('.', true) The API handles this automatically by starting and committing transparent operations as needed. Since changing the active entities in SketchUp also changes what coordinate system is used, entities can't be modified in the same operation as the active entities changes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |