RhinoCommon API
UtilitiesLoadPersistentRenderContentFromFile Method |
Loads a content from a library file and adds it to the persistent content list of a particular document.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
public static RenderContent LoadPersistentRenderContentFromFile( uint docSerialNumber, string filename )
Public Shared Function LoadPersistentRenderContentFromFile ( docSerialNumber As UInteger, filename As String ) As RenderContent
Parameters
- docSerialNumber
- Type: SystemUInt32
identifies the document into which the content should be loaded. - filename
- Type: SystemString
is the full path to the file to be loaded.
Return Value
Type: RenderContentThe loaded content or null if an error occurred.