Skip to content

Miscellaneous

Curtis Holt edited this page Oct 3, 2020 · 2 revisions

Miscellaneous


Data Management

clear_unused_data()

Clears data not assigned to a user. The equivalent of calling bpy.ops.outliner.orphans_purge().

clear_unwanted_data()

Convenience function for clear_unused_data()


Data Construction

make_vector(data)

Returns a 'Vector' type constructed from data, which should be a basic list of values, e.g.: [1.0, 2.0, 3.0]


Data Checks

is_string(ref)

Returns a true or false value depending on whether ref is a string type.

Clone this wiki locally