const char* GetNetUserField_bn ( const net_bn*  net,   const char*  name,   int*  length,   int  kind )

Retrieves the user-defined data associated with net on a field-by-field basis.

It works exactly like GetNodeUserField_bn; see that function for usage information.

Version:

Versions 2.00 and later have this function.

See also:

SetNetUserField_bn  Sets it
GetNetNthUserField_bn  Retrieve field by index. Iterate over fields
GetNetUserData_bn  For user-managed data which is not saved to file with net
GetNodeUserField_bn  Field-by-field data attached to a particular node