Files
dynamo-scripts/PrefixLoadedFamiliesBatch/1.x/PrefixLoadedFamiliesBatch.dyn

130 lines
12 KiB
Plaintext

<Workspace Version="1.3.2.2480" X="18.3551197047877" Y="284.040041880968" zoom="0.470289781607464" ScaleFactor="1" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="True">
<NamespaceResolutionMap />
<Elements>
<DSRevitNodesUI.Categories guid="c80eceeb-0652-4d6a-ac41-c4692592a17b" type="DSRevitNodesUI.Categories" nickname="Category to prefix" x="7.5358130537046" y="434.208917707123" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="211:Furniture" />
<Dynamo.Graph.Nodes.CustomNodes.Function guid="00770823-bd47-414e-bf0b-4ddaa158d666" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.Collector.AllElementTypesOf" x="267.752763951051" y="312.796591023297" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
<ID value="b1b51409-ea2b-4410-a242-b4b8607f7fd7" />
<Name value="Springs.Collector.AllElementTypesOf" />
<Description value="Works with either categories, element types or revit classes and uses multi-filters to get multiple groups with a single query. Can be applied as a function. No ties to the Document.Changed event." />
<Inputs>
<Input value="CategoryOrElemType" />
<Input value="refresh" />
</Inputs>
<Outputs>
<Output value="elements" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="9cc0e640-57b4-47d9-8d1e-0d19f9bd705e" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="FamilyType.Family" x="670.752763951051" y="312.796591023297" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.FamilyType.Family">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="96277f4d-d087-4e4a-bbeb-b5789845f374" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Family.Name" x="1006.02006151411" y="527.604432507974" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Family.Name">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction guid="9748bf37-3b64-4f3e-b615-b8d51b553167" type="Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction" nickname="String.Concat" x="1006.02006151411" y="635.604432507974" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.String.Concat@string[]" inputcount="2">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction>
<CoreNodeModels.HigherOrder.Map guid="dd5cbffa-f2cb-4bd2-8312-a37c224f206b" type="CoreNodeModels.HigherOrder.Map" nickname="List.Map" x="1296.02006151411" y="568.604432507974" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</CoreNodeModels.HigherOrder.Map>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="f169ff6f-f2d2-4555-96eb-e31ac50f7526" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Element.SetName" x="1445.24391041374" y="205.943547556507" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<ID value="2f56d88b-a263-45de-b9e5-e074dbe52635" />
<Name value="Element.SetName" />
<Description value="Gets the name of a given Revit element" />
<Inputs>
<Input value="element" />
<Input value="name" />
</Inputs>
<Outputs>
<Output value="element" />
<Output value="success" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<CoreNodeModels.Input.StringInput guid="8bbb0c7b-7bdd-47ed-8c9a-4a0d2882bf54" type="CoreNodeModels.Input.StringInput" nickname="Prefix" x="70.4118313849396" y="604.037902147521" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.String>A-</System.String>
<System.String value="A-" />
</CoreNodeModels.Input.StringInput>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="51b55ffc-2aa2-4fe9-8f09-17d49c543702" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Document.SaveAs" x="2148.51199053906" y="-120.35679812391" 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="e691638e-885b-4080-9045-5d7015e1ecff" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Passthrough" x="1771.51199053906" y="-120.35679812391" 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>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="fe48a868-3ee7-4386-b15d-3de2c198ee9d" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Document.Current" x="1228.51199053906" y="-120.35679812391" 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="e6244fe8-d414-4ee0-85a0-9a0d7c7c0504" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Document.FilePath" x="1456.51199053906" y="-120.35679812391" 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>
</Elements>
<Connectors>
<Dynamo.Graph.Connectors.ConnectorModel start="c80eceeb-0652-4d6a-ac41-c4692592a17b" start_index="0" end="00770823-bd47-414e-bf0b-4ddaa158d666" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="00770823-bd47-414e-bf0b-4ddaa158d666" start_index="0" end="9cc0e640-57b4-47d9-8d1e-0d19f9bd705e" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9cc0e640-57b4-47d9-8d1e-0d19f9bd705e" start_index="0" end="96277f4d-d087-4e4a-bbeb-b5789845f374" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9cc0e640-57b4-47d9-8d1e-0d19f9bd705e" start_index="0" end="f169ff6f-f2d2-4555-96eb-e31ac50f7526" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="96277f4d-d087-4e4a-bbeb-b5789845f374" start_index="0" end="dd5cbffa-f2cb-4bd2-8312-a37c224f206b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9748bf37-3b64-4f3e-b615-b8d51b553167" start_index="0" end="dd5cbffa-f2cb-4bd2-8312-a37c224f206b" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="dd5cbffa-f2cb-4bd2-8312-a37c224f206b" start_index="0" end="f169ff6f-f2d2-4555-96eb-e31ac50f7526" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="f169ff6f-f2d2-4555-96eb-e31ac50f7526" start_index="1" end="e691638e-885b-4080-9045-5d7015e1ecff" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="8bbb0c7b-7bdd-47ed-8c9a-4a0d2882bf54" start_index="0" end="9748bf37-3b64-4f3e-b615-b8d51b553167" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e691638e-885b-4080-9045-5d7015e1ecff" start_index="0" end="51b55ffc-2aa2-4fe9-8f09-17d49c543702" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="fe48a868-3ee7-4386-b15d-3de2c198ee9d" start_index="0" end="e6244fe8-d414-4ee0-85a0-9a0d7c7c0504" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e6244fe8-d414-4ee0-85a0-9a0d7c7c0504" start_index="0" end="e691638e-885b-4080-9045-5d7015e1ecff" end_index="0" portType="0" />
</Connectors>
<Notes />
<Annotations>
<Dynamo.Graph.Annotations.AnnotationModel guid="98aeac10-2420-446b-b8a0-b56ab60050c9" annotationText="Input" left="-2.4641869462954" top="388.208917707123" width="186" height="283.828984440398" fontSize="30" InitialTop="434.208917707123" InitialHeight="409.76157520337" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="c80eceeb-0652-4d6a-ac41-c4692592a17b" />
<Models ModelGuid="8bbb0c7b-7bdd-47ed-8c9a-4a0d2882bf54" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="a86943b0-0fcd-4e00-8636-5da90aa338f6" annotationText="Get the families" left="257.752763951051" top="266.796591023297" width="647" height="165" fontSize="30" InitialTop="312.796591023297" InitialHeight="149" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="00770823-bd47-414e-bf0b-4ddaa158d666" />
<Models ModelGuid="9cc0e640-57b4-47d9-8d1e-0d19f9bd705e" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="90271a61-a30e-4408-b23f-80eb6fc00927" annotationText="Generate new name" left="996.02006151411" top="481.604432507974" width="444" height="273" fontSize="30" InitialTop="527.604432507974" InitialHeight="257" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="96277f4d-d087-4e4a-bbeb-b5789845f374" />
<Models ModelGuid="9748bf37-3b64-4f3e-b615-b8d51b553167" />
<Models ModelGuid="dd5cbffa-f2cb-4bd2-8312-a37c224f206b" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="9eb04170-2daf-4be0-9c2f-569181482874" annotationText="Rename families" left="1435.24391041374" top="159.943547556507" width="239" height="165" fontSize="30" InitialTop="205.943547556507" InitialHeight="149" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="f169ff6f-f2d2-4555-96eb-e31ac50f7526" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="dd613416-6eb5-4e1b-b58e-fbb75f4e15e7" annotationText="Save file" left="1218.51199053906" top="-166.35679812391" width="1191" height="191" fontSize="30" InitialTop="-120.35679812391" InitialHeight="328.011831915895" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="51b55ffc-2aa2-4fe9-8f09-17d49c543702" />
<Models ModelGuid="e691638e-885b-4080-9045-5d7015e1ecff" />
<Models ModelGuid="fe48a868-3ee7-4386-b15d-3de2c198ee9d" />
<Models ModelGuid="e6244fe8-d414-4ee0-85a0-9a0d7c7c0504" />
</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>