attribute_list_file property
attribute_list_file property
Gets or sets the file name of attribute list file, exporter will generate a name based on the .rvm file name when this property is undefined, default value is null.
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 attribute_list_file(self):
...
@attribute_list_file.setter
def attribute_list_file(self, value):
...
See Also
- module
aspose.threed.formats - class
RvmSaveOptions