Utilities
Inheritance Hierarchy
System.Object
Rhino.Render.Utilities
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public static class Utilities
The Utilities type exposes the following members.
Properties
Name
Description
Public Property
Static Member
DefaultRenderPlugInId
Get the plug-in Id for the default render plug-in
Public Property
Static Member
ShowIncompatibleEnvironments
Specifies whether incompatible content should be shown in the corresponding editor.
Public Property
Static Member
ShowIncompatibleMaterials
Specifies whether incompatible content should be shown in the corresponding editor.
Public Property
Static Member
ShowIncompatibleTextures
Specifies whether incompatible content should be shown in the corresponding editor.
Methods
Name
Description
Public Method
Static Member
ChangeContentType
Changes the type of a content. This deletes the content and creates a replacement of the specified type allowing the caller to decide about harvesting.
Public Method
Static Member
FindFile(RhinoDoc, String)
Finds a file and also handles network shares.
Remarks
This is a replacement for CRhinoFileUtilities::FindFile().
Public Method
Static Member
FindFile(RhinoDoc, String, Boolean)
Finds a file and also handles network shares.
Remarks
This is a replacement for CRhinoFileUtilities::FindFile().
Public Method
Static Member
GetUnpackedFilesCacheFolder
Gets a folder associated with the document for unpacking textures to
Public Method
Static Member
IsCachedTextureFileInUse
Determines if any texture in any persistent content list is using the specified file name for caching.
Public Method
Static Member
LoadPersistentRenderContentFromFile
Loads a content from a library file and adds it to the persistent content list of a particular document.
Public Method
Static Member
MoveWindow
Public Method
Static Member
PromptForSaveImageFileParameters
Prompts the user for a save file name and the width, height and depth of an image to be saved.
Public Method
Static Member
SafeFrameEnabled
Queries whether or not the Safe Frame is visible.
Public Method
Static Member
SetDefaultRenderPlugIn
Set default render application
Public Method
Static Member
ShowContentChooser(Guid, Guid, RenderContentKind, Guid., RenderContent.ShowContentChooserFlags, RhinoDoc)
Shows the content chooser to allow the user to select a new or existing content.
Public Method
Static Member
ShowContentChooser(RhinoDoc, Guid, Guid, RenderContentKind, RenderContent.ShowContentChooserFlags, String, IEnumerable.String., IEnumerable.Guid., .Guid..)
Shows the content chooser to allow the user to select a new or existing content, or multiple contents.
Public Method
Static Member
ShowContentChooser(RhinoDoc, Guid, Guid, RenderContentKind, Utilities.ContentChooserFlags, String, IEnumerable.String., IEnumerable.Guid., .Guid..)
Shows the content chooser to allow the user to select a new or existing content, or multiple contents.
Public Method
Static Member
ShowIORMenu
Display and track the context menu.