#python

import k3d
import sys

document = k3d.new_document()
node = k3d.plugin.create("Null", document)

types = [ "k3d::color", "k3d::point4", "k3d::int32_t", "k3d::matrix4", "k3d::normal3", "k3d::point3", "k3d::double_t", "k3d::string_t", "k3d::vector3" ]

for type in types:
	attribute_name = "test"
	name = type
	label = type
	description = ""
	k3d.property.ri.create_attribute(node, type, attribute_name, name, label, description)

for type in types:
	name = type
	print type + " value:", node.get_property(name).internal_value()

