File3dmSettings

References
public class File3dmSettings
General settings in a 3dm file.

Properties

ActiveViewId

#Since v8.36
public Guid ActiveViewId { get; set; }
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.

AnalysisMeshingParameters

#Since v8.36
public MeshingParameters AnalysisMeshingParameters { get; set; }
The meshing parameters used for analysis meshes (curvature, draft angle, ...).

CurrentColor

#Since v8.36
public Color CurrentColor { get; set; }
The colour new objects are created with.

CurrentDimensionStyleId

#Since v8.36
public Guid CurrentDimensionStyleId { get; set; }
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.

CurrentHatchPatternId

#Since v8.36
public Guid CurrentHatchPatternId { get; set; }
The id of the current hatch pattern.

CurrentLayerId

#Since v8.36
public Guid CurrentLayerId { get; set; }
The id of the layer new objects are created on.

CurrentLinePatternId

#Since v8.36
public Guid CurrentLinePatternId { get; set; }
The id of the current line pattern (linetype).

CurrentPlotColor

#Since v8.36
public Color CurrentPlotColor { get; set; }
The plot colour new objects are created with.

CurrentRenderMaterialId

#Since v8.36
public Guid CurrentRenderMaterialId { get; set; }
The id of the current render material.

CurrentTextStyleId

#Since v8.36
public Guid CurrentTextStyleId { get; set; }
The id of the current text style.

CurrentWireDensity

#Since v8.36
public int CurrentWireDensity { get; set; }
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.

CustomRenderMeshingParameters

#Since v8.36
public MeshingParameters CustomRenderMeshingParameters { get; set; }
The meshing parameters stored as the model's custom render mesh settings.

GridDefaults

#Since v8.36
public ConstructionPlaneGridDefaults GridDefaults { get; set; }
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.

InstanceDefinitionLinkUpdate

#Since v8.36
public int InstanceDefinitionLinkUpdate { get; set; }
How instance definition links are updated when the model is opened.

LinetypeDisplayScale

#Since v8.36
public double LinetypeDisplayScale { get; set; }
The document-wide linetype pattern display scale.

MeshingParameters

#Since v8.36
public MeshingParameters MeshingParameters { get; set; }
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.

ModelAbsoluteTolerance

#Since v5.0
public double ModelAbsoluteTolerance { get; set; }
Gets or sets the model space absolute tolerance.

ModelAngleToleranceDegrees

#Since v5.0
public double ModelAngleToleranceDegrees { get; set; }
Gets or sets the model space angle tolerance.

ModelAngleToleranceRadians

#Since v5.0
public double ModelAngleToleranceRadians { get; set; }
Gets or sets the model space angle tolerance.

ModelBasepoint

#Since v5.0
public Point3d ModelBasepoint { get; set; }
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.

ModelDistanceDisplayMode

#Since v9.0
public DistanceDisplayMode ModelDistanceDisplayMode { get; set; }
Gets or sets the model space distance display mode (decimal, feet, or feet and inches).

ModelDistanceDisplayPrecision

#Since v9.0
public int ModelDistanceDisplayPrecision { get; set; }
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.

ModelRelativeTolerance

#Since v5.0
public double ModelRelativeTolerance { get; set; }
Gets or sets the model space relative tolerance.

ModelUnits

#Since v9.0
public LengthUnit ModelUnits { get; set; }
Gets or sets the model length units, using LengthUnit value.

ModelUnitSystem

#Since v5.0
public UnitSystem ModelUnitSystem { get; set; }
Gets or sets the model unit system, using UnitSystem enumeration.

ModelUrl

#Since v5.0
public string ModelUrl { get; set; }
Gets or sets a Uniform Resource Locator (URL) direction for the model.

PageAbsoluteTolerance

#Since v5.0
public double PageAbsoluteTolerance { get; set; }
Gets or sets the page space absolute tolerance.

PageAngleToleranceDegrees

#Since v5.0
public double PageAngleToleranceDegrees { get; set; }
Gets or sets the page space angle tolerance.

PageAngleToleranceRadians

#Since v5.0
public double PageAngleToleranceRadians { get; set; }
Gets or sets the page space angle tolerance.

PageDistanceDisplayMode

#Since v9.0
public DistanceDisplayMode PageDistanceDisplayMode { get; set; }
Gets or sets the page space distance display mode (decimal, feet, or feet and inches).

PageDistanceDisplayPrecision

#Since v9.0
public int PageDistanceDisplayPrecision { get; set; }
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.

PageRelativeTolerance

#Since v5.0
public double PageRelativeTolerance { get; set; }
Gets or sets the page space relative tolerance.

PageUnits

#Since v9.0
public LengthUnit PageUnits { get; set; }
Gets or sets the page length units, using LengthUnit value.

PageUnitSystem

#Since v5.0
public UnitSystem PageUnitSystem { get; set; }
Gets or sets the page unit system, using UnitSystem enumeration.

RenderSettings

#Since v8.0
public RenderSettings RenderSettings { get; }
Gets or sets the render settings.

SaveTextureBitmapsInFile

#Since v8.36
public bool SaveTextureBitmapsInFile { get; set; }
Whether texture bitmaps are embedded in the model when it is saved.

Methods

LoadedPlugIns

#Since v9.0
public IEnumerable<File3dmPlugInDetails> LoadedPlugIns()
Information about the plug-ins loaded when the file was last saved