Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 86509c755b |
@@ -1,7 +1,7 @@
|
||||
<Workspace Version="1.3.3.4651" X="-10662.1002869769" Y="-433.660194756614" zoom="0.957202662097622" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="True">
|
||||
<Workspace Version="1.3.2.2480" X="-4665.10633678348" Y="-32.3511423777074" zoom="0.54360121976108" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="False">
|
||||
<NamespaceResolutionMap />
|
||||
<Elements>
|
||||
<DSRevitNodesUI.Categories guid="125cf82b-e53b-4b05-8301-b2e1c3d838e6" type="DSRevitNodesUI.Categories" nickname="Categories" x="1171.95481594802" y="417.432299538724" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="557:TitleBlocks" />
|
||||
<DSRevitNodesUI.Categories guid="125cf82b-e53b-4b05-8301-b2e1c3d838e6" type="DSRevitNodesUI.Categories" nickname="Categories" x="1171.95481594802" y="417.432299538724" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="572:TitleBlocks" />
|
||||
<DSRevitNodesUI.ElementsOfCategory guid="db423edb-1be7-4453-884d-11b86c303770" type="DSRevitNodesUI.ElementsOfCategory" nickname="All Elements of Category" x="1437.95481594802" y="417.432299538724" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
|
||||
<PortInfo index="0" default="False" />
|
||||
</DSRevitNodesUI.ElementsOfCategory>
|
||||
@@ -62,23 +62,6 @@ proc.WaitForExit()
|
||||
OUT = (stdout,stderr)</System.String>
|
||||
<System.String value="from System.Diagnostics import Process

proc = Process()
proc.StartInfo.UseShellExecute = False
proc.StartInfo.RedirectStandardOutput = True
proc.StartInfo.RedirectStandardError = True
proc.StartInfo.FileName = "C:\Program Files (x86)\Winforms\winforms-1.0.1.exe"
proc.Start()
stdout = proc.StandardOutput.ReadToEnd()
stderr = proc.StandardError.ReadToEnd()
proc.WaitForExit()
OUT = (stdout,stderr)" />
|
||||
</CoreNodeModels.Input.StringInput>
|
||||
<Dynamo.Graph.Nodes.CustomNodes.Function guid="a4c7a88c-b281-44cd-a624-77aa2572f8b4" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Tool.RunMe" x="1467.18334080253" y="1505.62515733552" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true">
|
||||
<PortInfo index="0" default="True" />
|
||||
<PortInfo index="1" default="False" />
|
||||
<ID value="cfbde2f4-d1eb-41f0-812b-c803944b126c" />
|
||||
<Name value="Tool.RunMe" />
|
||||
<Description value="Use Boolean to perform an action" />
|
||||
<Inputs>
|
||||
<Input value="Boolean" />
|
||||
<Input value="ThingToDo" />
|
||||
</Inputs>
|
||||
<Outputs>
|
||||
<Output value="Result" />
|
||||
</Outputs>
|
||||
</Dynamo.Graph.Nodes.CustomNodes.Function>
|
||||
<CoreNodeModels.Input.BoolSelector guid="c84d0b96-2cba-41a2-9f1f-d81b09dd50b0" type="CoreNodeModels.Input.BoolSelector" nickname="Boolean" x="1179.45878413468" y="1423.40020855854" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
|
||||
<System.Boolean>True</System.Boolean>
|
||||
</CoreNodeModels.Input.BoolSelector>
|
||||
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="997bc22d-a624-4eb2-9e52-d38eeb50bcd8" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2187.92648580697" y="1492.92584340734" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="a[0];" ShouldFocus="false">
|
||||
<PortInfo index="0" default="False" />
|
||||
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
|
||||
@@ -237,23 +220,6 @@ for x in args:
|
||||
OUT = (stdoutlist,stderrlist)</System.String>
|
||||
<System.String value="from System.Diagnostics import Process

args = IN[0]
stdoutlist = []
stderrlist = []

for x in args:
 proc = Process()
 proc.StartInfo.UseShellExecute = False
 proc.StartInfo.RedirectStandardOutput = True
 proc.StartInfo.RedirectStandardError = True
 proc.StartInfo.FileName = "C:\Program Files (x86)\Winforms\winforms-1.0.1.exe"
 proc.StartInfo.Arguments = x
 proc.Start()
 stdout = proc.StandardOutput.ReadToEnd()
 stderr = proc.StandardError.ReadToEnd()
 proc.WaitForExit()
 stdoutlist.append(stdout)
 stderrlist.append(stderr)
OUT = (stdoutlist,stderrlist)" />
|
||||
</CoreNodeModels.Input.StringInput>
|
||||
<Dynamo.Graph.Nodes.CustomNodes.Function guid="e921658f-f5b4-4ec5-9a4b-8241e07c0104" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Tool.RunMe" x="12346.183571257" y="-174.239847542467" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true">
|
||||
<PortInfo index="0" default="True" />
|
||||
<PortInfo index="1" default="False" />
|
||||
<ID value="cfbde2f4-d1eb-41f0-812b-c803944b126c" />
|
||||
<Name value="Tool.RunMe" />
|
||||
<Description value="Use Boolean to perform an action" />
|
||||
<Inputs>
|
||||
<Input value="Boolean" />
|
||||
<Input value="ThingToDo" />
|
||||
</Inputs>
|
||||
<Outputs>
|
||||
<Output value="Result" />
|
||||
</Outputs>
|
||||
</Dynamo.Graph.Nodes.CustomNodes.Function>
|
||||
<CoreNodeModels.Input.BoolSelector guid="d4e8ddd8-a99f-40fe-a92d-24b4b367ed4a" type="CoreNodeModels.Input.BoolSelector" nickname="Boolean" x="12050.550747278" y="-251.719835932771" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
|
||||
<System.Boolean>True</System.Boolean>
|
||||
</CoreNodeModels.Input.BoolSelector>
|
||||
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="be0c8040-6a17-4a59-8e36-c07c16b318d5" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.AddItemToEnd" x="10875.6766313727" y="996.58155527259" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.AddItemToEnd@var[]..[],var[]..[]">
|
||||
<PortInfo index="0" default="False" useLevels="True" level="1" shouldKeepListStructure="False" />
|
||||
<PortInfo index="1" default="False" useLevels="True" level="2" shouldKeepListStructure="False" />
|
||||
@@ -331,9 +297,7 @@ OUT = (stdoutlist,stderrlist)</System.String>
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="1bfbc885-9bd5-4a4d-9eb4-c0d435f5ce6b" start_index="0" end="cda1dc96-06c0-4c4b-99b7-cc7d16e679b9" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="1bfbc885-9bd5-4a4d-9eb4-c0d435f5ce6b" start_index="0" end="79442dc7-e3c8-4f61-ad20-99f752d5091b" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="c268ed1f-cebc-48bd-abd9-0799e5836992" start_index="0" end="997bc22d-a624-4eb2-9e52-d38eeb50bcd8" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="d3bd8511-fcae-4ed8-829e-a53fb71d2d0f" start_index="0" end="a4c7a88c-b281-44cd-a624-77aa2572f8b4" end_index="1" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="a4c7a88c-b281-44cd-a624-77aa2572f8b4" start_index="0" end="c268ed1f-cebc-48bd-abd9-0799e5836992" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="c84d0b96-2cba-41a2-9f1f-d81b09dd50b0" start_index="0" end="a4c7a88c-b281-44cd-a624-77aa2572f8b4" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="d3bd8511-fcae-4ed8-829e-a53fb71d2d0f" start_index="0" end="c268ed1f-cebc-48bd-abd9-0799e5836992" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="997bc22d-a624-4eb2-9e52-d38eeb50bcd8" start_index="0" end="15eb89ba-6201-44a7-8c2a-c6e6479ed99b" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="15eb89ba-6201-44a7-8c2a-c6e6479ed99b" start_index="0" end="07082fb3-8846-4ec0-927f-5c7e34a9a12d" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="add6f0c1-6774-45e1-a02f-aea5d391a2cd" start_index="0" end="15eb89ba-6201-44a7-8c2a-c6e6479ed99b" end_index="1" portType="0" />
|
||||
@@ -384,9 +348,7 @@ OUT = (stdoutlist,stderrlist)</System.String>
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="aa2eea76-039d-4b2e-8c5a-3df6d065baae" start_index="0" end="1e4da513-e243-47e7-a6b0-afaab5ee9ed6" end_index="1" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="5cd5b600-7056-49cf-a8d5-dab754d216bd" start_index="0" end="aa2eea76-039d-4b2e-8c5a-3df6d065baae" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="83c4560d-79d1-4e6b-a528-180f81090cc2" start_index="0" end="7b493f8c-173f-485b-9140-1bd79699f124" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="0edeb919-2db2-421b-b9f6-17512a71c2e5" start_index="0" end="e921658f-f5b4-4ec5-9a4b-8241e07c0104" end_index="1" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="e921658f-f5b4-4ec5-9a4b-8241e07c0104" start_index="0" end="83c4560d-79d1-4e6b-a528-180f81090cc2" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="d4e8ddd8-a99f-40fe-a92d-24b4b367ed4a" start_index="0" end="e921658f-f5b4-4ec5-9a4b-8241e07c0104" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="0edeb919-2db2-421b-b9f6-17512a71c2e5" start_index="0" end="83c4560d-79d1-4e6b-a528-180f81090cc2" end_index="0" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="be0c8040-6a17-4a59-8e36-c07c16b318d5" start_index="0" end="d5d6b0b4-5d39-494a-b059-56be6b4bb41d" end_index="1" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="9b1a3ce5-a9ef-4420-8050-e4d693944b78" start_index="0" end="7bf01f78-2e0a-473e-b8ef-e6785fb890e9" end_index="1" portType="0" />
|
||||
<Dynamo.Graph.Connectors.ConnectorModel start="d63a3af9-f825-4258-8175-9246af357a4c" start_index="0" end="9b1a3ce5-a9ef-4420-8050-e4d693944b78" end_index="0" portType="0" />
|
||||
@@ -419,11 +381,9 @@ OUT = (stdoutlist,stderrlist)</System.String>
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="c3cec014-211d-4151-a852-b6d28df28622" annotationText="Form names" left="4513.96410019711" top="1365.29433820798" width="172" height="139" fontSize="30" InitialTop="1411.29433820798" InitialHeight="123" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Models ModelGuid="4d843236-61a8-4c40-a0db-101c2e69c47a" />
|
||||
</Dynamo.Graph.Annotations.AnnotationModel>
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="1672988c-37d8-4323-90e2-7e9d775496cd" annotationText="Run winforms for reading sheet sizes" left="1148.35423469366" top="1377.40020855854" width="843.75860009423" height="577.64410893864" fontSize="30" InitialTop="1423.40020855854" InitialHeight="561.644108938635" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="1672988c-37d8-4323-90e2-7e9d775496cd" annotationText="Run winforms for reading sheet sizes" left="1148.35423469366" top="1460.74788944167" width="843.75860009423" height="494.29642805551" fontSize="30" InitialTop="1506.74788944167" InitialHeight="561.644108938635" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Models ModelGuid="c268ed1f-cebc-48bd-abd9-0799e5836992" />
|
||||
<Models ModelGuid="d3bd8511-fcae-4ed8-829e-a53fb71d2d0f" />
|
||||
<Models ModelGuid="a4c7a88c-b281-44cd-a624-77aa2572f8b4" />
|
||||
<Models ModelGuid="c84d0b96-2cba-41a2-9f1f-d81b09dd50b0" />
|
||||
</Dynamo.Graph.Annotations.AnnotationModel>
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="f88e328d-262e-4c18-b6db-1aca576de418" annotationText="Manage winforms output" left="2177.92648580697" top="1446.92584340734" width="2213" height="518.3479034251" fontSize="30" InitialTop="1492.92584340734" InitialHeight="714.467753923459" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Models ModelGuid="997bc22d-a624-4eb2-9e52-d38eeb50bcd8" />
|
||||
@@ -479,11 +439,9 @@ OUT = (stdoutlist,stderrlist)</System.String>
|
||||
<Models ModelGuid="c11e8eb9-592c-4020-a3c3-1a720007846b" />
|
||||
<Models ModelGuid="9c9b153d-db53-4893-bf0d-40fc90990e8c" />
|
||||
</Dynamo.Graph.Annotations.AnnotationModel>
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="69570e95-f617-49ce-a545-01c8e638b27c" annotationText="Run winforms for writing sheet sizes" left="12019.446197837" top="-297.719835932771" width="843.758600094199" height="741.64410893864" fontSize="30" InitialTop="-251.719835932771" InitialHeight="561.64410893864" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="69570e95-f617-49ce-a545-01c8e638b27c" annotationText="Run winforms for writing sheet sizes" left="12019.446197837" top="-214.372155049641" width="843.758600094199" height="658.29642805551" fontSize="30" InitialTop="-168.372155049641" InitialHeight="561.64410893864" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Models ModelGuid="83c4560d-79d1-4e6b-a528-180f81090cc2" />
|
||||
<Models ModelGuid="0edeb919-2db2-421b-b9f6-17512a71c2e5" />
|
||||
<Models ModelGuid="e921658f-f5b4-4ec5-9a4b-8241e07c0104" />
|
||||
<Models ModelGuid="d4e8ddd8-a99f-40fe-a92d-24b4b367ed4a" />
|
||||
</Dynamo.Graph.Annotations.AnnotationModel>
|
||||
<Dynamo.Graph.Annotations.AnnotationModel guid="7e5e4e7d-b9ee-42c5-9e68-bef376e2fcb4" annotationText="Write argument for winforms" left="9311.96118358981" top="505.979617722065" width="2700.31414811139" height="812.981838166845" fontSize="30" InitialTop="551.979617722065" InitialHeight="796.981838166842" TextblockHeight="36" backgrouund="#FFC1D676">
|
||||
<Models ModelGuid="8b5356e0-ad7a-426d-8fb9-956281bf9233" />
|
||||
|
||||
3940
AddSheetSizesToPrinter_dyn2.0.dyn
Normal file
3940
AddSheetSizesToPrinter_dyn2.0.dyn
Normal file
File diff suppressed because it is too large
Load Diff
BIN
outputRenamer.xlsx
Normal file
BIN
outputRenamer.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user