Ejemplo n.º 1
0
 def override_properties(self, entity: DXFGraphic,
                         properties: Properties) -> None:
     if not self.override_enabled:
         return
     if properties.layer == 'T1':
         properties.layer = 'Tx'
     properties.color = '#000000'
     if entity.dxf.text == 'T2':
         properties.is_visible = False
 def override_properties(self, entity: DXFGraphic,
                         properties: Properties) -> None:
     if not self.override_enabled:
         return
     if properties.layer == "T1":
         properties.layer = "Tx"
     properties.color = "#000000"
     if entity.dxf.text == "T2":
         properties.is_visible = False