General InformationThis opening ID is invoked during the Electrical Calculation command.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
Sample/* Rule : ELE_GetWireInformation */ // output args let userL(Real) let section(Real) let userL_2(Real) let routedL(Real) let instance(EleLogicalWireInst) let ref(EleLogicalWire) userL = ThisObject->GetAttributeReal("UserLength") // value has no Unit, value returned is in m (even if Me-Preference says that length is in mm routedL = ThisObject->GetAttributeReal("RoutedLength") set instance = ThisObject.Instance if (instance <> NULL) { userL_2 = instance->GetAttributeReal("V_Elec_UserLength") } set ref = ThisObject.Reference if (NULL <> ref) { section = ref->GetAttributeReal("V_Elec_Section") } Parameters.SetAttributeReal("oWireLength", userL) Parameters.SetAttributeReal("oWireSection", section) Parameters.SetAttributeReal("oWireResistivity", 0.0000000225) |