refactoring von collect_and_group_renamer_blocks in drei Einzelroutinen
This commit is contained in:
@@ -721,7 +721,8 @@ class TestDataGenerator:
|
||||
block_insert_y = top_right_y - text_d_y_offset
|
||||
blockref = self.msp.add_blockref(
|
||||
'io',
|
||||
insert=(block_insert_x, block_insert_y),
|
||||
# insert=(block_insert_x, block_insert_y),
|
||||
insert=(x, y),
|
||||
dxfattribs={'layer': 'ILS_MOTOR'}
|
||||
)
|
||||
# Erzeuge Attribut-Instanzen aus ATTDEFs mit Werten
|
||||
@@ -752,7 +753,8 @@ class TestDataGenerator:
|
||||
block_insert_y = left_bottom_y - text_d_y_offset
|
||||
blockref = self.msp.add_blockref(
|
||||
'io',
|
||||
insert=(block_insert_x, block_insert_y),
|
||||
#insert=(block_insert_x, block_insert_y),
|
||||
insert=(left_bottom_x, left_bottom_y),
|
||||
dxfattribs={'layer': 'ILS_MOTOR'}
|
||||
)
|
||||
blockref.add_auto_attribs({
|
||||
@@ -787,7 +789,8 @@ class TestDataGenerator:
|
||||
block_insert_y = y - text_d_y_offset
|
||||
blockref = self.msp.add_blockref(
|
||||
'io',
|
||||
insert=(block_insert_x, block_insert_y),
|
||||
#insert=(block_insert_x, block_insert_y),
|
||||
insert=(x, y),
|
||||
dxfattribs={'layer': 'ILS_MOTOR'}
|
||||
)
|
||||
blockref.add_auto_attribs({
|
||||
|
||||
Reference in New Issue
Block a user