Skip to content

Commit 3a4534c

Browse files
committed
create group fix
1 parent 8ca496b commit 3a4534c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ACadSharp.Tests/IO/WriterSingleObjectTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -700,12 +700,12 @@ public void CreateGroup()
700700
this.Document.Entities.Add(circle);
701701
this.Document.Entities.Add(line);
702702

703-
Group group = new Group();
704-
group.Name = "MyGroup";
705-
group.Add(circle);
706-
group.Add(line);
703+
//Group group = new Group();
704+
//group.Name = "MyGroup";
705+
//group.Add(circle);
706+
//group.Add(line);
707707

708-
this.Document.Groups.Add(group);
708+
this.Document.Groups.CreateGroup("MyGroup", new List<Entity> { circle, line });
709709

710710
TextEntity text = new TextEntity();
711711
text.Value = "Hello World!";

0 commit comments

Comments
 (0)