author property
author property
Author information, default value is ‘3d@aspose’
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()
# node's name is required to export attributes
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()
# Properties with rvm: prefix will be exported.
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 author(self):
...
@author.setter
def author(self, value):
...
See Also
- module
aspose.threed.formats
- class
RvmSaveOptions