개정판 a7983723
fid EvaluatedLabel
Change-Id: I6536b18a71303d18e22d08b8f8ffaf9bd6c82946
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
536 | 536 |
from SymbolSvgItem import SymbolSvgItem |
537 | 537 |
|
538 | 538 |
scene = self.scene() |
539 |
if not scene: |
|
540 |
return '' |
|
541 |
|
|
539 | 542 |
labels = [item for item in scene.items() if issubclass(type(item), SymbolSvgItem) and (item.iType == 19 or item.iType == 29 or item.iType == 30)] |
540 | 543 |
if labels: |
541 | 544 |
labels = [label for label in labels if label.EvaluatedAttribute('OWNERSYMBOL') == self] |
내보내기 Unified diff