Skip to content

Commit

Permalink
#51 _ testing sample files with RTF is done !
Browse files Browse the repository at this point in the history
  • Loading branch information
Elcin committed Jun 30, 2015
1 parent ffacc97 commit dcfe186
Show file tree
Hide file tree
Showing 7 changed files with 2,599 additions and 261 deletions.
47 changes: 24 additions & 23 deletions packages/DynamoSAP/extra/Sample_4a_Read_Edit_AddGroup.dyn
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<Workspace Version="0.7.5.3566" X="383.515840222983" Y="549.192376753135" zoom="0.196055307167585" Description="" Category="" Name="Home">
<Workspace Version="0.8.0.950" X="-1243.69560619814" Y="454.731944214478" zoom="0.815094748918157" Name="Home" RunType="Manual" RunPeriod="100" HasRunWithoutCrash="True">
<NamespaceResolutionMap />
<Elements>
<DSCoreNodesUI.BoolSelector type="DSCoreNodesUI.BoolSelector" guid="908a9553-1ee1-459a-a5eb-3c2cfcc1a2f2" nickname="Boolean" x="-354.544771965561" y="-201.237228606407" isVisible="true" isUpstreamVisible="true" lacing="Disabled">
<DSCoreNodesUI.BoolSelector guid="908a9553-1ee1-459a-a5eb-3c2cfcc1a2f2" type="DSCoreNodesUI.BoolSelector" nickname="Boolean" x="-354.544771965561" y="-201.237228606407" isVisible="true" isUpstreamVisible="true" lacing="Disabled">
<System.Boolean>True</System.Boolean>
</DSCoreNodesUI.BoolSelector>
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="79d1b8d0-0bb8-498b-b40b-cc5de1b168b7" nickname="StructuralModel.Decompose" x="374.797169528218" y="-195.397316659304" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Decompose@DynamoSAP.Assembly.StructuralModel" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="d2198351-a284-48e9-b3e8-fdf72ae5edf9" nickname="Group.Define" x="1741.93931247549" y="-277.244213979503" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Define@string,DynamoSAP.Structure.Element[]" />
<Dynamo.Nodes.CodeBlockNodeModel type="Dynamo.Nodes.CodeBlockNodeModel" guid="0292fe7e-0e62-4d1e-849b-0a1c6c26d618" nickname="Code Block" x="1495.92315435533" y="-287.925855356557" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="&quot;Beams&quot;;" ShouldFocus="false" />
<DSIronPythonNode.PythonNode type="DSIronPythonNode.PythonNode" guid="fb17d302-6896-44a5-8819-8fd5eea19c8e" nickname="Python Script" x="1220.79418647858" y="-187.461890973229" isVisible="true" isUpstreamVisible="true" lacing="Disabled" inputcount="2">
<Dynamo.Nodes.DSFunction guid="79d1b8d0-0bb8-498b-b40b-cc5de1b168b7" type="Dynamo.Nodes.DSFunction" nickname="StructuralModel.Decompose" x="374.797169528218" y="-195.397316659304" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Decompose@DynamoSAP.Assembly.StructuralModel" />
<Dynamo.Nodes.DSFunction guid="d2198351-a284-48e9-b3e8-fdf72ae5edf9" type="Dynamo.Nodes.DSFunction" nickname="Group.Define" x="1741.93931247549" y="-277.244213979503" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Define@string,DynamoSAP.Structure.Element[]" />
<Dynamo.Nodes.CodeBlockNodeModel guid="0292fe7e-0e62-4d1e-849b-0a1c6c26d618" type="Dynamo.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1495.92315435533" y="-287.925855356557" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="&quot;Beams&quot;;" ShouldFocus="false" />
<DSIronPythonNode.PythonNode guid="fb17d302-6896-44a5-8819-8fd5eea19c8e" type="DSIronPythonNode.PythonNode" nickname="Python Script" x="1220.79418647858" y="-187.461890973229" isVisible="true" isUpstreamVisible="true" lacing="Disabled" inputcount="2">
<Script>import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
Expand All @@ -31,26 +32,26 @@ geo.append(columns)
#Assign your output to the OUT variable
OUT = geo</Script>
</DSIronPythonNode.PythonNode>
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="978f91a4-2dc8-43d7-9819-e3c9972308c3" nickname="Frame.Decompose" x="852.747326279199" y="-182.854061508366" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="[email protected]" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="e47008fc-9f4f-44f9-a6e5-7167a1907d13" nickname="Group.Decompose" x="2139.06003457922" y="-600.224274441987" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<Dynamo.Nodes.CodeBlockNodeModel type="Dynamo.Nodes.CodeBlockNodeModel" guid="ceacb23b-4496-4f54-8266-622d94f2c57b" nickname="Code Block" x="1492.75161622207" y="-185.510116217595" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="x[0];" ShouldFocus="false" />
<Dynamo.Nodes.CodeBlockNodeModel type="Dynamo.Nodes.CodeBlockNodeModel" guid="33f6125f-0523-4c47-9f94-964f409e82f6" nickname="Code Block" x="1497.85465368069" y="76.5649901727232" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="x[1];" ShouldFocus="false" />
<Dynamo.Nodes.CodeBlockNodeModel type="Dynamo.Nodes.CodeBlockNodeModel" guid="bf878834-9d1b-4821-a0b0-9e3855513557" nickname="Code Block" x="1490.10639571435" y="-19.0258764039914" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="&quot;Columns&quot;;" ShouldFocus="false" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="62f8e83e-fb7c-419f-bdff-906474a4f00a" nickname="Group.Decompose" x="2140.01879573717" y="186.862610010385" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="f41a3a58-49e9-4eee-94af-40fb8658a8cc" nickname="Group.Define" x="1754.90211782995" y="19.0872868935966" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Define@string,DynamoSAP.Structure.Element[]" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="0e475cee-012c-4795-855f-4935cf4984c9" nickname="StructuralModel.Collector" x="3224.98343634661" y="-232.194807653791" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Collector@DynamoSAP.Structure.Element[],DynamoSAP.Definitions.Definition[]" />
<DSCoreNodesUI.CreateList type="DSCoreNodesUI.CreateList" guid="5047cf02-ced1-4a3e-8bfe-573130130600" nickname="List.Create" x="2776.66338912473" y="-167.639737856702" isVisible="true" isUpstreamVisible="true" lacing="Disabled" inputcount="4" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="b300ab25-1a7d-455a-87cf-b67c8c3e4be9" nickname="Flatten" x="2990.33170126502" y="-171.446657615468" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="" function="Flatten@var[]..[]" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="3dcfd474-e3cc-4d77-9c7f-932a8a074784" nickname="Bake.ToSAP" x="3657.44635958928" y="-184.732042058838" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="[email protected],bool,string,bool">
<Dynamo.Nodes.DSFunction guid="978f91a4-2dc8-43d7-9819-e3c9972308c3" type="Dynamo.Nodes.DSFunction" nickname="Frame.Decompose" x="852.747326279199" y="-182.854061508366" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="[email protected]" />
<Dynamo.Nodes.DSFunction guid="e47008fc-9f4f-44f9-a6e5-7167a1907d13" type="Dynamo.Nodes.DSFunction" nickname="Group.Decompose" x="2139.06003457922" y="-600.224274441987" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<Dynamo.Nodes.CodeBlockNodeModel guid="ceacb23b-4496-4f54-8266-622d94f2c57b" type="Dynamo.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1492.75161622207" y="-185.510116217595" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="x[0];" ShouldFocus="false" />
<Dynamo.Nodes.CodeBlockNodeModel guid="33f6125f-0523-4c47-9f94-964f409e82f6" type="Dynamo.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1497.85465368069" y="76.5649901727232" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="x[1];" ShouldFocus="false" />
<Dynamo.Nodes.CodeBlockNodeModel guid="bf878834-9d1b-4821-a0b0-9e3855513557" type="Dynamo.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1490.10639571435" y="-19.0258764039914" isVisible="true" isUpstreamVisible="true" lacing="Disabled" CodeText="&quot;Columns&quot;;" ShouldFocus="false" />
<Dynamo.Nodes.DSFunction guid="62f8e83e-fb7c-419f-bdff-906474a4f00a" type="Dynamo.Nodes.DSFunction" nickname="Group.Decompose" x="2140.01879573717" y="186.862610010385" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<Dynamo.Nodes.DSFunction guid="f41a3a58-49e9-4eee-94af-40fb8658a8cc" type="Dynamo.Nodes.DSFunction" nickname="Group.Define" x="1754.90211782995" y="19.0872868935966" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Define@string,DynamoSAP.Structure.Element[]" />
<Dynamo.Nodes.DSFunction guid="0e475cee-012c-4795-855f-4935cf4984c9" type="Dynamo.Nodes.DSFunction" nickname="StructuralModel.Collector" x="3224.98343634661" y="-232.194807653791" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Collector@DynamoSAP.Structure.Element[],DynamoSAP.Definitions.Definition[]" />
<DSCoreNodesUI.CreateList guid="5047cf02-ced1-4a3e-8bfe-573130130600" type="DSCoreNodesUI.CreateList" nickname="List.Create" x="2776.66338912473" y="-167.639737856702" isVisible="true" isUpstreamVisible="true" lacing="Disabled" inputcount="4" />
<Dynamo.Nodes.DSFunction guid="b300ab25-1a7d-455a-87cf-b67c8c3e4be9" type="Dynamo.Nodes.DSFunction" nickname="Flatten" x="2990.33170126502" y="-171.446657615468" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="" function="Flatten@var[]..[]" />
<Dynamo.Nodes.DSFunction guid="3dcfd474-e3cc-4d77-9c7f-932a8a074784" type="Dynamo.Nodes.DSFunction" nickname="Bake.ToSAP" x="3657.44635958928" y="-184.732042058838" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="[email protected],bool,string,bool">
<PortInfo index="2" default="True" />
<PortInfo index="3" default="True" />
</Dynamo.Nodes.DSFunction>
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="ce8db005-3ce6-4f00-b9cc-949e8c794fca" nickname="StructuralModel.Decompose" x="4078.77459056166" y="-186.13411638519" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Decompose@DynamoSAP.Assembly.StructuralModel" />
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="31b5980d-b395-4abb-858d-b782038357f4" nickname="Group.Decompose" x="4432.53342978935" y="-37.7427342950381" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<DSCoreNodesUI.BoolSelector type="DSCoreNodesUI.BoolSelector" guid="f0680966-7f59-4ffb-b33b-d1264355913e" nickname="Boolean" x="3230.82942588063" y="-54.836977380794" isVisible="true" isUpstreamVisible="true" lacing="Disabled">
<System.Boolean>False</System.Boolean>
<Dynamo.Nodes.DSFunction guid="ce8db005-3ce6-4f00-b9cc-949e8c794fca" type="Dynamo.Nodes.DSFunction" nickname="StructuralModel.Decompose" x="4078.77459056166" y="-186.13411638519" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Assembly.StructuralModel.Decompose@DynamoSAP.Assembly.StructuralModel" />
<Dynamo.Nodes.DSFunction guid="31b5980d-b395-4abb-858d-b782038357f4" type="Dynamo.Nodes.DSFunction" nickname="Group.Decompose" x="4432.53342978935" y="-37.7427342950381" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Definitions.Group.Decompose@DynamoSAP.Definitions.Group" />
<DSCoreNodesUI.BoolSelector guid="f0680966-7f59-4ffb-b33b-d1264355913e" type="DSCoreNodesUI.BoolSelector" nickname="Boolean" x="3230.82942588063" y="-54.836977380794" isVisible="true" isUpstreamVisible="true" lacing="Disabled">
<System.Boolean>True</System.Boolean>
</DSCoreNodesUI.BoolSelector>
<Dynamo.Nodes.DSFunction type="Dynamo.Nodes.DSFunction" guid="9ecccb8e-dd70-416f-b4ff-1c1304609ae9" nickname="Read.SAPModel" x="-26.8511384452174" y="-191.903671053552" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="DynamoSAP.dll" function="DynamoSAP.Assembly.Read.SAPModel@bool" />
<Dynamo.Nodes.DSFunction guid="9ecccb8e-dd70-416f-b4ff-1c1304609ae9" type="Dynamo.Nodes.DSFunction" nickname="Read.SAPModel" x="-26.8511384452174" y="-191.903671053552" isVisible="true" isUpstreamVisible="true" lacing="Shortest" assembly="..\..\..\..\..\..\AppData\Roaming\Dynamo\0.8\packages\DynamoSAP\bin\DynamoSAP.dll" function="DynamoSAP.Assembly.Read.SAPModel@bool" />
</Elements>
<Connectors>
<Dynamo.Models.ConnectorModel start="908a9553-1ee1-459a-a5eb-3c2cfcc1a2f2" start_index="0" end="9ecccb8e-dd70-416f-b4ff-1c1304609ae9" end_index="0" portType="0" />
Expand Down Expand Up @@ -80,7 +81,7 @@ OUT = geo</Script>
<Dynamo.Models.ConnectorModel start="9ecccb8e-dd70-416f-b4ff-1c1304609ae9" start_index="1" end="3dcfd474-e3cc-4d77-9c7f-932a8a074784" end_index="2" portType="0" />
</Connectors>
<Notes>
<Dynamo.Models.NoteModel text="Set boolean to True to run the analysis on SAP" x="-361.081296938153" y="-273.360061246616" />
<Dynamo.Models.NoteModel text="Set boolean to True to read Structure" x="-361.081296938153" y="-273.360061246616" />
<Dynamo.Models.NoteModel text="Get the structural elements and definitions in the model" x="-29.0924556379078" y="-276.410766689782" />
<Dynamo.Models.NoteModel text="Use Structural Model.Decompose to preview the geometry of the structural members" x="372.321937983649" y="-281.106389222678" />
<Dynamo.Models.NoteModel text="Open the sample file supplied 3a_RunAnalysis.sdb in SAP" x="-692.331095434484" y="-275.038988779609" />
Expand Down
Loading

0 comments on commit dcfe186

Please sign in to comment.