- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS15: GetQuantityInfo(string quantityName)
录入:edatop.com 点击:
Purpose: For each quantity that the UDO creates, it must also describe the quantity (unit and other details). This method is called for each quantity name (across all categories) as returned from an earlier call of the GetQuantityNames method.
Parameters:
quantityName (input string) – quantity name.
Returns: Object of type QuantityInfo.
Example:
# Returns an instance of QuantityInfo for the qtyName supplied or None if such a
# quantity could not be found
def GetQuantityInfo(self, qtyName):
# All the quantities we have are simple doubles
# we can leave them unitless
return QuantityInfo(Constants.kDoubleParamStr)


