designLibrary()

Synopsis

Given the name of a design , returns a "spec" for the library from which it came. If the design was not already loaded, this function tries to load it. If the design is successfully loaded, returns a list containing one element, the library name. If the design cannot be loaded or found, returns NoValue .

In a future release, when hierarchical libraries are supported, this list will contain more data. Attempting to load the design is subject to change in the future.

Syntax

designLibrary ( Design_ As Name ) As Any 
Argument Type Description
Design_ Name The name of the design .

Example 1

BasePart library
Intent >designLibrary( :BasePart)
--> {"ivbaselib"}

Example 2

Unknown design
Intent >designLibrary( :UnknownDesign)
--> NoValue