Quintiq file version 2.0
#parent: #root
Method GetDisplayName (Lib3DS_Entity entity) as String id:Method_ApplicationLib3DSpace_GetDisplayName
{
  #keys: '[138112.0.836424017]'
  Body:
  [*
    name := 'Unknown';
    
    if( not isnull( entity ) )
    {
      if( entity.PLMName() <> '' )
      {
        name := entity.PLMName();
      }
      else
      {
        name := entity.Name();
      }
    }
    
    return name;
  *]
}
