help='Get all curve information.'),
]
self.fields = ['name', 'path', 'experiment', 'driver', 'filetype',
- 'note', 'command stack', 'blocks', 'block sizes']
+ 'note', 'command stack', 'blocks', 'block names',
+ 'block sizes']
for field in self.fields:
args.append(Argument(
name=field, type='bool', default=False, count=1,
def _get_blocks(self, curve):
return len(curve.data)
+ def _get_block_names(self, curve):
+ return [block.info['name'] for block in curve.data]
+
def _get_block_sizes(self, curve):
return [block.shape for block in curve.data]