BHoM / BHoM/BHoM_Adapter

BHoM_Adapter: Add CleanModel command

Open
#265 0 comments 0 reactions 1 assignee Claimed by @IsakNaslundBh View on GitHub
type:feature
Dominant language
C#
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

#### Description:

Want to add a `CleanModel` command that makes sure the adapter gets to a state that is has a completely fresh slate with no elements, properties, load or anything in it.

Useful for interop testing.

Could add a default implementation on the base adapter that first makes a call with the close command, followed by a call to the NewModel command. Then any adapter that want to take different/additional action can do so.

@alelom @al-fisher

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.