Last active
April 11, 2024 00:41
-
-
Save alexschreyer/0df7b3d06f6067a1371ed1e21286f7c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
Available version constants: | |
Sketchup::Model::VERSION_3 | |
Sketchup::Model::VERSION_4 | |
Sketchup::Model::VERSION_5 | |
Sketchup::Model::VERSION_6 | |
Sketchup::Model::VERSION_7 | |
Sketchup::Model::VERSION_8 | |
Sketchup::Model::VERSION_2013 | |
Sketchup::Model::VERSION_2014 | |
Sketchup::Model::VERSION_2015 | |
Sketchup::Model::VERSION_2016 | |
Sketchup::Model::VERSION_2017 | |
Sketchup::Model::VERSION_2018 | |
Sketchup::Model::VERSION_2019 | |
Sketchup::Model::VERSION_2020 | |
Sketchup::Model::VERSION_2021 | |
=end | |
# Save the currently open file as a 2017 version file | |
status = Sketchup.active_model.save( "D:/test.skp" , Sketchup::Model::VERSION_2017 ) | |
# Save a COPY of the currently open file as a 2017 version file | |
status = Sketchup.active_model.save_copy( "D:/test.skp" , Sketchup::Model::VERSION_2017 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment