Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

nlPrintModelName

nlPrintModelName( 
o_formatter 
o_instance 
) 
=> t / nil

Description

Prints the model name. The nlGetModelName for the instance is used for the model name.

Arguments

o_formatter

The formatter object.

o_instance

The object representing the instance.

Value Returned

t

The model name is printed.

nil

There is an error.

Examples

The following example prints the model name:

defmethod( nlPrintModelName ((formatter xyzFormatter) inst)
nlPrintString( nlGetNetlister( formatter ) " "
nlGetModelName( inst ))
)
=> t

If your simulator supports model name passing, you can use the function nlIsModelNameInherited and alter the formatting of the instance line for the scenario as per the requirements of your simulator.


Return to top
 ⠀
X