Model.removeincludes#
- Model.removeincludes(include_ids, remove_contents=True)#
Deletes the include files from the database, optionally removing all its contents as well.
- Parameters:
include_ids (hwIntList) – The list of include file IDs to be deleted.
remove_contents (bool) – If
True, then all the content of those include files will be deleted from the database.
Example#
Remove the include files with IDs 1 and 2 from the database, and delete their content as well#import hm import hm.entities as ent model = hm.Model() model.removeincludes(include_ids=[1, 2])