|  |  | 
    |  | 
        
          | set_name(self,
        name) Set the name of the block
 | source code |  | 
    |  | 
        
          | indent(self) Indent the cursor of one more step.
 | source code |  | 
    |  |  | 
    |  | 
        
          | set_file(self,
        file_to_write) Set the file on which the block will be written.
 | source code |  | 
    |  | 
        
          | begin(self,
        name=None) Start the block in the MBDyn way, with 'begin:'
 | source code |  | 
    |  | 
        
          | end(self,
        name=None) End the MBDyn block with a 'end;'
 | source code |  | 
    |  | 
        
          | write_line(self,
        line) Write a line in the file with the right indentation and the 
      lineseparator of the operative system
 | source code |  | 
    |  | 
        
          | write_mbdyn_objects(self,
        obj_list) Write all the objects given in the list into the file, manage the 
      indentations
 | source code |  |