asiFormatNodeSet
asiFormatNodeSet(o_sessionp_fp) => t / nil
Description
Formats and prints the nodeset commands to the control statement file. This routine prints .NODESET and then the nodesets in V(net)=voltage pairs.
Arguments
Value Returned
Examples
The following example shows how to overload the asiFormatNodeSet function:
defmethod( asiFormatNodeSet( ( session asiAnalog_session ) fp )
let( ( (nodeSetList asiGetNodeSetList( session ))
( netlistDir asiGetAnalogNetlistDir( session ) ))
when( nodeSetList
artFprintf(fp ".NODESET ")
foreach( obj nodeSetList
foreach( name
asiMapOutputName( netlistDir asiGetSelObjType( obj )
asiGetSelObjName( obj ) )
artFprintf(fp "V( %s )=%s" name
asiGetSelObjValue(obj))
)
)
artFprintf(fp "\n")
)
t
)
)
Return to top