export_attributes property
export_attributes property
Gets or sets whether to export the attribute list to an external .att file, default value is false.
Example
The following code shows how to export attribute in RVM.
from aspose.threed import Scene
from aspose.threed.entities import Box
from aspose.threed.formats import RvmSaveOptions
scene = Scene()
box = Box().to_mesh()
# Düğümün adı, öznitelikleri dışa aktarmak için gereklidir
boxNode = scene.root_node.create_child_node("box", box)
boxNode.set_property("rvm:Price", 12.0)
boxNode.set_property("rvm:Weight", 30.0)
opt = RvmSaveOptions()
# rvm: önekiyle başlayan özellikler dışa aktarılacaktır.
opt.export_attributes = True
opt.attribute_prefix = "rvm:"
opt.author = "Aspose.3D"
opt.file_note = "Test attribute export"
scene.save("output.rvm", opt)
Definition:
@property
def export_attributes(self):
...
@export_attributes.setter
def export_attributes(self, value):
...
See Also
- module
aspose.threed.formats - class
RvmSaveOptions