Defining the SKILL Extension
The value returned by the SKILL extension is a string. The following syntax is used for defining a SKILL extension:
procedure(customSKILLEXTName(dbId @optional hierPath) ... )
The following is a sample of a user-defined SKILL extension. The input for the SKILL extension should be a single dbId and an optional string for hierarchical path. The output to the CIW is the dbId.
procedure(rectCustomFunc(dbId @optional hierPath)
let((hierStr)
if(hierPath then
hierStr = “)”
foreach(instInfo hierPath
inst = car(instInfo)
hierStr = strcat(hierStr “/” inst~>name)
)
hierStr = strcat(hierStr “)”)
else
hierStr = “()”
; need to return a SKILL string
hierStr
); let
)
Return to top