odcRegisterCustomFunc
odcRegisterCustomFunc(
t_odcObjType
t_functionText
)
=> t / nil
Description
Allows you to define a custom SKILL function to specify your own information to be displayed in the Info Balloon box for the specified object type.
Arguments
Value Returned
Examples
To define the SKILL extension to return the custom information string:
procedure(customFunc(dbId @optional hierPath)
let((skillStr)
printf("=== input parameter: %L\n" dbId)
; need to return a SKILL string
skillStr = "test custom \n SKILL function\n"
skillStr
); let
)
To register the SKILL extension as a custom SKILL function:
odcRegisterCustomFunc("Pin" "customFunc")
Related Topics
Return to top