#NEWLINE# def viewModelObject( self , modelObject ) : #NEWLINE# #INDENT# if ( self . blockViewModelObject == 0 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . blockViewModelObject += 1 #NEWLINE# if isinstance ( modelObject , ModelVersObject . ModelConceptChange ) : #NEWLINE# #INDENT# fromConcept = modelObject . fromConcept #NEWLINE# if ( fromConcept is not None ) : #NEWLINE# #INDENT# self . fromDTS . viewModelObject ( fromConcept . objectId ( ) ) #NEWLINE# #UNINDENT# toConcept = modelObject . toConcept #NEWLINE# if ( toConcept is not None ) : #NEWLINE# #INDENT# self . toDTS . viewModelObject ( toConcept . objectId ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( modelObject , ModelVersObject . ModelRelationships ) : #NEWLINE# #INDENT# if modelObject . isFromDTS : #NEWLINE# #INDENT# self . fromDTS . viewModelObject ( modelObject . fromRelationship . objectId ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . toDTS . viewModelObject ( modelObject . fromRelationship . objectId ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( modelObject , ( ModelVersObject . ModelInstanceAspect , ModelVersObject . ModelInstanceMemberAspect ) ) : #NEWLINE# #INDENT# if modelObject . isFromDTS : #NEWLINE# #INDENT# self . fromDTS . viewModelObject ( modelObject . sourceDtsObject . objectId ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . toDTS . viewModelObject ( modelObject . sourceDtsObject . objectId ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( modelObject . modelXbrl != self . modelVersReport ) : #NEWLINE# #INDENT# self . modelVersReport . viewModelObject ( modelObject ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# except Exception : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . blockViewModelObject -= 1