📋 Metadata

💬 Content

MatsuikoHiroka:

hello i want to get rid some of the choices ( length of unit setup )
i want to remove other menus like Adaptive Kilometers Micrometers

Hi @MatsuikoHiroka,
You also can add custom EnumProperty with these slots:

METERS|Meters
CENTIMETERS|Centimeters
MILLIMETERS|Millimeters

Getter:

return self.rna_type.properties[menu].enum_items.find(C.scene.unit_settings.length_unit)

Setter

C.scene.unit_settings.length_unit = self.rna_type.properties[menu].enum_items[value].identifier

Here is json file to import.


❤️ 4 likes


🔗 View on Blender Artists