IssueCode#

class omni.converter.dgn.IssueCode#

Bases: pybind11_object

Stable machine-readable code identifying a conversion issue. eNone represents no issue. eMax is a boundary, not a reportable code. An issue’s location in Result determines its diagnostic role.

Members:

eNone : No issue occurred.

eUndefined : The issue does not have a more specific code.

eInvalidInputPath : The input path does not identify an available DGN file.

eInvalidOutputPath : The output path does not identify a writable destination in a supported USD format.

eInvalidOutputLayer : The output layer cannot be used to store converted USD data.

eInvalidParameter : A conversion parameter value prevents conversion.

eIgnoredParameter : A non-default conversion parameter value is not read because another parameter disables it.

eDefaultedParameter : An invalid conversion parameter value is replaced with its default.

eModifiedParameter : A conversion parameter is partially used or transformed instead of being used as given.

eInvalidParameters : One or more conversion parameters prevent conversion.

eOdaActivationFailed : The ODA runtime license could not be activated.

eOdaInitializationFailed : The ODA runtime could not be initialized.

eOdaModuleLoadFailed : A required ODA module could not be loaded.

eInvalidInputFile : The input file is not a valid DGN drawing or is corrupt.

eUnsupportedInputFileVersion : The input file uses an unsupported DGN version.

eInputFileAccessFailed : The input file could not be accessed for reading.

eInputFilePasswordError : The input file could not be opened because of password protection.

eInputFileReadFailed : The input file could not be read for another reason.

eColorTableRecoveryFailed : The malformed DGN extended color table could not be recovered.

eStageAuthoringFailed : USD data could not be authored to the conversion stage.

eStageCreationFailed : A USD stage could not be created for conversion.

eInvalidModelUnits : The converter replaces invalid Model units with centimeters. The scale may be incorrect.

eDefaultedStageUnits : No selected Model supplies valid units, so the Stage uses centimeters.

eInputFileReadIncomplete : Some input data could not be read. The converter does not currently emit this code.

eDatabaseReadFailed : An object in the DGN database could not be read.

eGeometryExtractionFailed : An Element’s geometry could not be extracted completely.

eInputFileEncrypted : The input file is encrypted and could not be read.

eMax : Exclusive upper bound for declared issue codes.

Methods

__init__(self, value)

name

__str__(*args, **kwargs) Overloaded function.

Attributes

eColorTableRecoveryFailed

eDatabaseReadFailed

eDefaultedParameter

eDefaultedStageUnits

eGeometryExtractionFailed

eIgnoredParameter

eInputFileAccessFailed

eInputFileEncrypted

eInputFilePasswordError

eInputFileReadFailed

eInputFileReadIncomplete

eInvalidInputFile

eInvalidInputPath

eInvalidModelUnits

eInvalidOutputLayer

eInvalidOutputPath

eInvalidParameter

eInvalidParameters

eMax

eModifiedParameter

eNone

eOdaActivationFailed

eOdaInitializationFailed

eOdaModuleLoadFailed

eStageAuthoringFailed

eStageCreationFailed

eUndefined

eUnsupportedInputFileVersion

value

__init__(
self: omni.converter.dgn._omni_converter_dgn.IssueCode,
value: int,
) → None#
name()#

__str__(*args, **kwargs) Overloaded function.

  1. __str__(self: omni.converter.dgn._omni_converter_dgn.IssueCode) -> str

  2. __str__(self: handle) -> str