Changed back to old naming scheme, copied some old scripts

This commit is contained in:
2019-05-31 00:31:05 +02:00
parent bc18cf4963
commit 1512e16124
45 changed files with 7536 additions and 320 deletions

View File

@@ -0,0 +1,240 @@
<Workspace Version="1.3.2.2480" X="-220.451702897479" Y="139.149154061875" zoom="0.40215319936636" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="False">
<NamespaceResolutionMap />
<Elements>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="3f970217-81a2-4848-b525-f84a69efe1ba" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Mesh.ImportFile" x="88.2722972429077" y="252.289020697498" isVisible="false" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\MeshToolkit\bin\MeshToolkit.dll" function="Autodesk.Dynamo.MeshToolkit.Mesh.ImportFile@string">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="e78e3fff-7b7a-4a4d-a46c-737b7bb5ad12" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Mesh.Reduce" x="960.248235521884" y="121.389139613933" isVisible="false" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\MeshToolkit\bin\MeshToolkit.dll" function="Autodesk.Dynamo.MeshToolkit.Mesh.Reduce@double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="18cdf34e-b5c4-4fb7-88a1-fb8f9053be9b" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Mesh.TriangleCount" x="499.689019532487" y="-70.3674014965351" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\MeshToolkit\bin\MeshToolkit.dll" function="Autodesk.Dynamo.MeshToolkit.Mesh.TriangleCount">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="225639b4-9bca-46ed-ac57-025ec5e864cd" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.ToolkitMeshToMesh" x="1762.40970040493" y="1371.73708697088" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="d5628e40-52de-47c9-b35b-c201d87344e0" />
<Name value="Springs.ToolkitMeshToMesh" />
<Description value="Attempts to convert a toolkit mesh to a Dynamo mesh. You obviously need to have the appropriate version of the mesh toolkit package downloaded first." />
<Inputs>
<Input value="tkMesh" />
</Inputs>
<Outputs>
<Output value="mesh" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="255971a5-8599-4308-b747-97e2eeac0aa9" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="DirectShape.ByMesh" x="2110.86003408971" y="1489.97388896199" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.DirectShape.ByMesh@Autodesk.DesignScript.Geometry.Mesh,Revit.Elements.Category,Revit.Elements.Material,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="True" />
<PortInfo index="3" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="d804a019-f02b-4712-9d65-9b5779aac356" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Material.ByName" x="1743.80739384571" y="1650.50738358709" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Material.ByName@string">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Input.StringInput guid="d2a08fff-7769-4ab2-abd7-031ea48eb52f" type="CoreNodeModels.Input.StringInput" nickname="Material name" x="-1035.17174770993" y="710.121808446601" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.String>ad_Material_Mannequin</System.String>
<System.String value="ad_Material_Mannequin" />
</CoreNodeModels.Input.StringInput>
<DSRevitNodesUI.Categories guid="93148737-800d-4389-b8cf-3ee67c37bbb4" type="DSRevitNodesUI.Categories" nickname="Categories" x="1759.40709202738" y="1507.00038709015" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="211:Furniture" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="cc4cbe20-4bc6-4542-80df-e0fb5752166a" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Mesh.Rotate" x="1076.56837047564" y="1031.77522208212" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\MeshToolkit\bin\MeshToolkit.dll" function="Autodesk.Dynamo.MeshToolkit.Mesh.Rotate@Autodesk.DesignScript.Geometry.Vector,double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Input.BoolSelector guid="67926e18-8f6a-428e-9fa0-9655c5fa307d" type="CoreNodeModels.Input.BoolSelector" nickname="Reduce mesh" x="-1033.17642404018" y="465.022063559771" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.Boolean>True</System.Boolean>
</CoreNodeModels.Input.BoolSelector>
<CoreNodeModels.Logic.If guid="5caaaa49-fb35-454c-be2d-52db75079f4e" type="CoreNodeModels.Logic.If" nickname="If" x="827.182208525908" y="597.364163924714" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</CoreNodeModels.Logic.If>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1c1719fd-1d98-46f8-8982-d2c0598e7fd7" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Vector.XAxis" x="885.568370475644" y="1018.77522208212" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Vector.XAxis" />
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="a61b0c62-1f3b-498f-92a6-338de7d8698e" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="885.568370475644" y="1126.98855541545" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="90;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="fa6f1cc1-9c8d-4d78-87eb-da96cfbff009" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Document.Current" x="-1123.51372338302" y="-907.786427500901" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Application.Document.Current" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b9c3efa8-8382-42f9-8b30-9f9249be0d88" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Document.FilePath" x="-895.513723383016" y="-907.786427500901" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Application.Document.FilePath">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Input.StringInput guid="fda71e3c-c5bb-4491-8e58-702305b55354" type="CoreNodeModels.Input.StringInput" nickname="File extension" x="-1033.17642404018" y="376.560842337692" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.String>OBJ</System.String>
<System.String value="OBJ" />
</CoreNodeModels.Input.StringInput>
<CoreNodeModels.Input.BoolSelector guid="d1dda7b5-c2a5-49fb-a162-2824ff17314c" type="CoreNodeModels.Input.BoolSelector" nickname="Rotate" x="-1031.78435182837" y="623.086895372417" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.Boolean>False</System.Boolean>
</CoreNodeModels.Input.BoolSelector>
<CoreNodeModels.Logic.If guid="e3b1627c-4d3b-44db-983c-2fbff7c987ef" type="CoreNodeModels.Logic.If" nickname="If" x="1350.40091312561" y="870.38707318412" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</CoreNodeModels.Logic.If>
<CoreNodeModels.Input.DoubleSlider guid="25b7684e-51f5-4241-8c2a-4881b4b982fd" type="CoreNodeModels.Input.DoubleSlider" nickname="Percent of remaining tris" x="-1033.17642404018" y="554.243956659812" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.Double>5</System.Double>
<Range min="0" max="100" step="1" />
</CoreNodeModels.Input.DoubleSlider>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="86ba9b6a-86e5-4e9a-8859-331f8b0c9902" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="769.853493014361" y="14.1946020861159" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="x*y*0.01;" ShouldFocus="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="59fd3449-17f4-4b0e-a6dd-bc168822b41c" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Document.SaveAs" x="3047.27166368231" y="-2356.18140359219" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
<ID value="19ce6b9f-f4cf-4a3f-9788-1482e94528d6" />
<Name value="Document.SaveAs" />
<Description value="Saves the active Revit document under the given name." />
<Inputs>
<Input value="filePath" />
<Input value="compactFile" />
<Input value="saveAsCentral" />
</Inputs>
<Outputs>
<Output value="success" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="6f104a89-e0ed-4c9c-bb2b-38bcee1d6bc0" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Passthrough" x="2670.27166368231" y="-2356.18140359219" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<ID value="ecce77dc-1290-438e-a056-970b256fd553" />
<Name value="Passthrough" />
<Description value="Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed *after* the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node." />
<Inputs>
<Input value="passThrough" />
<Input value="waitFor" />
</Inputs>
<Outputs>
<Output value="passThrough" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<CoreNodeModels.Logic.If guid="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" type="CoreNodeModels.Logic.If" nickname="If" x="50.5728264455332" y="-163.210531963955" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</CoreNodeModels.Logic.If>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="8c61dd0e-9a1e-4db8-a2ee-0140d8b5e7c4" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="-437.538869541961" y="-223.742688848006" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="d6f2235c-7765-4b25-a7df-971352017865" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Length" x="-482.235697354731" y="-86.647270786382" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Length@string">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1d223f59-d8cf-45b6-b685-83173ec1bcb6" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="==" x="-222.533483518324" y="-194.034767428929" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="Operators" function="==@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="294304a0-f920-4a14-8ea8-4b11b1de9f76" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="FilePath.ChangeExtension" x="-394.510943418279" y="-838.104180541958" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.IO.FilePath.ChangeExtension@string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="3de3276c-beea-43e2-b25b-3f925500674d" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="FilePath.FileName" x="-486.533371400833" y="-1064.20639444871" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.IO.FilePath.FileName@string,bool">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="6c61f218-7d4a-4d7c-a746-e1e15fe36ea1" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="-895.513723383016" y="-1016.66627712131" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="false;" ShouldFocus="false" />
<CoreNodeModels.Input.Filename guid="953d0c0a-2898-47e7-82de-8b039e664dc8" type="CoreNodeModels.Input.Filename" nickname="File Path" x="-512.526281697364" y="200.505423129347" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.String>No file selected.</System.String>
</CoreNodeModels.Input.Filename>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="0db30795-1c48-4062-b746-ba5326cece5b" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Mesh.ExportMeshes" x="1563.2867904229" y="387.93961733195" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\MeshToolkit\bin\MeshToolkit.dll" function="Autodesk.Dynamo.MeshToolkit.Mesh.ExportMeshes@string,var[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b6bf2609-94e5-44ad-97e3-47f7a738dd5f" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="SketchUp.WriteModel" x="1775.71826331957" y="618.358189834784" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="..\..\..\..\..\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\SketchUpForDynamo\bin\SketchUpForDynamo.dll" function="SketchUpForDynamo.SketchUp.WriteModel@string,Autodesk.DesignScript.Geometry.Surface[],Autodesk.DesignScript.Geometry.Curve[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
</Elements>
<Connectors>
<Dynamo.Graph.Connectors.ConnectorModel start="3f970217-81a2-4848-b525-f84a69efe1ba" start_index="0" end="18cdf34e-b5c4-4fb7-88a1-fb8f9053be9b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3f970217-81a2-4848-b525-f84a69efe1ba" start_index="0" end="e78e3fff-7b7a-4a4d-a46c-737b7bb5ad12" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3f970217-81a2-4848-b525-f84a69efe1ba" start_index="0" end="5caaaa49-fb35-454c-be2d-52db75079f4e" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e78e3fff-7b7a-4a4d-a46c-737b7bb5ad12" start_index="0" end="5caaaa49-fb35-454c-be2d-52db75079f4e" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="18cdf34e-b5c4-4fb7-88a1-fb8f9053be9b" start_index="0" end="86ba9b6a-86e5-4e9a-8859-331f8b0c9902" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="225639b4-9bca-46ed-ac57-025ec5e864cd" start_index="0" end="255971a5-8599-4308-b747-97e2eeac0aa9" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="255971a5-8599-4308-b747-97e2eeac0aa9" start_index="0" end="6f104a89-e0ed-4c9c-bb2b-38bcee1d6bc0" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d804a019-f02b-4712-9d65-9b5779aac356" start_index="0" end="255971a5-8599-4308-b747-97e2eeac0aa9" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d2a08fff-7769-4ab2-abd7-031ea48eb52f" start_index="0" end="d804a019-f02b-4712-9d65-9b5779aac356" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="93148737-800d-4389-b8cf-3ee67c37bbb4" start_index="0" end="255971a5-8599-4308-b747-97e2eeac0aa9" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="cc4cbe20-4bc6-4542-80df-e0fb5752166a" start_index="0" end="e3b1627c-4d3b-44db-983c-2fbff7c987ef" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="67926e18-8f6a-428e-9fa0-9655c5fa307d" start_index="0" end="5caaaa49-fb35-454c-be2d-52db75079f4e" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="5caaaa49-fb35-454c-be2d-52db75079f4e" start_index="0" end="cc4cbe20-4bc6-4542-80df-e0fb5752166a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="5caaaa49-fb35-454c-be2d-52db75079f4e" start_index="0" end="e3b1627c-4d3b-44db-983c-2fbff7c987ef" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1c1719fd-1d98-46f8-8982-d2c0598e7fd7" start_index="0" end="cc4cbe20-4bc6-4542-80df-e0fb5752166a" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="a61b0c62-1f3b-498f-92a6-338de7d8698e" start_index="0" end="cc4cbe20-4bc6-4542-80df-e0fb5752166a" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="fa6f1cc1-9c8d-4d78-87eb-da96cfbff009" start_index="0" end="b9c3efa8-8382-42f9-8b30-9f9249be0d88" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b9c3efa8-8382-42f9-8b30-9f9249be0d88" start_index="0" end="6f104a89-e0ed-4c9c-bb2b-38bcee1d6bc0" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b9c3efa8-8382-42f9-8b30-9f9249be0d88" start_index="0" end="d6f2235c-7765-4b25-a7df-971352017865" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b9c3efa8-8382-42f9-8b30-9f9249be0d88" start_index="0" end="294304a0-f920-4a14-8ea8-4b11b1de9f76" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b9c3efa8-8382-42f9-8b30-9f9249be0d88" start_index="0" end="3de3276c-beea-43e2-b25b-3f925500674d" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="fda71e3c-c5bb-4491-8e58-702305b55354" start_index="0" end="294304a0-f920-4a14-8ea8-4b11b1de9f76" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d1dda7b5-c2a5-49fb-a162-2824ff17314c" start_index="0" end="e3b1627c-4d3b-44db-983c-2fbff7c987ef" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e3b1627c-4d3b-44db-983c-2fbff7c987ef" start_index="0" end="225639b4-9bca-46ed-ac57-025ec5e864cd" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="25b7684e-51f5-4241-8c2a-4881b4b982fd" start_index="0" end="86ba9b6a-86e5-4e9a-8859-331f8b0c9902" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="86ba9b6a-86e5-4e9a-8859-331f8b0c9902" start_index="0" end="e78e3fff-7b7a-4a4d-a46c-737b7bb5ad12" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6f104a89-e0ed-4c9c-bb2b-38bcee1d6bc0" start_index="0" end="59fd3449-17f4-4b0e-a6dd-bc168822b41c" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" start_index="0" end="3f970217-81a2-4848-b525-f84a69efe1ba" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="8c61dd0e-9a1e-4db8-a2ee-0140d8b5e7c4" start_index="0" end="1d223f59-d8cf-45b6-b685-83173ec1bcb6" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d6f2235c-7765-4b25-a7df-971352017865" start_index="0" end="1d223f59-d8cf-45b6-b685-83173ec1bcb6" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1d223f59-d8cf-45b6-b685-83173ec1bcb6" start_index="0" end="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="294304a0-f920-4a14-8ea8-4b11b1de9f76" start_index="0" end="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3de3276c-beea-43e2-b25b-3f925500674d" start_index="0" end="255971a5-8599-4308-b747-97e2eeac0aa9" end_index="3" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6c61f218-7d4a-4d7c-a746-e1e15fe36ea1" start_index="0" end="3de3276c-beea-43e2-b25b-3f925500674d" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="953d0c0a-2898-47e7-82de-8b039e664dc8" start_index="0" end="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" end_index="1" portType="0" />
</Connectors>
<Notes>
<Dynamo.Graph.Notes.NoteModel guid="1d85dc65-9790-4d95-a28f-3fe450ea10cf" text="Required:&#xD;&#xA;Meshtoolkit&#xD;&#xA;Springs&#xD;&#xA;Clockwork" x="-927.519380865383" y="288.151234164281" />
</Notes>
<Annotations>
<Dynamo.Graph.Annotations.AnnotationModel guid="28a53aca-b2bb-4ee3-82cb-2d5ffaa52b2c" annotationText="Input" left="-1045.17174770993" top="330.560842337692" width="320.99532366975" height="447.560966108909" fontSize="30" InitialTop="376.560842337692" InitialHeight="280.259508160807" TextblockHeight="36" backgrouund="#FFD4B6DB">
<Models ModelGuid="d2a08fff-7769-4ab2-abd7-031ea48eb52f" />
<Models ModelGuid="67926e18-8f6a-428e-9fa0-9655c5fa307d" />
<Models ModelGuid="fda71e3c-c5bb-4491-8e58-702305b55354" />
<Models ModelGuid="d1dda7b5-c2a5-49fb-a162-2824ff17314c" />
<Models ModelGuid="25b7684e-51f5-4241-8c2a-4881b4b982fd" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="1c238b3a-a286-411a-9a0a-2a5d15c63e7c" annotationText="Reduce mesh" left="489.689019532487" top="-116.367401496535" width="716.559215989397" height="356.756541110468" fontSize="30" InitialTop="-70.3674014965351" InitialHeight="332.462142329396" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="e78e3fff-7b7a-4a4d-a46c-737b7bb5ad12" />
<Models ModelGuid="18cdf34e-b5c4-4fb7-88a1-fb8f9053be9b" />
<Models ModelGuid="86ba9b6a-86e5-4e9a-8859-331f8b0c9902" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="480b3b55-e829-4711-af19-643ccb19ffea" annotationText="Convert and create" left="1733.80739384571" top="1325.73708697088" width="632.052640244" height="417.77029661621" fontSize="30" InitialTop="1371.73708697088" InitialHeight="401.770296616209" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="225639b4-9bca-46ed-ac57-025ec5e864cd" />
<Models ModelGuid="255971a5-8599-4308-b747-97e2eeac0aa9" />
<Models ModelGuid="d804a019-f02b-4712-9d65-9b5779aac356" />
<Models ModelGuid="93148737-800d-4389-b8cf-3ee67c37bbb4" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="06950958-bf31-471b-a8cd-f4a719cd350b" annotationText="Rotate" left="875.568370475644" top="824.38707318412" width="611.832542649966" height="395.60148223133" fontSize="30" InitialTop="870.38707318412" InitialHeight="594.385340589429" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="cc4cbe20-4bc6-4542-80df-e0fb5752166a" />
<Models ModelGuid="1c1719fd-1d98-46f8-8982-d2c0598e7fd7" />
<Models ModelGuid="a61b0c62-1f3b-498f-92a6-338de7d8698e" />
<Models ModelGuid="e3b1627c-4d3b-44db-983c-2fbff7c987ef" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="552e4b50-e4c4-4779-9b7f-a1516e92ad52" annotationText="Reduce?" left="817.182208525908" top="551.364163924714" width="147" height="191" fontSize="30" InitialTop="597.364163924714" InitialHeight="175" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="5caaaa49-fb35-454c-be2d-52db75079f4e" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="70fa6106-9cef-4155-9cbc-1c8f48eb8010" annotationText="Filepath" left="-1133.51372338302" top="-1110.20639444871" width="987.002779964741" height="391.102213906752" fontSize="30" InitialTop="-1064.20639444871" InitialHeight="274.213333333333" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="fa6f1cc1-9c8d-4d78-87eb-da96cfbff009" />
<Models ModelGuid="b9c3efa8-8382-42f9-8b30-9f9249be0d88" />
<Models ModelGuid="6c61f218-7d4a-4d7c-a746-e1e15fe36ea1" />
<Models ModelGuid="294304a0-f920-4a14-8ea8-4b11b1de9f76" />
<Models ModelGuid="3de3276c-beea-43e2-b25b-3f925500674d" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="4a1dc6a7-ae81-4493-a253-467173422d19" annotationText="Save file" left="2660.27166368231" top="-2402.18140359219" width="648" height="191" fontSize="30" InitialTop="-2356.18140359219" InitialHeight="186.325038956114" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="59fd3449-17f4-4b0e-a6dd-bc168822b41c" />
<Models ModelGuid="6f104a89-e0ed-4c9c-bb2b-38bcee1d6bc0" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="25dd130d-a6d7-433e-b8b6-01044b19665f" annotationText="Import mesh" left="78.2722972429077" top="206.289020697498" width="222" height="139" fontSize="30" InitialTop="252.289020697498" InitialHeight="123" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="3f970217-81a2-4848-b525-f84a69efe1ba" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="73766b87-3296-41d4-9c0c-63ec041afbc7" annotationText="Check if batch operation " left="-492.235697354731" top="-269.742688848006" width="679.808523800264" height="276.095418061624" fontSize="30" InitialTop="-223.742688848006" InitialHeight="260.095418061624" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="bdb9c577-d0e9-43fc-8a75-9e77b4bf1298" />
<Models ModelGuid="8c61dd0e-9a1e-4db8-a2ee-0140d8b5e7c4" />
<Models ModelGuid="d6f2235c-7765-4b25-a7df-971352017865" />
<Models ModelGuid="1d223f59-d8cf-45b6-b685-83173ec1bcb6" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="43cf3713-de00-4bf9-a593-f2bea90609ab" annotationText="File path for testing" left="-522.526281697364" top="82.5054231293467" width="132" height="212" fontSize="30" InitialTop="200.505423129347" InitialHeight="124" TextblockHeight="108" backgrouund="#FFC1D676">
<Models ModelGuid="953d0c0a-2898-47e7-82de-8b039e664dc8" />
</Dynamo.Graph.Annotations.AnnotationModel>
</Annotations>
<Presets />
<Cameras>
<Camera Name="Background Preview" eyeX="-1477.12963867188" eyeY="3359.07763671875" eyeZ="-798.9140625" lookX="1477.14196777344" lookY="-2671.07470703125" lookZ="1486.93872070313" upX="0.448286175727844" upY="0.771624565124512" upZ="0.451259315013886" />
</Cameras>
</Workspace>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
@echo off
SETLOCAL EnableDelayedExpansion
REM Obj import template copier
REM Copies and renames the default rfa file to all obj files in the folder.
REM Current revit file is for revit 2016 update it for later revit versions first
REM Created by Peter Gyetvai: gyetpet@gmail.com
REM ---------
REM VARIABLES
REM ---------
SET FILEEXT=OBJ
REM SET TEMPLATEFILENAME=obj-empty2016
SET TEMPLATEFILENAME=obj-facebased-empty2016
REM -----------------------
REM Beginning of the script
REM -----------------------
for /R "%~dp0" %%f in (*.%FILEEXT%) do (
echo processing: %%f
copy "%~dp0\%TEMPLATEFILENAME%.rfa" "%~dp0%%~nf.rfa"
echo "%~dp0%%~nf.rfa">> "%~dp0filelist.txt"
)
REM -----------------
REM End of the script
REM -----------------

Binary file not shown.

Binary file not shown.

15
ImportObjBatch/readme.md Normal file
View File

@@ -0,0 +1,15 @@
# importobj-batch
Script for batch importing obj files to separate revit families
Written for Revit 2016
## Usage
1. Copy the .bat and the .rfa to the same folder as the objs
2. Run obj-copy.bat
3. If you want to change settings for the import script open the script in dynamo and modify the input values and save.
4. In Revit batch processor select the created filelist and the dynamo script and it will create the objs inside the rfa files.