Model.createincludeperpart#
- Model.createincludeperpart(collection)#
Creates a new include file for prototype parts that do not have an include. Only creates new includes for parts that do not already have one.
- Parameters:
collection (Collection) – The collection containing the part entities.
Example#
Create includes for all parts#import hm import hm.entities as ent model = hm.Model() parts = hm.Collection(model ,ent.Part ,populate=True ) model.createincludeperpart(collection=parts)