Created
February 24, 2023 12:19
-
-
Save Root-bv/db206e9bf56d81fed015a5cefffb64ae to your computer and use it in GitHub Desktop.
Select all instances
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Workspace Version="1.3.4.6666" X="1234.08363028066" Y="448.573690345744" zoom="0.532076853773546" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="False"> | |
<NamespaceResolutionMap /> | |
<Elements> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="aa518496-8518-4fcc-a3a2-2e31ae87a4d5" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Tool.GetRevitSelection" x="-1404.13000103452" y="-166.110803794402" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="True" /> | |
<ID value="809a8e44-f6b5-42be-a349-4116e81be2cf" /> | |
<Name value="Tool.GetRevitSelection" /> | |
<Description value="Get the selection from the Revit UI, use boolean action to refresh when selection must be updated" /> | |
<Inputs> | |
<Input value="reset" /> | |
</Inputs> | |
<Outputs> | |
<Output value="Element" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="edd58e50-5728-42ef-967c-929ffdcba5e5" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Element.AllInstances" x="-137.595537478106" y="-167.150335840893" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<ID value="10c454dc-4094-4466-846e-16746ea0b2f3" /> | |
<Name value="Element.AllInstances" /> | |
<Description value="Retrieves all instances of a given element" /> | |
<Inputs> | |
<Input value="element" /> | |
</Inputs> | |
<Outputs> | |
<Output value="elements" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="8a842dfa-e868-4f13-8875-0aed4a67b228" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="105.396454464443" y="-165.892433803589" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="69cc3835-73c8-42dc-bd6c-0ab471cc3c58" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.SelectInRevit" x="307.428141858003" y="-165.560910083099" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="True" /> | |
<ID value="8fe565e9-1f46-4933-b75c-2ee2947e342e" /> | |
<Name value="Springs.SelectInRevit" /> | |
<Description value="Selects the input elements inside the Revit UI." /> | |
<Inputs> | |
<Input value="element" /> | |
<Input value="reset" /> | |
</Inputs> | |
<Outputs> | |
<Output value="success?" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="99555577-dc8c-4836-aad2-7148a651d654" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.ElementType" x="-1136.65097702317" y="-111.014940139428" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.ElementType"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="13b52973-5ff1-4a04-8013-b682df30b485" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Lists.DuplicateItemIndicies" x="-865.259925134353" y="-111.014940139427" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="C:\Users\ROOT-W-017\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\archi-lab.net\bin\archilab.dll" function="archilab.Lists.Lists.DuplicateItemIndicies@var[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="0dc65168-197d-417c-8df6-b20be717f7b6" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="-339.550977922258" y="-167.028223187432" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.GetItemAtIndex@var[]..[],int"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<CoreNodeModels.Input.BoolSelector guid="fbef4d02-2a41-4bb2-b790-7531529d29f3" type="CoreNodeModels.Input.BoolSelector" nickname="Boolean" x="-1565.06121693145" y="-165.187005619841" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<System.Boolean>False</System.Boolean> | |
</CoreNodeModels.Input.BoolSelector> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="f0745208-f0e2-45bb-bda3-1089254743fe" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Formula.IfStatement" x="-593.922081337539" y="1.79839653505752" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="False" /> | |
<PortInfo index="2" default="False" /> | |
<ID value="e2e678f1-22b1-4333-a791-65e583036fe3" /> | |
<Name value="Formula.IfStatement" /> | |
<Description value="If statement from True of False. Length of lists does not matter." /> | |
<Inputs> | |
<Input value="test" /> | |
<Input value="true" /> | |
<Input value="false" /> | |
</Inputs> | |
<Outputs> | |
<Output value="var[]..[]" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="47424d23-3b79-493a-95ae-bce5e8301aba" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.IsEmpty" x="-1129.69761518659" y="2.91083046221922" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.IsEmpty@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="17440b39-323f-4f2b-a37d-42dc9fb196f5" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Empty" x="-745.913001839659" y="61.6474609696743" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Empty" /> | |
</Elements> | |
<Connectors> | |
<Dynamo.Graph.Connectors.ConnectorModel start="aa518496-8518-4fcc-a3a2-2e31ae87a4d5" start_index="0" end="99555577-dc8c-4836-aad2-7148a651d654" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="aa518496-8518-4fcc-a3a2-2e31ae87a4d5" start_index="0" end="0dc65168-197d-417c-8df6-b20be717f7b6" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="aa518496-8518-4fcc-a3a2-2e31ae87a4d5" start_index="0" end="47424d23-3b79-493a-95ae-bce5e8301aba" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="edd58e50-5728-42ef-967c-929ffdcba5e5" start_index="0" end="8a842dfa-e868-4f13-8875-0aed4a67b228" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="8a842dfa-e868-4f13-8875-0aed4a67b228" start_index="0" end="69cc3835-73c8-42dc-bd6c-0ab471cc3c58" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="99555577-dc8c-4836-aad2-7148a651d654" start_index="0" end="13b52973-5ff1-4a04-8013-b682df30b485" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="13b52973-5ff1-4a04-8013-b682df30b485" start_index="0" end="f0745208-f0e2-45bb-bda3-1089254743fe" end_index="2" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="0dc65168-197d-417c-8df6-b20be717f7b6" start_index="0" end="edd58e50-5728-42ef-967c-929ffdcba5e5" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="fbef4d02-2a41-4bb2-b790-7531529d29f3" start_index="0" end="aa518496-8518-4fcc-a3a2-2e31ae87a4d5" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="f0745208-f0e2-45bb-bda3-1089254743fe" start_index="0" end="0dc65168-197d-417c-8df6-b20be717f7b6" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="47424d23-3b79-493a-95ae-bce5e8301aba" start_index="0" end="f0745208-f0e2-45bb-bda3-1089254743fe" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="17440b39-323f-4f2b-a37d-42dc9fb196f5" start_index="0" end="f0745208-f0e2-45bb-bda3-1089254743fe" end_index="1" portType="0" /> | |
</Connectors> | |
<Notes> | |
<Dynamo.Graph.Notes.NoteModel guid="c348c5a2-1c45-41fe-9e10-9dfd4c3f960c" text="ONTWIKKELD DOOR
________________________________________

Joris Wiegman - jwi@root-bv.nl
" x="-2163.99797602982" y="-95.3928734656475" /> | |
<Dynamo.Graph.Notes.NoteModel guid="9c3fc4b3-60dc-4897-b794-e41c0f2c0f33" text="DYNAMO SCRIPT
________________________________________________________

Select all instances in entire project voor meerdere types
" x="-2163.91602280198" y="-211.7060612039" /> | |
<Dynamo.Graph.Notes.NoteModel guid="5ba03976-0746-481a-a50d-d6296a4a0699" text="BENODIGDE PACKAGE(S)
________________________________________

Archi-lab.net
Clockwork for Dynamo 1.x
RootNodes
Spring nodes
SteamNodes
" x="-2169.01420804752" y="23.1403436030379" /> | |
<Dynamo.Graph.Notes.NoteModel guid="d70aed53-d967-4951-9110-816358627589" text="DISCLAIMER: Let op - Bij vragen, opmerkingen of feedback neem contact met ons op.
" x="-2169.57116965244" y="196.773854780089" /> | |
<Dynamo.Graph.Notes.NoteModel guid="8d520ecc-0bf3-40a7-9be8-9927db974d92" text="OMSCHRIJVING
________________________________________________________

Op basis van je huidige selectie in Revit, voert Dynamo de 'Select all instances in entire project' functie uit.

Hierbij is het mogelijk om voor meerdere family types tegelijkertijd deze functie uit te voeren. 
" x="-1931.86838978439" y="23.7681532982754" /> | |
<Dynamo.Graph.Notes.NoteModel guid="408574d5-a53d-4f60-b8ac-2e7a34e5fb1c" text="INPUTS IN SCRIPT (blauw weergegeven)
________________________________________________________

- Toggle: switch tussen True en False om een nieuwe selectie in te laden (alleen van toepassing voor volledig Dynamo venster)" x="-1932.00463371536" y="-94.540910473257" /> | |
<Dynamo.Graph.Notes.NoteModel guid="07a0a886-a7ae-41cf-83c0-fe55a0875a2b" text="DYNAMO VERSIE
_________________________________________

Dynamo Revit 1.3.4
Dynamo Revit 2.0" x="-1856.29763780876" y="-213.520823300229" /> | |
</Notes> | |
<Annotations> | |
<Dynamo.Graph.Annotations.AnnotationModel guid="3157447b-9a7f-4810-88f9-66774a0b0551" annotationText="ROOT B.V." left="-2179.57116965244" top="-338.520823300229" width="557.273531843684" height="608.294678080318" fontSize="96" InitialTop="-213.520823300229" InitialHeight="516.963528001053" TextblockHeight="115" backgrouund="#FFFFFFFF"> | |
<Models ModelGuid="9c3fc4b3-60dc-4897-b794-e41c0f2c0f33" /> | |
<Models ModelGuid="408574d5-a53d-4f60-b8ac-2e7a34e5fb1c" /> | |
<Models ModelGuid="5ba03976-0746-481a-a50d-d6296a4a0699" /> | |
<Models ModelGuid="c348c5a2-1c45-41fe-9e10-9dfd4c3f960c" /> | |
<Models ModelGuid="8d520ecc-0bf3-40a7-9be8-9927db974d92" /> | |
<Models ModelGuid="d70aed53-d967-4951-9110-816358627589" /> | |
<Models ModelGuid="07a0a886-a7ae-41cf-83c0-fe55a0875a2b" /> | |
</Dynamo.Graph.Annotations.AnnotationModel> | |
<Dynamo.Graph.Annotations.AnnotationModel guid="6bb90ec3-2789-41e0-af48-9673a65c42c7" annotationText="Toggle" left="-1575.06121693145" top="-211.187005619841" width="155" height="114" fontSize="30" InitialTop="-165.187005619841" InitialHeight="98" TextblockHeight="36" backgrouund="#FF48B9FF"> | |
<Models ModelGuid="fbef4d02-2a41-4bb2-b790-7531529d29f3" /> | |
</Dynamo.Graph.Annotations.AnnotationModel> | |
</Annotations> | |
<Presets /> | |
<Cameras> | |
<Camera Name="Background Preview" eyeX="-17" eyeY="24" eyeZ="50" lookX="12" lookY="-13" lookZ="-58" upX="0" upY="1" upZ="0" /> | |
</Cameras> | |
</Workspace> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Workspace Version="1.3.4.6666" X="1196.95720176305" Y="413.338579703266" zoom="0.419067053608305" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="False"> | |
<NamespaceResolutionMap /> | |
<Elements> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="edd58e50-5728-42ef-967c-929ffdcba5e5" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Element.AllInstances" x="-616.944207464835" y="-174.63825330341" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<ID value="10c454dc-4094-4466-846e-16746ea0b2f3" /> | |
<Name value="Element.AllInstances" /> | |
<Description value="Retrieves all instances of a given element" /> | |
<Inputs> | |
<Input value="element" /> | |
</Inputs> | |
<Outputs> | |
<Output value="elements" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="8a842dfa-e868-4f13-8875-0aed4a67b228" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="-373.952215522286" y="-173.380351266106" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="69cc3835-73c8-42dc-bd6c-0ab471cc3c58" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.SelectInRevit" x="818.211258353904" y="-394.210437954967" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="True" /> | |
<ID value="8fe565e9-1f46-4933-b75c-2ee2947e342e" /> | |
<Name value="Springs.SelectInRevit" /> | |
<Description value="Selects the input elements inside the Revit UI." /> | |
<Inputs> | |
<Input value="element" /> | |
<Input value="reset" /> | |
</Inputs> | |
<Outputs> | |
<Output value="success?" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b000f4f9-0300-4d3a-a791-df3fec18bc74" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.AllIndicesOf" x="150.970660402784" y="-200.118121335218" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" 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="2f137ccf-d06d-451b-99f8-eb6a60311db4" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="-71.4515837881968" y="-397.348293751331" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1cd8b86d-c60b-498a-8182-2eda844a7f08" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="370.172158363957" y="-200.560003017599" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1004ff23-9077-4d04-9bea-5da89ced8d30" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="602.573749950702" y="-394.268383890115" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" 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.ZeroTouch.DSFunction guid="a1b1c31d-5bbb-45c8-bd68-329a0af0ce3d" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.ElementType" x="-1631.98151910209" y="-102.739831428895" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.ElementType"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="e30170ec-ed68-444f-8228-672e4c6495c0" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Lists.DuplicateItemIndicies" x="-1358.2788012125" y="-101.583998428506" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="C:\Users\ROOT-W-017\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\archi-lab.net\bin\archilab.dll" function="archilab.Lists.Lists.DuplicateItemIndicies@var[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="51ff5753-11c3-4bf8-86bd-4a9fb289dd70" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="-848.089928072677" y="-174.622834540176" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" 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.ZeroTouch.DSFunction guid="2c7ed41c-02e9-4141-ba14-78963e0ae596" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="View.Current" x="-483.713831626194" y="-400.518015074987" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="C:\Users\ROOT-W-017\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\designtech\bin\designtech.dll" function="dtRevit.View.Current" /> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="97e39ca4-f7e2-4163-a2df-f52a09a835a4" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Collector.ElementsInViewByCategory" x="-338.085775929153" y="-398.310648337476" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="C:\Users\ROOT-W-017\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\designtech\bin\designtech.dll" function="dtRevit.Collector.ElementsInViewByCategory@Revit.Elements.Views.View,Revit.Elements.Category"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="18ae976e-fb06-46bb-945d-9817f97ea73b" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Tool.GetRevitSelection" x="-1891.09056034036" y="-167.743936576153" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="True" /> | |
<ID value="809a8e44-f6b5-42be-a349-4116e81be2cf" /> | |
<Name value="Tool.GetRevitSelection" /> | |
<Description value="Get the selection from the Revit UI, use boolean action to refresh when selection must be updated" /> | |
<Inputs> | |
<Input value="reset" /> | |
</Inputs> | |
<Outputs> | |
<Output value="Element" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<CoreNodeModels.Input.BoolSelector guid="df8ec0fb-f3db-4d89-a1f3-3963ac64e104" type="CoreNodeModels.Input.BoolSelector" nickname="Boolean" x="-2056.47340919534" y="-167.725054646644" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<System.Boolean>False</System.Boolean> | |
</CoreNodeModels.Input.BoolSelector> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="e20f4c44-225d-40b4-96df-544a9accba1b" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Element.GetUniqueCategories" x="-611.231826062474" y="-302.219340800116" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<ID value="9e2fffc4-1d5c-44ae-823e-e0a3685beb30" /> | |
<Name value="Element.GetUniqueCategories" /> | |
<Description value="Get all the unique categories from a list of elements." /> | |
<Inputs> | |
<Input value="element" /> | |
</Inputs> | |
<Outputs> | |
<Output value="category" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.CustomNodes.Function guid="d7b28559-0c44-49d1-b583-50361ebb73b2" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Formula.IfStatement" x="-1108.93764761376" y="22.7550908713521" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false"> | |
<PortInfo index="0" default="False" /> | |
<PortInfo index="1" default="False" /> | |
<PortInfo index="2" default="False" /> | |
<ID value="e2e678f1-22b1-4333-a791-65e583036fe3" /> | |
<Name value="Formula.IfStatement" /> | |
<Description value="If statement from True of False. Length of lists does not matter." /> | |
<Inputs> | |
<Input value="test" /> | |
<Input value="true" /> | |
<Input value="false" /> | |
</Inputs> | |
<Outputs> | |
<Output value="var[]..[]" /> | |
</Outputs> | |
</Dynamo.Graph.Nodes.CustomNodes.Function> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1b68f41b-7374-4035-85ea-c56f97f5a351" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Empty" x="-1241.10368912688" y="98.295079854028" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Empty" /> | |
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="3bae91ca-cfdd-4f3d-a733-a80cecbbd741" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.IsEmpty" x="-1638.16523862986" y="23.8675247985138" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.IsEmpty@var[]..[]"> | |
<PortInfo index="0" default="False" /> | |
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction> | |
</Elements> | |
<Connectors> | |
<Dynamo.Graph.Connectors.ConnectorModel start="edd58e50-5728-42ef-967c-929ffdcba5e5" start_index="0" end="8a842dfa-e868-4f13-8875-0aed4a67b228" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="8a842dfa-e868-4f13-8875-0aed4a67b228" start_index="0" end="b000f4f9-0300-4d3a-a791-df3fec18bc74" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="b000f4f9-0300-4d3a-a791-df3fec18bc74" start_index="0" end="1cd8b86d-c60b-498a-8182-2eda844a7f08" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="2f137ccf-d06d-451b-99f8-eb6a60311db4" start_index="0" end="b000f4f9-0300-4d3a-a791-df3fec18bc74" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="2f137ccf-d06d-451b-99f8-eb6a60311db4" start_index="0" end="1004ff23-9077-4d04-9bea-5da89ced8d30" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="1cd8b86d-c60b-498a-8182-2eda844a7f08" start_index="0" end="1004ff23-9077-4d04-9bea-5da89ced8d30" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="1004ff23-9077-4d04-9bea-5da89ced8d30" start_index="0" end="69cc3835-73c8-42dc-bd6c-0ab471cc3c58" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="a1b1c31d-5bbb-45c8-bd68-329a0af0ce3d" start_index="0" end="e30170ec-ed68-444f-8228-672e4c6495c0" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="e30170ec-ed68-444f-8228-672e4c6495c0" start_index="0" end="d7b28559-0c44-49d1-b583-50361ebb73b2" end_index="2" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="51ff5753-11c3-4bf8-86bd-4a9fb289dd70" start_index="0" end="edd58e50-5728-42ef-967c-929ffdcba5e5" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="51ff5753-11c3-4bf8-86bd-4a9fb289dd70" start_index="0" end="e20f4c44-225d-40b4-96df-544a9accba1b" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="2c7ed41c-02e9-4141-ba14-78963e0ae596" start_index="0" end="97e39ca4-f7e2-4163-a2df-f52a09a835a4" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="97e39ca4-f7e2-4163-a2df-f52a09a835a4" start_index="0" end="2f137ccf-d06d-451b-99f8-eb6a60311db4" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="18ae976e-fb06-46bb-945d-9817f97ea73b" start_index="0" end="a1b1c31d-5bbb-45c8-bd68-329a0af0ce3d" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="18ae976e-fb06-46bb-945d-9817f97ea73b" start_index="0" end="51ff5753-11c3-4bf8-86bd-4a9fb289dd70" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="18ae976e-fb06-46bb-945d-9817f97ea73b" start_index="0" end="3bae91ca-cfdd-4f3d-a733-a80cecbbd741" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="df8ec0fb-f3db-4d89-a1f3-3963ac64e104" start_index="0" end="18ae976e-fb06-46bb-945d-9817f97ea73b" end_index="0" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="e20f4c44-225d-40b4-96df-544a9accba1b" start_index="0" end="97e39ca4-f7e2-4163-a2df-f52a09a835a4" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="d7b28559-0c44-49d1-b583-50361ebb73b2" start_index="0" end="51ff5753-11c3-4bf8-86bd-4a9fb289dd70" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="1b68f41b-7374-4035-85ea-c56f97f5a351" start_index="0" end="d7b28559-0c44-49d1-b583-50361ebb73b2" end_index="1" portType="0" /> | |
<Dynamo.Graph.Connectors.ConnectorModel start="3bae91ca-cfdd-4f3d-a733-a80cecbbd741" start_index="0" end="d7b28559-0c44-49d1-b583-50361ebb73b2" end_index="0" portType="0" /> | |
</Connectors> | |
<Notes> | |
<Dynamo.Graph.Notes.NoteModel guid="38864874-03be-4dec-9720-7e91aac3b10f" text="DYNAMO SCRIPT
________________________________________________________

Select all instances visible in view voor meerdere types
" x="-2646.21937510097" y="-356.779791536657" /> | |
<Dynamo.Graph.Notes.NoteModel guid="30e3a859-06df-48f2-9b5a-6ffe202b70a4" text="BENODIGDE PACKAGE(S)
________________________________________

Archi-lab.net
Clockwork for Dynamo 1.x
Designtech
RootNodes
Spring nodes
SteamNodes
" x="-2647.36031158531" y="-130.387488978516" /> | |
<Dynamo.Graph.Notes.NoteModel guid="54a0ef90-f80b-4910-99e3-d39e582206bb" text="ONTWIKKELD DOOR
________________________________________

Joris Wiegman - jwi@root-bv.nl
" x="-2647.03915079403" y="-242.187315806401" /> | |
<Dynamo.Graph.Notes.NoteModel guid="22fe6c43-4ec4-4296-8e04-acc5c0e7590a" text="OMSCHRIJVING
________________________________________________________

Op basis van je huidige selectie in Revit, voert Dynamo de 'Select all instances visible in view' functie uit.

Hierbij is het mogelijk om voor meerdere family types tegelijkertijd deze functie uit te voeren. 
" x="-2414.17174208338" y="-128.094245570177" /> | |
<Dynamo.Graph.Notes.NoteModel guid="b9020af0-538a-4e12-933a-9530e1b1933e" text="INPUTS IN SCRIPT (blauw weergegeven)
________________________________________________________

- Toggle: switch tussen True en False om een nieuwe selectie in te laden (alleen van toepassing voor volledig Dynamo venster)" x="-2412.83234108391" y="-242.86311214357" /> | |
<Dynamo.Graph.Notes.NoteModel guid="61872f9b-4e03-41c2-9397-ad223fbb7e73" text="DISCLAIMER: Let op - Bij vragen, opmerkingen of feedback neem contact met ons op.
" x="-2647.69055238752" y="43.143601580409" /> | |
<Dynamo.Graph.Notes.NoteModel guid="66217509-8547-4477-9c95-d7b027676792" text="DYNAMO VERSIE
_________________________________________

Dynamo Revit 1.3.4
Dynamo Revit 2.0" x="-2338.60099010775" y="-358.594553632986" /> | |
</Notes> | |
<Annotations> | |
<Dynamo.Graph.Annotations.AnnotationModel guid="0a57cc1d-dff0-4ac3-bc73-6d38e8706361" annotationText="ROOT B.V." left="-2657.69055238752" top="-483.594553632986" width="553.089562279773" height="599.738155213395" fontSize="96" InitialTop="-358.594553632986" InitialHeight="849.108977890612" TextblockHeight="115" backgrouund="#FFFFFFFF"> | |
<Models ModelGuid="38864874-03be-4dec-9720-7e91aac3b10f" /> | |
<Models ModelGuid="b9020af0-538a-4e12-933a-9530e1b1933e" /> | |
<Models ModelGuid="30e3a859-06df-48f2-9b5a-6ffe202b70a4" /> | |
<Models ModelGuid="54a0ef90-f80b-4910-99e3-d39e582206bb" /> | |
<Models ModelGuid="22fe6c43-4ec4-4296-8e04-acc5c0e7590a" /> | |
<Models ModelGuid="61872f9b-4e03-41c2-9397-ad223fbb7e73" /> | |
<Models ModelGuid="66217509-8547-4477-9c95-d7b027676792" /> | |
</Dynamo.Graph.Annotations.AnnotationModel> | |
<Dynamo.Graph.Annotations.AnnotationModel guid="5faf2d3b-6e07-439b-9176-68c1f057269e" annotationText="Toggle" left="-2066.47340919534" top="-213.725054646644" width="155" height="114" fontSize="30" InitialTop="-167.725054646644" InitialHeight="98" TextblockHeight="36" backgrouund="#FF48B9FF"> | |
<Models ModelGuid="df8ec0fb-f3db-4d89-a1f3-3963ac64e104" /> | |
</Dynamo.Graph.Annotations.AnnotationModel> | |
</Annotations> | |
<Presets /> | |
<Cameras> | |
<Camera Name="Background Preview" eyeX="-17" eyeY="24" eyeZ="50" lookX="12" lookY="-13" lookZ="-58" upX="0" upY="1" upZ="0" /> | |
</Cameras> | |
</Workspace> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment