Returns the full name of the object (as a String). The full name contains the context of the object in addition to the Name property of the object. For more information, see the description and examples under SIObject.Name.
' ' This example displays the full name of an X3DObject, its primitive ' and its geometry and compares these values to the simple name ' set oObj = ActiveProject.ActiveScene.Root.AddGeometry( "Disc", "MeshSurface" ) getNameInfo oObj getNameInfo oObj.Kinematics getNameInfo oObj.Kinematics.Global function getNameInfo( in_object ) Application.LogMessage "Class = " & ClassName( in_object ) Application.LogMessage "Name = " & in_object.Name Application.LogMessage "FullName = " & in_object.FullName Application.LogMessage "-----------------------------" end function ' Output of above script: 'INFO : "Class = X3DObject" 'INFO : "Name = disc" 'INFO : "FullName = disc" 'INFO : "-----------------------------" 'INFO : "Class = Kinematics" 'INFO : "Name = Kinematics" 'INFO : "FullName = disc.kine" 'INFO : "-----------------------------" 'INFO : "Class = KinematicState" 'INFO : "Name = Global Transform" 'INFO : "FullName = disc.kine.global" |