개정판 1034b01c
issue #563: fix set batch
Change-Id: Ibc67b6737c0bb4682364beb744982d373657ef5d
DTI_PID/DTI_PID/Commands/SelectAttributeBatchCommand.py | ||
---|---|---|
73 | 73 |
attr.Target == 'ALL' and (attr.AttributeType == 'Spec' or attr.AttributeType == 'String')] |
74 | 74 |
|
75 | 75 |
for attr in specBreakAttrsFull: |
76 |
if attr.AttributeType != 'Spec': |
|
76 |
if attr.AttributeType != 'Spec' or attr.Attribute == 'NominalDiameter':
|
|
77 | 77 |
continue |
78 | 78 |
|
79 | 79 |
table = CodeTable.instance(attr.Attribute) |
... | ... | |
108 | 108 |
#matches = [(prop, value) for prop, value in item.properties.items() if prop.Attribute == 'Freeze'] |
109 | 109 |
#matches[0][0].Freeze = True |
110 | 110 |
item.set_property('Freeze', True) |
111 |
item.set_property('Show', True) |
|
111 | 112 |
|
112 | 113 |
stream_line = [spec[0], spec[1]] |
113 | 114 |
stream_track = [spec[1], spec[0]] |
내보내기 Unified diff