forked from andydandy74/ClockworkForDynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindMissingNodeDescriptions.dyn
102 lines (102 loc) · 10.1 KB
/
FindMissingNodeDescriptions.dyn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<Workspace Version="1.3.1.1736" X="189.864109202473" Y="270.404198560793" zoom="0.281787332503354" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="True">
<NamespaceResolutionMap />
<Elements>
<CoreNodeModels.Input.Directory guid="31941836-d487-4c9c-bc8a-2ba27921c2b6" type="CoreNodeModels.Input.Directory" nickname="Directory Path (Nodes)" x="-307.308728938086" y="220.788456667407" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.String>C:\Users\andreas\Documents\GitHub\Journalysis\nodes</System.String>
<HintPath>C:\Users\andreas\Documents\GitHub\Journalysis\nodes</HintPath>
</CoreNodeModels.Input.Directory>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="f411998a-1b66-4fe6-8577-51a16d0c532f" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Directory.Contents" x="258.761151726194" y="259.207871300207" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.IO.Directory.Contents@var,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="dda1bb8c-ec86-4cf3-bfa1-8e7fa1782fec" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="File Extension" x="85.331621342351" y="319.596362516884" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText=""*.dyf";" ShouldFocus="false" />
<CoreNodeModels.Input.DirectoryObject guid="75990639-3ae6-49c2-975c-f1b2197d38d8" type="CoreNodeModels.Input.DirectoryObject" nickname="Directory.FromPath" x="41.8714811472757" y="220.164457121744" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</CoreNodeModels.Input.DirectoryObject>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="3ea46fc6-75b3-4c62-92a2-9de12738a4f5" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="CustomNode.Info" x="550.846270560114" y="250.796752763095" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="38ea5ab3-5af3-4395-ab54-939142172e9e" />
<Name value="CustomNode.Info" />
<Description value="Extracts information from a custom node." />
<Inputs>
<Input value="path" />
</Inputs>
<Outputs>
<Output value="Version" />
<Output value="Name" />
<Output value="ID" />
<Output value="Description" />
<Output value="Category" />
<Output value="Inputs" />
<Output value="InputDataTypes" />
<Output value="InputDefaultVals" />
<Output value="Outputs" />
<Output value="PythonScripts" />
<Output value="NestedCustomNodes" />
<Output value="CustomNodesCount" />
<Output value="NestedBuiltinNodes" />
<Output value="BuiltinNodesCount" />
<Output value="InputDescriptions" />
<Output value="OutputDescriptions" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<CoreNodeModels.Watch guid="34fa8c94-d564-4f4f-bb70-8ed40e5f10e5" type="CoreNodeModels.Watch" nickname="Nodes that do not have a description" x="1357.04848774882" y="271.823573610849" 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="95032ae8-84c0-4342-b794-1378f825f4d4" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.FilterByBoolMask" x="1105.16555851452" y="273.078358269496" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.FilterByBoolMask@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="67ebb6b2-e6c9-4017-aafe-ddcfc3dfed6c" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="894.383247144176" y="333.597843092156" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="desc == "";" ShouldFocus="false">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
</Elements>
<Connectors>
<Dynamo.Graph.Connectors.ConnectorModel start="31941836-d487-4c9c-bc8a-2ba27921c2b6" start_index="0" end="75990639-3ae6-49c2-975c-f1b2197d38d8" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="f411998a-1b66-4fe6-8577-51a16d0c532f" start_index="0" end="3ea46fc6-75b3-4c62-92a2-9de12738a4f5" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="dda1bb8c-ec86-4cf3-bfa1-8e7fa1782fec" start_index="0" end="f411998a-1b66-4fe6-8577-51a16d0c532f" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="75990639-3ae6-49c2-975c-f1b2197d38d8" start_index="0" end="f411998a-1b66-4fe6-8577-51a16d0c532f" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3ea46fc6-75b3-4c62-92a2-9de12738a4f5" start_index="1" end="95032ae8-84c0-4342-b794-1378f825f4d4" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3ea46fc6-75b3-4c62-92a2-9de12738a4f5" start_index="3" end="67ebb6b2-e6c9-4017-aafe-ddcfc3dfed6c" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="95032ae8-84c0-4342-b794-1378f825f4d4" start_index="0" end="34fa8c94-d564-4f4f-bb70-8ed40e5f10e5" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="67ebb6b2-e6c9-4017-aafe-ddcfc3dfed6c" start_index="0" end="95032ae8-84c0-4342-b794-1378f825f4d4" end_index="1" portType="0" />
</Connectors>
<Notes>
<Dynamo.Graph.Notes.NoteModel guid="075fddc8-9139-4ceb-8511-d8b3316482e1" text="This graph parses each *.dyf file in a given directory and checks if the node has a description text.

I am using this to identify poorly documented nodes." x="-303.863094461445" y="47.2632412087274" />
</Notes>
<Annotations>
<Dynamo.Graph.Annotations.AnnotationModel guid="97c0a2bf-81f2-4dff-ad12-649f97173abd" annotationText="INPUTS" left="-317.308728938086" top="174.788456667407" width="215" height="140" fontSize="30" InitialTop="220.788456667407" InitialHeight="528.94356187368" TextblockHeight="36" backgrouund="#FF848484">
<Models ModelGuid="31941836-d487-4c9c-bc8a-2ba27921c2b6" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="8a49e08d-43ef-4584-9284-842f64ec1206" annotationText="Browse directory" left="31.8714811472757" top="174.164457121744" width="496.889670578918" height="238.43190539514" fontSize="30" InitialTop="220.164457121744" InitialHeight="391.160734902458" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="f411998a-1b66-4fe6-8577-51a16d0c532f" />
<Models ModelGuid="75990639-3ae6-49c2-975c-f1b2197d38d8" />
<Models ModelGuid="dda1bb8c-ec86-4cf3-bfa1-8e7fa1782fec" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="59deed21-3848-43c5-adbc-bb585b63d64e" annotationText="Extract data and evaluate category names" left="540.846270560114" top="204.796752763095" width="745.319287954406" height="529" fontSize="30" InitialTop="250.796752763095" InitialHeight="706.638278749519" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="3ea46fc6-75b3-4c62-92a2-9de12738a4f5" />
<Models ModelGuid="95032ae8-84c0-4342-b794-1378f825f4d4" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="d1e1dfe4-8036-41b1-a827-2111d72801bc" annotationText="OUTPUTS" left="1347.04848774882" top="225.823573610849" width="310" height="424" fontSize="30" InitialTop="271.823573610849" InitialHeight="371.938864718202" TextblockHeight="36" backgrouund="#FF848484">
<Models ModelGuid="34fa8c94-d564-4f4f-bb70-8ed40e5f10e5" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="8c20a1c2-0b26-46a3-8530-e8e78f96edfe" annotationText="Find Missing Node Descriptions" left="-313.863094461445" top="-135.736758791273" width="312" height="285" fontSize="48" InitialTop="47.2632412087274" InitialHeight="132" TextblockHeight="173" backgrouund="#FF848484">
<Models ModelGuid="075fddc8-9139-4ceb-8511-d8b3316482e1" />
</Dynamo.Graph.Annotations.AnnotationModel>
</Annotations>
<Presets>
<Dynamo.Graph.Presets.PresetModel Name="Dynamo 0.9" Description="" guid="dda8470f-7054-446f-a362-265072fb6555">
<DSCore.File.Directory guid="31941836-d487-4c9c-bc8a-2ba27921c2b6" type="DSCore.File.Directory" nickname="Directory Path" x="24.0105631272469" y="-14.2535438578055" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True">
<System.String>C:\Users\adieckmann\Documents\GitHub\ClockworkForDynamo\nodes\0.9.x</System.String>
</DSCore.File.Directory>
</Dynamo.Graph.Presets.PresetModel>
<Dynamo.Graph.Presets.PresetModel Name="Dynamo 0.8" Description="" guid="b0472f8b-2fc7-41a6-845e-69d39be31905">
<DSCore.File.Directory guid="31941836-d487-4c9c-bc8a-2ba27921c2b6" type="DSCore.File.Directory" nickname="Directory Path" x="24.0105631272469" y="-14.2535438578055" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True">
<System.String>C:\Users\adieckmann\Documents\GitHub\ClockworkForDynamo\nodes\0.8.x</System.String>
</DSCore.File.Directory>
</Dynamo.Graph.Presets.PresetModel>
</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>