%isnumeric keyword (SDL script)
This keyword is used with the %if keyword to evaluate whether a property value can be interpreted as a numeric. If the property value can be interpreted as a numeric, True is returned.
Syntax
%isnumeric "<property name>"
Where <property name> is the automation interface name of the item property. For more information about the automation interface names of properties, see Object Attributes and associations under the Automation Interface chapter of the Windchill Modeler Help, and then click the required item type.
In this example, the Upper Array Bound value is 'ten' and the Lower Array Bound value is '1'.
%if (%isnumeric"Upper Array Bound") %and
(%isnumeric"Lower Array Bound") %then...
%isnumeric "Upper Array Bound" returns False, %isnumeric "Lower Array Bound" returns True.