FileReference

class rhino3dm.FileReference
FullPath

str: Gets the absolute path of this file reference.

RelativePath

str: Gets the relative path of this file reference.

static CreateFromFullPath(path)

Returns a new file reference. This returns a new instance even if the path does not exist.

Parameters:

fullPath (str) – A full path.

Returns:

A file reference to the specified path.

Return type:

FileReference

static CreateFromFullAndRelativePaths(fullPath, relativePath)

Returns a new file reference. This returns a new instance even if the path does not exist.

Parameters:
  • fullPath (str) – A full path. This parameter cannot be null.

  • relativePath (str) – A relative path. This parameter can be null.

Returns:

A file reference to the specified paths.

Return type:

FileReference