blendersynth.utils.version

blendersynth.utils.version.is_version(version_num)[source]

Check if the Blender version is equal to the given version number.

If integer provided, only checks major version.

Parameters:

version_num (Union[int, float]) – version number to check against

Return type:

bool

blendersynth.utils.version.is_version_plus(version_num)[source]

Check if the Blender version is greater than or equal to the given version number.

is_version_plus(4.0) equivalent to is version 4.0+

Parameters:

version_num (Union[int, float]) – version number to check against

Return type:

bool