libraryPrettyName()

Synopsis

Given a design library name , string , or "spec", returns a library's pretty name. If the library is not found, NoValue is returned.

Syntax

libraryPrettyName ( libspec As Any ) As Any 
Argument Type Description
libspec Any The design library as a name , string , or library spec.

Example 1

Intent >libraryPrettyName(:baseLib) 
--> "Base Library" 

Example 2

Intent >libraryPrettyName("baseLib") 
--> "Base Library" 

Example 3

Intent >libraryPrettyName(designLibrary(:basePart)) 
--> "Base Library (Inventor)" 

Example 4

Intent >libraryPrettyName(:unknownLib) 
--> NoValue 
libraryPrettyName() returned NoValue since the design library is nonexistent.