Model.hm_exportplyorientation#
- Model.hm_exportplyorientation(plysCollection, filename)#
Writes the fiber orientation vector for each element in a ply to a text file.
- Parameters:
plysCollection (Collection) – The collection containing the entities which contain the plies to write.
filename (hwString) – The full path and filename of the text file.
- Returns:
hwReturnStatus- Status object
Example#
Write the fiber orientation vector for elements in all plies#import hm import hm.entities as ent model = hm.Model() model.hm_exportplyorientation(plysCollection=hm.Collection(model, ent.Ply), filename="C:/temp/drape.txt")