The following computed attributes and methods are in the ElectricalShipBuilding Knowledgeware dictionary. Not all methods take input parameters, and for those that do, the parameters are described in the Description column.
Whether you can see the value returned by the method depends upon how you are using it in Knowledgeware. For example, if you write a Knowledgeware rule or check causing a component to display differently based on the outcome of that rule or check, you won't see the calculated value; just the result of the calculated value.
You can see the value returned by a computed attribute in:
Object Type | Attribute/Method Name | Description |
CATEleWireCtr | AssociatedCableID | Returns the name of the cable associated with the wire. |
CATEleWireCtr | FromEquipment | The From equipment that the cable associated with the wire is connected to. |
CATEleWireCtr | ToEquipment | The To equipment that the cable associated with the wire is connected to. |
CATEleWireCtr | FromPinID | The From pin ID on the From equipment that the cable associated with the wire is connected to. |
CATEleWireCtr | ToPinID | The To pin ID on the To equipment that the cable associated with the wire is connected to. |
CATEleWireCtr | CablePartNumber | The part number of the cable associated with the wire. |
ElecCable | CableRouteDefinition | A list of hanger names through which the cable is routed. |
ElecCable | CheckLengthByCableType() | This method checks if the estimated length of
any cable of the type specified exceeds the specified maximum length. Input Parameters: CableType: the type of cable being checked. Format: string. MaxLength: the maximum length allowed for that cable type. This parameter is specified as a double, with a magnitude of length. If you do not specify the length unit, Knowledgeware assumes meters. Sample call: CheckLengthByCableType ("ElecPowerCable", 200.00mm) |
ElecCable | CheckLengthSumByCableType() | This method checks if the sum of estimated
lengths of all cables of the type specified exceeds the specified maximum
length.
Input Parameters: CableType: the type of cable being checked. Format: string.
|
ElecCable | FromToEquipment | Contains the name of the From and To equipment for a specific cable. |
ElecCable | KeystationList | Contains a list of key station hangers through which the cable is routed. |
ElecCable | NumberOfWires | Returns an integer specifying the number of wires defined for a cable. |
ElecCable | TotalLength | Returns a double that is the sum of the validated route length plus the End1 extra length plus the End2 extra length for the cable. |
ElecEquipmentFunction | CheckMaxNumberOfComponents() | This method checks if the total number of
electrical equipment functions in the diagram exceeds the specified
maximum number. MaxNumberOfComponents: the maximum number of electrical equipment functions to check against. It is an integer. Sample call: CheckMaxNumberOfComponents(100) |