<Workspace Version="1.3.2.2480" X="-153.320989983852" Y="294.704299885395" zoom="0.41716842415181" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="True">
  <NamespaceResolutionMap />
  <Elements>
    <Dynamo.Graph.Nodes.CustomNodes.Function guid="c386f707-2ca9-4bb0-9c4d-348e344483a0" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Document.ProjectParameters" x="475.607028463211" y="230.471832275356" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true">
      <PortInfo index="0" default="True" />
      <PortInfo index="1" default="True" />
      <ID value="10d03ac4-6147-4636-a428-bb1098698c58" />
      <Name value="Document.ProjectParameters" />
      <Description value="Retrieves all project parameters and the categories they have been assigned to" />
      <Inputs>
        <Input value="toggle" />
        <Input value="docOrRevitLinkInstance" />
      </Inputs>
      <Outputs>
        <Output value="paramName" />
        <Output value="categories" />
        <Output value="variesAcrossGroups" />
      </Outputs>
    </Dynamo.Graph.Nodes.CustomNodes.Function>
    <DSRevitNodesUI.ElementTypes guid="3b1194ab-5ee3-4f97-82b4-3d52760dba9c" type="DSRevitNodesUI.ElementTypes" nickname="Element Types" x="628.522341326346" y="-147.014192449172" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="263:SharedParameterElement" />
    <DSRevitNodesUI.ElementsOfType guid="5180fb04-e9ed-48e5-837d-090844d1dea6" type="DSRevitNodesUI.ElementsOfType" nickname="All Elements of Type" x="1050.46052054252" y="-189.614739557775" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="true">
      <PortInfo index="0" default="False" />
    </DSRevitNodesUI.ElementsOfType>
    <CoreNodeModels.Watch guid="0798fd14-fdf6-4998-a509-aff87df10129" type="CoreNodeModels.Watch" nickname="Watch" x="1032.68338767065" y="268.849433547585" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
      <PortInfo index="0" default="False" />
    </CoreNodeModels.Watch>
    <Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="da29a2de-57c7-43d7-a7ad-0293eab42307" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.Name" x="1451.45186245199" y="-109.810000014447" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="RevitNodes.dll" function="Revit.Elements.Element.Name">
      <PortInfo index="0" default="False" />
    </Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
    <Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="c86e053a-0407-488d-a6f3-fcf08a7f95ac" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="SetDifference" x="1785.29773335101" y="276.287766480851" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="BuiltIn" function="SetDifference@var[],var[]">
      <PortInfo index="0" default="False" />
      <PortInfo index="1" default="False" />
    </Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
    <Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="a9346973-d869-4611-bc7c-723c06ae1999" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="2597.14382845815" y="-33.1259528101631" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.GetItemAtIndex@var[]..[],int">
      <PortInfo index="0" default="False" />
      <PortInfo index="1" default="False" />
    </Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
    <Dynamo.Graph.Nodes.CodeBlockNodeModel guid="1d5abc6e-3eaf-4cb8-9ec6-5d9121abcb31" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3004" y="-32" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="/*Elem or Id*/&#xA;elemOrId: var[]..[];" ShouldFocus="false">
      <PortInfo index="0" default="False" />
    </Dynamo.Graph.Nodes.CodeBlockNodeModel>
    <PythonNodeModels.PythonNode guid="947f67c2-a591-4be5-9e95-53f660fd7a97" type="PythonNodeModels.PythonNode" nickname="Python Script" x="3351.2199961321" y="-19.886069508294" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" inputcount="1">
      <PortInfo index="0" default="False" />
      <Script># This node has been made by Modelical
# www.modelical.com
import clr

#Load Revit API
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
import Autodesk

#Load document reference
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application

elementsOrIDs = IN[0]
elems = []


TransactionManager.Instance.EnsureInTransaction(doc)

count = 0
try:
	int(elementsOrIDs[0])

except:
	for e in elementsOrIDs:
		elems.append(UnwrapElement(e))
	for elem in elems:
		doc.Delete(elem.Id)
		count +=1
	
else:
	for ID in elementsOrIDs:
		id = Autodesk.Revit.DB.ElementId(int(ID))
		doc.Delete(id)
		count +=1
	
TransactionManager.Instance.TransactionTaskDone()
OUT = str(count) + " element/s have been deleted from Revit"</Script>
    </PythonNodeModels.PythonNode>
    <Dynamo.Graph.Nodes.CodeBlockNodeModel guid="8bc8241f-11de-4a1e-b545-27ffa2357c66" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3550.33489919174" y="-23.868202024007" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="deleted;" ShouldFocus="false">
      <PortInfo index="0" default="False" />
    </Dynamo.Graph.Nodes.CodeBlockNodeModel>
    <Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="5aec8fa1-774b-4796-85f3-6e6b338dddcb" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.AllIndicesOf" x="2138.91175389651" y="24.2962360334365" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.AllIndicesOf@var[]..[],var">
      <PortInfo index="0" default="False" />
      <PortInfo index="1" default="False" />
    </Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
    <Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="a9aa9f18-b551-4322-bbbd-e3a22230b44f" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Flatten" x="2367.53384368051" y="17.1511136290467" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Flatten@var[]..[],int">
      <PortInfo index="0" default="False" />
      <PortInfo index="1" default="False" />
    </Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
  </Elements>
  <Connectors>
    <Dynamo.Graph.Connectors.ConnectorModel start="c386f707-2ca9-4bb0-9c4d-348e344483a0" start_index="0" end="0798fd14-fdf6-4998-a509-aff87df10129" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="3b1194ab-5ee3-4f97-82b4-3d52760dba9c" start_index="0" end="5180fb04-e9ed-48e5-837d-090844d1dea6" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="5180fb04-e9ed-48e5-837d-090844d1dea6" start_index="0" end="da29a2de-57c7-43d7-a7ad-0293eab42307" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="5180fb04-e9ed-48e5-837d-090844d1dea6" start_index="0" end="a9346973-d869-4611-bc7c-723c06ae1999" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="0798fd14-fdf6-4998-a509-aff87df10129" start_index="0" end="c86e053a-0407-488d-a6f3-fcf08a7f95ac" end_index="1" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="da29a2de-57c7-43d7-a7ad-0293eab42307" start_index="0" end="c86e053a-0407-488d-a6f3-fcf08a7f95ac" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="da29a2de-57c7-43d7-a7ad-0293eab42307" start_index="0" end="5aec8fa1-774b-4796-85f3-6e6b338dddcb" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="c86e053a-0407-488d-a6f3-fcf08a7f95ac" start_index="0" end="5aec8fa1-774b-4796-85f3-6e6b338dddcb" end_index="1" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="a9346973-d869-4611-bc7c-723c06ae1999" start_index="0" end="1d5abc6e-3eaf-4cb8-9ec6-5d9121abcb31" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="1d5abc6e-3eaf-4cb8-9ec6-5d9121abcb31" start_index="0" end="947f67c2-a591-4be5-9e95-53f660fd7a97" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="947f67c2-a591-4be5-9e95-53f660fd7a97" start_index="0" end="8bc8241f-11de-4a1e-b545-27ffa2357c66" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="5aec8fa1-774b-4796-85f3-6e6b338dddcb" start_index="0" end="a9aa9f18-b551-4322-bbbd-e3a22230b44f" end_index="0" portType="0" />
    <Dynamo.Graph.Connectors.ConnectorModel start="a9aa9f18-b551-4322-bbbd-e3a22230b44f" start_index="0" end="a9346973-d869-4611-bc7c-723c06ae1999" end_index="1" portType="0" />
  </Connectors>
  <Notes />
  <Annotations />
  <Presets />
  <Cameras>
    <Camera Name="Фоновый просмотр" eyeX="-17" eyeY="24" eyeZ="50" lookX="12" lookY="-13" lookZ="-58" upX="0" upY="1" upZ="0" />
  </Cameras>
</Workspace>