Model.encryptentity#
- Model.encryptentity(entity, key)#
Encrypts an entity. Currently only supported for Radioss.
- Parameters:
entity (Entity) – The object describing the entity to encrypt. Valid entities are curves, materials and properties.
key (unsigned int) – For Radioss, this is the value to use for /KEY. Valid values are 01-99.
Example#
Encrypt material with ID 100 use key 55#import hm import hm.entities as ent model = hm.Model() model.encryptentity(entity=ent.Material(model, 100) ,key=55)