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).
string ResolveNodeRelativePath( Node p_oNodeInModel, string p_sRelativePath )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Node> | p_oNodeInModel | A pointer to a <Model3D> or <Node> object in a document that has been saved. |
string | p_sRelativePath | The 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. |
None published. Please look for an example in the Scenome Scripting Language code base.