I wanted to retrieve the saved file name but the following is not working…
model = Sketchup.active_model name = model.name
The workaround for this was the following…
model = Sketchup.active_model path = model.path[0...-4] name = path.split('\\') name = name.last
Does the API have an easier method to get the file name?
Thanks in advance!