Material.UnresolvedFullname

Introduced

v4.0

Description

Returns the fullname of the material this object should be pointing to as a String. This is non-empty only when Material.IsResolved) returns False.

Examples

VBScript Example

NewScene , false
set oRoot = Application.ActiveProject.ActiveScene.Root
set oCube = oRoot.AddGeometry("Cube","MeshSurface")
set oMaterial = oCube.AddMaterial("Phong", siBranch)
set oCylinder = oRoot.AddGeometry("Cylinder","MeshSurface")
oCylinder.SetMaterial oMaterial
Application.LogMessage oMaterial.UnresolvedFullname
' This example should log something like:
' INFO :