next up previous contents index
Next: Schematic Editor Functions Up: Extraction Functions Previous: Resistance/Inductance Extraction   Contents   Index

Layers

(string) SetCurLayerExKeyword(string)
The string argument is an extraction keyword and associated text, as would appear in a layer block in the technology file. The specification will be applied to the current layer, overriding existing settings and possibly causing incompatible or redundant existing keywords to be deleted. This is similar to the editing functions of the Extraction Parameter Editor from the Extract Menu.

The return is a status or error string, which may be null.

The following keywords can be specified:

Conductor
Routing
GroundPlane
GroundPlaneDark
GroundPlaneClear
TermDefault
Contact
Via
DarkField
Thickness
Rho
Sigma
Rsh
EpsRel
Capacitance
Lambda
Tline
Antenna

(int) RemoveCurLayerExKeyword(keyword)
This will remove the specification for the extract keyword given in the argument from the current layer. The argument must be one of the keywords listed for SetCurLayerExKeyword. The return value is 1 if a specification was removed, 0 otherwise.

The functions in this section provide an interface to the extraction system. This interface is by no means complete, but it allows many common operations to be performed and allows traversal and information retrieval.

(int) IsLayerConductor(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns 1 if the Conductor keyword is given or implied for the layer, 0 otherwise. This attribute applies to physical layers only.

(int) IsLayerRouting(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns 1 if the Routing keyword is given for the layer, 0 otherwise. This attribute applies to physical layers only.

(int) IsLayerGround(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns 1 if one of the GroundPlane keywords was given for the layer, 0 otherwise. This attribute applies to physical layers only.

(int) IsLayerContact(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function return 1 if the Contact keyword is given for the layer, 0 otherwise. This attribute applies to physical layers only.

(int) IsLayerVia(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns 1 if the Via keyword is given for the layer, 0 otherwise. This attribute applies to physical layers only.

(int) IsLayerDarkField(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns 1 if the DarkField keyword is given or implied for the layer, 0 otherwise. This attribute applies to physical layers only.

(real) GetLayerThickness(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the value of the Thickness parameter given for the layer, if any. This attribute applies to physical layers only.

(real) GetLayerRho(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the resistivity in ohm-meters of the layer as given by the Rho or Sigma parameters, if given. If neither of these is given, and Rsh and Thickness are given, the return value will be Rsh*Thickness.

(real) GetLayerResis(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the the sheet resistance for the layer. This will be the value of the Rsh parameter, if given, or the values of Rho/Thickness, if Rho or Sigma and Thickness are given, or 0 if no value is available.

(real) GetLayerEps(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the relative dielectric constant for the layer, as given by the EpsRel parameter if applied. This attribute applies to physical layers only.

(real) GetLayerCap(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the per-area capacitance for the layer, if given. This attribute applies to physical layers only.

(real) GetLayerCapPerim(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the per-perimeter capacitance for the layer, if given. This attribute applies to physical layers only.

(real) GetLayerLambda(lname)
The argument is a string giving the name of a layer in the current display mode. If the string is empty or null, the current layer is understood. The function will fail if a name is given which is not a layer name. The function returns the value of the Lambda parameter for the layer, if given. This attribute applies to physical layers only.


next up previous contents index
Next: Schematic Editor Functions Up: Extraction Functions Previous: Resistance/Inductance Extraction   Contents   Index
Stephen R. Whiteley 2012-04-01