ResolveNodeRelativePath Data Member Function

Converts a relative file path to an absolute file path based on the filename of <Model3D> pointer of the node submitted to this function. You can also submit a <Model3D> pointer since <Model3D> is a type of <Node> (it's the document root node).

Prototype

string ResolveNodeRelativePath( Node p_oNodeInModel, string p_sRelativePath )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oNodeInModelA pointer to a <Model3D> or <Node> object in a document that has been saved.
stringp_sRelativePathThe relative file path to convert to an absolute path. This path is treated as being relative to the path of the filename of the <Model3D> object or <Node> object's <Model3D> pointer.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.