www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Overview
The IViolation interface represents a violation object on a design document in the Workspace Manager of DXP.
Interface Methods
|
Method |
Description |
|
Function DM_ErrorKind : TErrorKind; |
Returns the kind of error this violation has been assigned to. Various error kinds include : eError_OffGridObject, eError_OffDocumentObject, eError_MissingChildDocument, eError_MissingChildProject, eError_PortNotLinkedToSheetSymbol, eError_SheetEntryNotLinkedToPort, eError_DuplicateDocumentNumbers, eError_UnconnectedWire, eError_UnconnectedNetItem, eError_NetWithNoDrivingSource, Error_FloatingInputPinsOnNet, eError_DifferentConnectionCodesOnNet, eError_MultipleSameConnectionCodeOnNet, eError_MultipleNamesForNet, eError_AddingItemsFromHiddenNetToNet, eError_AddingHiddenNet, eError_PowerObjectScopeChange, eError_NetParameterInvalidName, eError_NetParameterInvalidValue, eError_MismatchedBusSectionOrdering, eError_MismatchedFirstGenericIndex, eError_MismatchedSecondGenericIndex, eError_MismatchedIOTypeOnBus, eError_BusIndexOutOfRange, eError_RangeSyntaxError, eError_IllegalBusDefinition, eError_IllegalBusRangeValue, eError_MismatchedBusWidths, eError_MismatchedBusLabelOrdering, eError_MixedGenericAndNumericBusLabels, eError_UnDesignatedPart, eError_DuplicateComponentDesignator, eError_DuplicateSheetSymbolDesignator, eError_DuplicateNets, eError_DuplicatePinsInComponent, eError_DuplicateSheetEntrysInSheetSymbol, eError_DuplicatePortsInDocument, eError_DuplicateSubParts, eError_MismatchedHiddenPinConnections, eError_MismatchedPinVisibility, eError_SameParameterWithDifferentValues, eError_SameParameterWithDifferentTypes, eError_MissingModel, eError_ModelInDifferentLocation, eError_MissingModelInFile, eError_DuplicateModelsFound, eError_MissingModelParameter, eError_ErrorInModelParameter, eError_DuplicatePinsInPortMap, eError_MissingPinInPortMap, eError_MissingPinsPortMapSequence, eError_DuplicateImplementation, eError_UnusedPartInComponent, eError_ExtraPinInComponentDisplayMode, eError_MissingPinInComponentDisplayMode, eError_MismatchedBusAndWire, eError_FloatingNetLabel, eError_FloatingPowerObject, eError_SinglePinNet, eError_SignalWithNoLoad, eError_SignalWithNoDriver, eError_SignalWithMultipleDrivers, eError_AutoAssignedPin, eError_NoError, eError_MultipleTopLevelDocuments); |
|
Function DM_ErrorLevel : TErrorLevel; |
Returns the level of error this violation has been assigned to. Various error levels include : eErrorLevelNoReport,eErrorLevelWarning,eErrorLevelError,eErrorLevelFatal |
|
Function DM_CompilationStage : TCompilationStage; |
This function returns the status of the complation stage: during compilation or during flattening process. |
|
Procedure DM_AddRelatedObject (AnObject : IDMObject); |
This procedure adds the object that is part of the violation. |
|
Function DM_RelatedObjectCount : Integer; |
This function returns the number of related objects of the violation. |
|
Function DM_RelatedObjects (Index : Integer) : IDMObject; |
This function returns the indexed related object of the violation. |
|
Function DM_DescriptorString : WideString; |
This function returns the description string for this violation interface. |
|
Function DM_DetailString : WideString; |
This function returns the detailed description stirng of this violation interface. |