I want to access an object after it’s imported but still not placed.
Is there a way to do it?
I have tried:
Sketchup.active_model.active_view.refresh # Refresh view
id = UI.start_timer(2, false) # set timer
Is there a way to maybe automatically place an object in the scene on import?
Dir.chdir(path) {
import = model.import(file_name, options)
}
model = Sketchup.active_model
entities = model.entities # no imported model
selection = model.selection # no imported model
Fixes/improvements are never backported. You’d have to use the minimum version for that feature. This will off course mean your extension’s minimum supported SU version will be SU2021.1.