Setting a new building grid object crashes RFEM

When I try to create a new building grid object, by just copying the existing default building grid object and changing some basic properties, RFEM6 crashes.

building_grid bg = model.get_building_grid(1);

bg.no = RfemHelper_v6.GetNextAvailableNro_buildingGrid(this.model);
bg.axes_sequence = building_grid_axes_sequence.SEQUENCE_XYZ;
bg.coordinates_list_x = "0.000 6*10.000";
bg.coordinates_list_y = "0.000 6*10.000";
bg.coordinates_list_z = "";
bg.comment = "testing";

bg.specific_direction_type = building_grid_specific_direction_type.DIRECTION_TYPE_ROTATED_VIA_3_ANGLES;
bg.specific_direction_typeSpecified = true;

bg.type = building_grid_type.TYPE_STANDARD;
bg.typeSpecified = true;

this.model.set_building_grid(bg);

test_2025_11_27.rf6 (952.9 KB)

Hi PSA001,

I was able to reproduce the issue and send it to the development team (BugID=558862). The crash report is also reported, so we will see what we can do here for you. But as you know, the API (SOAP) is not under development anymore, the focus is on API (gRPC).

Best regards
Robert Milrath

1 Like