MakeRelativeToModel Data Member Function

Converts the file path to a relative path using the Model's Filename ( which is always an absolute path ) as the frame of reference.

Prototype

int32 MakeRelativeToModel( Node p_oNodeInModel || p_oModel )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oNodeInModel || p_oModelA <Node> in the Model ( or the Model itself ).

Examples

Copy Text To Clipboard

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