Drop instances from the session. Check out .instances()
for performing the operation.
instances(type)
Drop instances from the session.
Parameters:
Name |
Type |
Description |
Default |
type |
str | list[str]
|
The type of instances to drop.
|
required
|
Example
node_type_to_drop = "Pump"
neat.drop.instances(node_type_to_drop)