The Device Import (

) refers to a previously defined package in the repository to include that package’s device models and port models for the current interface. To avoid name collisions with other device models of the current interface, the
Device Import node also defines a reference convention how the content of the package extends its types to the owner of the
Device Import node. For example, when the using
As is in the
Import as list, the type of the package prepends all types of device models in the package. A device model with the type
Resistor under the package
Analog, you can access with the full type
Analog.Resistor.
To add a Device Import to a physics feature or physics property node, right-click the node and choose
Device Import from the
Devices submenu. If added under any of these nodes or a
Component node, the device import belongs to the device models closest in the hierarchy. For most cases this will be the device model added by the physics interface.
The Settings window has the following section:
In the Package field you specify the type of the package to import. The exact syntax to use for device models in that package, depends on the options of the
Import as list:
As is (the default),
All under package, or
Named import. The option
As is will just prepend the type of the package to the types of all its content (Device Model, Port Model, or another Device Package); see the above example. The types are always separated with a dot. The option
All under package does not prepend anything, so you can access the content as if it was added directly by the parent of the
Device Import node. Be aware of the risk of type conflicts when using this option. The last option,
Named import, lets you choose a name in the
Name field to use when prepending the types of the content.