Given a design library name , string , or "spec", returns a library's pretty name. If the library is not found, NoValue is returned.
libraryPrettyName ( libspec As Any ) As Any
Argument | Type | Description |
---|---|---|
libspec | Any | The design library as a name , string , or library spec. |
Intent >libraryPrettyName(:baseLib)
--> "Base Library"
Intent >libraryPrettyName("baseLib")
--> "Base Library"
Intent >libraryPrettyName(designLibrary(:basePart))
--> "Base Library (Inventor)"
Intent >libraryPrettyName(:unknownLib)
--> NoValue
libraryPrettyName() returned
NoValue
since the
design
library is nonexistent.