Click or drag to resize

File3dmSettings Class

General settings in a 3dm file.
Inheritance Hierarchy
SystemObject
  Rhino.FileIOFile3dmSettings

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class File3dmSettings

The File3dmSettings type exposes the following members.

Properties
  NameDescription
Public propertyActiveViewId
The viewport id of the view that is active when the model is opened. When this is nil Rhino activates the first view in the view table.
Public propertyAnalysisMeshingParameters
The meshing parameters used for analysis meshes (curvature, draft angle, ...).
Public propertyCurrentColor
The colour new objects are created with.
Public propertyCurrentDimensionStyleId
The id of the dimension style new annotation uses. When this is nil Rhino falls back to the obsolete V5 index, which selects the first style in the table - so a template that leaves it nil can open with the wrong annotation style current.
Public propertyCurrentHatchPatternId
The id of the current hatch pattern.
Public propertyCurrentLayerId
The id of the layer new objects are created on.
Public propertyCurrentLinePatternId
The id of the current line pattern (linetype).
Public propertyCurrentPlotColor
The plot colour new objects are created with.
Public propertyCurrentRenderMaterialId
The id of the current render material.
Public propertyCurrentTextStyleId
The id of the current text style.
Public propertyCurrentWireDensity
The surface isocurve density new objects are created with. -1 draws no isocurves, 0 draws the surface edges only, and n > 0 draws n isocurves per span.
Public propertyCustomRenderMeshingParameters
The meshing parameters stored as the model's custom render mesh settings.
Public propertyGridDefaults
The construction plane grid defaults new views inherit: grid and snap spacing, line counts, and whether the grid, its axes and the world axes icon are drawn.
Public propertyInstanceDefinitionLinkUpdate
How instance definition links are updated when the model is opened.
Public propertyLinetypeDisplayScale
The document-wide linetype pattern display scale.
Public propertyMeshingParameters
The meshing parameters Rhino uses to build render meshes for this model. Rhino derives the "Jagged & faster" / "Smooth & slower" choice from these when the model is opened, so a model that leaves them at the openNURBS default gets jagged render meshes.
Public propertyModelAbsoluteTolerance
Gets or sets the model space absolute tolerance.
Public propertyModelAngleToleranceDegrees
Gets or sets the model space angle tolerance.
Public propertyModelAngleToleranceRadians
Gets or sets the model space angle tolerance.
Public propertyModelBasepoint
Gets or sets the model base point that is used when the file is read as an instance definition.

This point is mapped to the origin in the instance definition.

Public propertyModelDistanceDisplayMode
Gets or sets the model space distance display mode (decimal, feet, or feet and inches).
Public propertyModelDistanceDisplayPrecision
Gets or sets the model space distance display precision. In decimal mode this is the number of decimal places; in fractional modes the denominator is (1/2)^precision. Valid values are >= 0 and <= 7.
Public propertyModelRelativeTolerance
Gets or sets the model space relative tolerance.
Public propertyModelUnits
Gets or sets the model length units, using LengthUnit value.
Public propertyModelUnitSystem
Gets or sets the model unit system, using UnitSystem enumeration.
Public propertyModelUrl
Gets or sets a Uniform Resource Locator (URL) direction for the model.
Public propertyPageAbsoluteTolerance
Gets or sets the page space absolute tolerance.
Public propertyPageAngleToleranceDegrees
Gets or sets the page space angle tolerance.
Public propertyPageAngleToleranceRadians
Gets or sets the page space angle tolerance.
Public propertyPageDistanceDisplayMode
Gets or sets the page space distance display mode (decimal, feet, or feet and inches).
Public propertyPageDistanceDisplayPrecision
Gets or sets the page space distance display precision. In decimal mode this is the number of decimal places; in fractional modes the denominator is (1/2)^precision. Valid values are >= 0 and <= 7.
Public propertyPageRelativeTolerance
Gets or sets the page space relative tolerance.
Public propertyPageUnits
Gets or sets the page length units, using LengthUnit value.
Public propertyPageUnitSystem
Gets or sets the page unit system, using UnitSystem enumeration.
Public propertyRenderSettings
Gets or sets the render settings.
Public propertySaveTextureBitmapsInFile
Whether texture bitmaps are embedded in the model when it is saved.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadedPlugIns
Information about the plug-ins loaded when the file was last saved
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also