From 5dae287e747cd81de35e585e086952dc7626217a Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 16 Jan 2024 09:24:28 -0600 Subject: [PATCH] Showing group creation in the README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e931c73..169a1b1 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ v1 = fuel_group.get_volumes()[1] print(v1) -new_group = dagmc.Group.create(model, "my_new_group") -new_group.id +new_group = dagmc.Group.create(model, name="my_new_group", group_id=10) +print(new_group) ``` Output: @@ -52,6 +52,8 @@ Volume IDs: } Volume 1, 4092 triangles + +Group 10, Name: my_new_group ``` Code: