Model.CE_DetailSetUint#
- Model.CE_DetailSetUint(ce_id, detailName, uint_val, unknownFlag, force_storage_flag)#
Sets an unsigned integer as connector detail for a connector specified by ID.
- Parameters:
ce_id (unsigned int) – ID of the connector to which you wish to attach detail.
detailName (hwString) – Name for a user-defined unsigned integer detail.
uint_val (unsigned int) – The unsigned integer value for the detail.
unknownFlag (unsigned int) – Reserved for future development. Must be set to 0.
force_storage_flag (unsigned int) –
The flag indicating whether or not to store a user-defined detail.
0 - No
1 - Yes
Example#
Set a user-defined unsigned integer detail “test = 2.0” for connector with ID 1#import hm import hm.entities as ent model = hm.Model() model.Model.CE_DetailSetUint( ce_id=1, detailName="test", uint_val=2.0, unknownFlag=0, force_storage_flag=1 )
Note
There are currently no standard unsigned integer details, only user-defined ones.