RvmLoadOptions

RvmLoadOptions class

Load options for AVEVA Plant Design Management System’s RVM file.

Methods

constructor

NameDescription
constructor(contentType)Construct a RvmLoadOptions instance

Parameters:

NameTypeDescription
contentTypeFileContentTypeFileContentType

Result:


constructor_overload

NameDescription
constructor_overload()Construct a RvmLoadOptions instance

Result:


getGenerateMaterials

NameDescription
getGenerateMaterials()Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. Default value is true

Result:


setGenerateMaterials

NameDescription
setGenerateMaterials(value)Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. Default value is true

Result:


getCylinderRadialSegments

NameDescription
getCylinderRadialSegments()Gets or sets the number of cylinder’s radial segments, default value is 16

Result:


setCylinderRadialSegments

NameDescription
setCylinderRadialSegments(value)Gets or sets the number of cylinder’s radial segments, default value is 16

Result:


getDishLongitudeSegments

NameDescription
getDishLongitudeSegments()Gets or sets the number of dish’ longitude segments, default value is 12

Result:


setDishLongitudeSegments

NameDescription
setDishLongitudeSegments(value)Gets or sets the number of dish’ longitude segments, default value is 12

Result:


getDishLatitudeSegments

NameDescription
getDishLatitudeSegments()Gets or sets the number of dish’ latitude segments, default value is 8

Result:


setDishLatitudeSegments

NameDescription
setDishLatitudeSegments(value)Gets or sets the number of dish’ latitude segments, default value is 8

Result:


getTorusTubularSegments

NameDescription
getTorusTubularSegments()Gets or sets the number of torus’ tubular segments, default value is 20

Result:


setTorusTubularSegments

NameDescription
setTorusTubularSegments(value)Gets or sets the number of torus’ tubular segments, default value is 20

Result:


getRectangularTorusSegments

NameDescription
getRectangularTorusSegments()Gets or sets the number of rectangular torus’ radial segments, default value is 20

Result:


setRectangularTorusSegments

NameDescription
setRectangularTorusSegments(value)Gets or sets the number of rectangular torus’ radial segments, default value is 20

Result:


getCenterScene

NameDescription
getCenterScene()Center the scene after it’s loaded.

Result:


setCenterScene

NameDescription
setCenterScene(value)Center the scene after it’s loaded.

Result:


getAttributePrefix

NameDescription
getAttributePrefix()Gets or sets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:”

Result:


setAttributePrefix

NameDescription
setAttributePrefix(value)Gets or sets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:”

Result:


getLookupAttributes

NameDescription
getLookupAttributes()Gets or sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.

Result:


setLookupAttributes

NameDescription
setLookupAttributes(value)Gets or sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: