Updated CategoryPresentation

This commit is contained in:
2022-09-12 17:51:00 +02:00
parent 51940547e0
commit f87ca88f8b
3 changed files with 742 additions and 109 deletions

View File

@@ -1,108 +0,0 @@
<Workspace Version="1.3.2.2480" X="15.4738072448409" Y="78.0261065786453" zoom="0.636465604586565" 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 place" x="-400.388389148629" y="674.126610650045" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="211:Furniture" />
<Dynamo.Graph.Nodes.CustomNodes.Function guid="bcefc7e7-c8e8-4d90-b201-9796f76739be" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.BatchInstances.ByPointsLevels" x="1842.21892123395" y="567.984122914606" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
<PortInfo index="3" default="True" />
<ID value="d24738a4-3ba4-4d99-8e40-bbe246413502" />
<Name value="Springs.BatchInstances.ByPointsLevels" />
<Description value="This node batch ceates level hosted family instances. You can feed either a single type/level that will be used for all instances or a unique type/level for each instance. Set track to false if you'd like to place instances on every run." />
<Inputs>
<Input value="points" />
<Input value="type" />
<Input value="level" />
<Input value="track" />
</Inputs>
<Outputs>
<Output value="FamilyInstances" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="00770823-bd47-414e-bf0b-4ddaa158d666" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.Collector.AllElementTypesOf" x="71.5515597784156" y="435.839140896902" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<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>
<DSRevitNodesUI.Levels guid="940eebdd-69b4-4df8-8a6f-d216240960fd" type="DSRevitNodesUI.Levels" nickname="Levels" x="-400.388389148629" y="770.662823824493" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="0:Level 0" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="027f8603-be67-4b60-bde3-6655537a1a36" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Count" x="989.962791004305" y="1068.34324339339" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="BuiltIn" function="Count@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Input.DoubleSlider guid="79f7ec97-2aef-49a8-b0f1-ddcaab98ab7a" type="CoreNodeModels.Input.DoubleSlider" nickname="Distance in project units" x="-400.388389148629" y="867.199036998941" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false">
<System.Double>100</System.Double>
<Range min="0" max="10000" step="1" />
</CoreNodeModels.Input.DoubleSlider>
<CoreNodeModels.Sequence guid="47f9fa17-ee9a-4456-8f4f-d1640f43945b" type="CoreNodeModels.Sequence" nickname="Sequence" x="1268.81664241545" y="947.076799790292" isVisible="true" isUpstreamVisible="true" lacing="Longest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="True" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
</CoreNodeModels.Sequence>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="43b73198-0c57-453d-9a52-9e4d5569b4c3" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1016.81664241545" y="907.290133123626" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Point.ByCoordinates" x="1556.81664241545" y="1006.07679979029" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double">
<PortInfo index="0" default="True" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="db6b1853-0b48-4523-83af-f7469386b6e1" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1268.81664241545" y="1108.29013312363" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="585119d2-f0ca-45a0-a44c-40f865fdec79" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.SortByKey" x="753.833415111917" y="414.928745955596" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.SortByKey@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="732a903f-fc7d-4e23-96c1-2b0eec150e9b" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="FamilyType.Name" x="446.643290061661" y="514.657139764506" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.FamilyType.Name">
<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="585119d2-f0ca-45a0-a44c-40f865fdec79" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="00770823-bd47-414e-bf0b-4ddaa158d666" start_index="0" end="732a903f-fc7d-4e23-96c1-2b0eec150e9b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="940eebdd-69b4-4df8-8a6f-d216240960fd" start_index="0" end="bcefc7e7-c8e8-4d90-b201-9796f76739be" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="027f8603-be67-4b60-bde3-6655537a1a36" start_index="0" end="47f9fa17-ee9a-4456-8f4f-d1640f43945b" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="79f7ec97-2aef-49a8-b0f1-ddcaab98ab7a" start_index="0" end="47f9fa17-ee9a-4456-8f4f-d1640f43945b" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="47f9fa17-ee9a-4456-8f4f-d1640f43945b" start_index="0" end="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="43b73198-0c57-453d-9a52-9e4d5569b4c3" start_index="0" end="47f9fa17-ee9a-4456-8f4f-d1640f43945b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" start_index="0" end="bcefc7e7-c8e8-4d90-b201-9796f76739be" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="db6b1853-0b48-4523-83af-f7469386b6e1" start_index="0" end="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="db6b1853-0b48-4523-83af-f7469386b6e1" start_index="0" end="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="585119d2-f0ca-45a0-a44c-40f865fdec79" start_index="0" end="027f8603-be67-4b60-bde3-6655537a1a36" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="585119d2-f0ca-45a0-a44c-40f865fdec79" start_index="0" end="bcefc7e7-c8e8-4d90-b201-9796f76739be" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="732a903f-fc7d-4e23-96c1-2b0eec150e9b" start_index="0" end="585119d2-f0ca-45a0-a44c-40f865fdec79" end_index="1" portType="0" />
</Connectors>
<Notes />
<Annotations>
<Dynamo.Graph.Annotations.AnnotationModel guid="98aeac10-2420-446b-b8a0-b56ab60050c9" annotationText="Input" left="-410.388389148629" top="628.126610650045" width="319" height="307.072426348896" fontSize="30" InitialTop="674.126610650045" InitialHeight="409.76157520337" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="c80eceeb-0652-4d6a-ac41-c4692592a17b" />
<Models ModelGuid="940eebdd-69b4-4df8-8a6f-d216240960fd" />
<Models ModelGuid="79f7ec97-2aef-49a8-b0f1-ddcaab98ab7a" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="3c81b156-7d24-4b3c-bde1-5095df8872e5" annotationText="all types of category" left="61.5515597784156" top="368.928745955596" width="917.281855333501" height="238.72839380891" fontSize="30" InitialTop="414.928745955596" InitialHeight="409.603253978152" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="00770823-bd47-414e-bf0b-4ddaa158d666" />
<Models ModelGuid="585119d2-f0ca-45a0-a44c-40f865fdec79" />
<Models ModelGuid="732a903f-fc7d-4e23-96c1-2b0eec150e9b" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="8aa61b5a-6dd3-4406-ad83-920dd49e7794" annotationText="Generate insertion points" left="979.962791004305" top="861.290133123626" width="744.853851411145" height="340.000000000004" fontSize="30" InitialTop="907.290133123626" InitialHeight="812.06210730538" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="027f8603-be67-4b60-bde3-6655537a1a36" />
<Models ModelGuid="47f9fa17-ee9a-4456-8f4f-d1640f43945b" />
<Models ModelGuid="43b73198-0c57-453d-9a52-9e4d5569b4c3" />
<Models ModelGuid="6daffae8-4519-4d6b-af83-06c0cb3d5fe1" />
<Models ModelGuid="db6b1853-0b48-4523-83af-f7469386b6e1" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="3103b0b6-45a7-4b62-be55-6672a630c444" annotationText="Place instances" left="1832.21892123395" top="521.984122914606" width="273" height="217" fontSize="30" InitialTop="567.984122914606" InitialHeight="201" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="bcefc7e7-c8e8-4d90-b201-9796f76739be" />
</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>

View File

@@ -0,0 +1,741 @@
{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "CategoryPresentation-DP",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [
{
"Id": "79f7ec972aef49a8b0f1ddcaab98ab7a",
"Name": "Distance in project units",
"Type": "number",
"Value": "316",
"MaximumValue": 10000.0,
"MinimumValue": 0.0,
"StepValue": 1.0,
"NumberType": "Double",
"Description": "A slider that produces numeric values."
}
],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI",
"SelectedIndex": 223,
"SelectedString": "OST_Furniture",
"NodeType": "ExtensionNode",
"Id": "c80eceeb06524d6aac41c4692592a17b",
"Inputs": [],
"Outputs": [
{
"Id": "651f5cf0733645b1912f66e16c009ae5",
"Name": "Category",
"Description": "The selected Category.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All built-in categories."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "d24738a4-3ba4-4d99-8e40-bbe246413502",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "bcefc7e7c8e84d90b2019796f76739be",
"Inputs": [
{
"Id": "141bde1cf93d426a9f372e7eaf8daeab",
"Name": "points",
"Description": "var[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e44e17a4d214418a989d2bf58069abe9",
"Name": "type",
"Description": "var[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "194edeb8be4646c7b4fb6e0a9dcc49ba",
"Name": "level",
"Description": "var[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "6681ae4328a048728f262cf16cfad0b9",
"Name": "track",
"Description": "bool\nDefault value : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "252ed3a40ff64db0ba8b2b789c9d394f",
"Name": "FamilyInstances",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "This node batch ceates level hosted family instances. You can feed either a single type/level that will be used for all instances or a unique type/level for each instance. Set track to false if you'd like to place instances on every run."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "b1b51409-ea2b-4410-a242-b4b8607f7fd7",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "00770823bd47414ebf0b4ddaa158d666",
"Inputs": [
{
"Id": "5729728627ee46a38d6b0fac6755e214",
"Name": "CategoryOrElemType",
"Description": "var[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e30e6290a7064df680973564c575021d",
"Name": "refresh",
"Description": "bool\nDefault value : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "914875387bc84f0d97892a00de3b86f7",
"Name": "elements",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "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."
},
{
"ConcreteType": "DSRevitNodesUI.Levels, DSRevitNodesUI",
"SelectedIndex": 3,
"SelectedString": "L00 - Ground Floor",
"NodeType": "ExtensionNode",
"Id": "940eebdd69b44df88a6fd216240960fd",
"Inputs": [],
"Outputs": [
{
"Id": "8ae90e6c0541468c860cd78fb1de1b14",
"Name": "Levels",
"Description": "The selected Levels",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Select a level in the active document"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Count@var[]..[]",
"Id": "027f8603be674b60bde36655537a1a36",
"Inputs": [
{
"Id": "f803278515f148caa7bfced90cbe1c95",
"Name": "list",
"Description": "List to get the item count of.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "d8942a6a1f49443cbcd9547175ecaf69",
"Name": "count",
"Description": "List length.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Returns the number of items stored in the given list.\n\nList.Count (list: var[]..[]): int"
},
{
"ConcreteType": "CoreNodeModels.Input.DoubleSlider, CoreNodeModels",
"NodeType": "NumberInputNode",
"NumberType": "Double",
"MaximumValue": 10000.0,
"MinimumValue": 0.0,
"StepValue": 1.0,
"InputValue": 316.0,
"Id": "79f7ec972aef49a8b0f1ddcaab98ab7a",
"Inputs": [],
"Outputs": [
{
"Id": "650ea571f3bf450a8b88d78f5bc9159e",
"Name": "",
"Description": "Double",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A slider that produces numeric values."
},
{
"ConcreteType": "CoreNodeModels.Sequence, CoreNodeModels",
"NodeType": "ExtensionNode",
"Id": "47f9fa17ee9a44568f4fd1640f43945b",
"Inputs": [
{
"Id": "ddb15b1a2088434680fda3ce0208df43",
"Name": "start",
"Description": "Number or letter to start the sequence at\r\nDefault value: 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "620b8a7e1fdf453c8c3c1de7105a2b15",
"Name": "amount",
"Description": "Amount of numbers in the sequence\r\nDefault value: 10",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "955f91886e5b44a5acad68e75d7cdc82",
"Name": "step",
"Description": "Space between numbers or letters\r\nDefault value: 1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "3484303455ac40be8740cd7c42a0d25e",
"Name": "seq",
"Description": "New sequence",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Longest",
"Description": "Creates a sequence of numbers."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "0;",
"Id": "43b731980c57453d9a529e4d5569b4c3",
"Inputs": [],
"Outputs": [
{
"Id": "bd6d363ad34249fa9caaf00fb4a8e4bb",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double",
"Id": "6daffae845194d6baf8306c0cb3d5fe1",
"Inputs": [
{
"Id": "48cc1f3a7fea433ab7fe01c34cbbe17a",
"Name": "x",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "1f7efd96265745c28f1eea427d4653be",
"Name": "y",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "483665749bed470fb008f1b79b0ccc06",
"Name": "z",
"Description": "double\nDefault value : 0",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "733b103aad11479888d16de18e613736",
"Name": "Point",
"Description": "Point",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "0;",
"Id": "db6b18530b48452383aff7469386b6e1",
"Inputs": [],
"Outputs": [
{
"Id": "f2c1a6dd96f14ce8a6b30a55d1e7d43b",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.SortByKey@var[]..[],var[]..[]",
"Id": "585119d2f0ca45a0a44c40f865fdec79",
"Inputs": [
{
"Id": "ab3d6a495e8e4a289b1219737ec9d9b6",
"Name": "list",
"Description": "list to be sorted\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "764e42a57fd341a4a5acda358d4c97ca",
"Name": "keys",
"Description": "list of keys\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "5012dbb5f9c14cbb9c4bd981d3938996",
"Name": "sorted list",
"Description": "sorted list",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "daaa2e4363e04ac1b710bd2f706690d2",
"Name": "sorted keys",
"Description": "sorted keys",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Sort list based on its keys\n\nList.SortByKey (list: var[]..[], keys: var[]..[]): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.FamilyType.Name",
"Id": "732a903ffc7d4e2396c12b0eec150e9b",
"Inputs": [
{
"Id": "66c385b38a3647618e0787c586a7a068",
"Name": "familyType",
"Description": "Revit.Elements.FamilyType",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "74eb4674b555439bbe273dd3f47e8bf6",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the name of this Family Type\n\nFamilyType.Name: string"
}
],
"Connectors": [
{
"Start": "651f5cf0733645b1912f66e16c009ae5",
"End": "5729728627ee46a38d6b0fac6755e214",
"Id": "b86e0505a092432688b70963ee0cfeb0"
},
{
"Start": "914875387bc84f0d97892a00de3b86f7",
"End": "ab3d6a495e8e4a289b1219737ec9d9b6",
"Id": "c7d2cf4ef5aa4180b85f01de26709d94"
},
{
"Start": "914875387bc84f0d97892a00de3b86f7",
"End": "66c385b38a3647618e0787c586a7a068",
"Id": "26278739398642f39e142db51cfe9553"
},
{
"Start": "8ae90e6c0541468c860cd78fb1de1b14",
"End": "194edeb8be4646c7b4fb6e0a9dcc49ba",
"Id": "7b45a2eb6030427bbd1423b0fd68d380"
},
{
"Start": "d8942a6a1f49443cbcd9547175ecaf69",
"End": "620b8a7e1fdf453c8c3c1de7105a2b15",
"Id": "6f3be3988f3a4efda39461f43ee371e7"
},
{
"Start": "650ea571f3bf450a8b88d78f5bc9159e",
"End": "955f91886e5b44a5acad68e75d7cdc82",
"Id": "09895fa340fd4949aed68b0dc352e254"
},
{
"Start": "3484303455ac40be8740cd7c42a0d25e",
"End": "48cc1f3a7fea433ab7fe01c34cbbe17a",
"Id": "9fb4ff101b524051aedfbc6c1b126786"
},
{
"Start": "bd6d363ad34249fa9caaf00fb4a8e4bb",
"End": "ddb15b1a2088434680fda3ce0208df43",
"Id": "a8313015b0b64c0ea18e98f67b2ed49d"
},
{
"Start": "733b103aad11479888d16de18e613736",
"End": "141bde1cf93d426a9f372e7eaf8daeab",
"Id": "e545c6ef3ce04f4ba29f41fcd3bafed8"
},
{
"Start": "f2c1a6dd96f14ce8a6b30a55d1e7d43b",
"End": "1f7efd96265745c28f1eea427d4653be",
"Id": "4fc67f40ea0d451aacd5f48e5752cf07"
},
{
"Start": "f2c1a6dd96f14ce8a6b30a55d1e7d43b",
"End": "483665749bed470fb008f1b79b0ccc06",
"Id": "8b21b0fd76694b538f4349a6fd8323c0"
},
{
"Start": "5012dbb5f9c14cbb9c4bd981d3938996",
"End": "f803278515f148caa7bfced90cbe1c95",
"Id": "6d95cf4f81fa4fa4b1daea93961678a0"
},
{
"Start": "5012dbb5f9c14cbb9c4bd981d3938996",
"End": "e44e17a4d214418a989d2bf58069abe9",
"Id": "da22f58985794cbbaedc1e0a18543329"
},
{
"Start": "74eb4674b555439bbe273dd3f47e8bf6",
"End": "764e42a57fd341a4a5acda358d4c97ca",
"Id": "0ea437003bb84106b27416d3f38de04a"
}
],
"Dependencies": [
"d24738a4-3ba4-4d99-8e40-bbe246413502",
"b1b51409-ea2b-4410-a242-b4b8607f7fd7"
],
"NodeLibraryDependencies": [
{
"Name": "spring nodes",
"Version": "204.1.0",
"ReferenceType": "Package",
"Nodes": [
"bcefc7e7c8e84d90b2019796f76739be",
"00770823bd47414ebf0b4ddaa158d666"
]
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.3.1.11775",
"RunType": "Automatic",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
"LookX": 12.0,
"LookY": -13.0,
"LookZ": -58.0,
"UpX": 0.0,
"UpY": 1.0,
"UpZ": 0.0
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Category to place",
"Id": "c80eceeb06524d6aac41c4692592a17b",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -400.388389148629,
"Y": 674.126610650045
},
{
"ShowGeometry": true,
"Name": "Springs.BatchInstances.ByPointsLevels",
"Id": "bcefc7e7c8e84d90b2019796f76739be",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1841.1856538956633,
"Y": 567.984122914606
},
{
"ShowGeometry": true,
"Name": "Springs.Collector.AllElementTypesOf",
"Id": "00770823bd47414ebf0b4ddaa158d666",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 71.5515597784156,
"Y": 435.839140896902
},
{
"ShowGeometry": true,
"Name": "Levels",
"Id": "940eebdd69b44df88a6fd216240960fd",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -400.388389148629,
"Y": 770.662823824493
},
{
"ShowGeometry": true,
"Name": "List.Count",
"Id": "027f8603be674b60bde36655537a1a36",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 989.962791004305,
"Y": 1068.34324339339
},
{
"ShowGeometry": true,
"Name": "Distance in project units",
"Id": "79f7ec972aef49a8b0f1ddcaab98ab7a",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -400.388389148629,
"Y": 867.199036998941
},
{
"ShowGeometry": true,
"Name": "Sequence",
"Id": "47f9fa17ee9a44568f4fd1640f43945b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1268.81664241545,
"Y": 947.076799790292
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "43b731980c57453d9a529e4d5569b4c3",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1016.81664241545,
"Y": 907.290133123626
},
{
"ShowGeometry": true,
"Name": "Point.ByCoordinates",
"Id": "6daffae845194d6baf8306c0cb3d5fe1",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1556.81664241545,
"Y": 1006.07679979029
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "db6b18530b48452383aff7469386b6e1",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1268.81664241545,
"Y": 1108.29013312363
},
{
"ShowGeometry": true,
"Name": "List.SortByKey",
"Id": "585119d2f0ca45a0a44c40f865fdec79",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 753.833415111917,
"Y": 414.928745955596
},
{
"ShowGeometry": true,
"Name": "FamilyType.Name",
"Id": "732a903ffc7d4e2396c12b0eec150e9b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 446.643290061661,
"Y": 514.657139764506
}
],
"Annotations": [
{
"Id": "98aeac102420446bb8a0b56ab60050c9",
"Title": "Input",
"Nodes": [
"c80eceeb06524d6aac41c4692592a17b",
"940eebdd69b44df88a6fd216240960fd",
"79f7ec972aef49a8b0f1ddcaab98ab7a"
],
"Left": -410.388389148629,
"Top": 628.126610650045,
"Width": 319.0,
"Height": 307.072426348896,
"FontSize": 30.0,
"InitialTop": 674.126610650045,
"InitialHeight": 409.76157520337,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "3c81b1567d244b3cbde15095df8872e5",
"Title": "all types of category",
"Nodes": [
"00770823bd47414ebf0b4ddaa158d666",
"585119d2f0ca45a0a44c40f865fdec79",
"732a903ffc7d4e2396c12b0eec150e9b"
],
"Left": 61.551559778415594,
"Top": 368.928745955596,
"Width": 917.28185533350143,
"Height": 238.72839380891003,
"FontSize": 30.0,
"InitialTop": 414.928745955596,
"InitialHeight": 409.603253978152,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "8aa61b5a6dd34406ad83920dd49e7794",
"Title": "Generate insertion points",
"Nodes": [
"027f8603be674b60bde36655537a1a36",
"47f9fa17ee9a44568f4fd1640f43945b",
"43b731980c57453d9a529e4d5569b4c3",
"6daffae845194d6baf8306c0cb3d5fe1",
"db6b18530b48452383aff7469386b6e1"
],
"Left": 979.962791004305,
"Top": 861.290133123626,
"Width": 744.85385141114489,
"Height": 340.00000000000409,
"FontSize": 30.0,
"InitialTop": 907.290133123626,
"InitialHeight": 812.06210730538,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "3103b0b645a74b62be556672a630c444",
"Title": "Place instances",
"Nodes": [
"bcefc7e7c8e84d90b2019796f76739be"
],
"Left": 1831.1856538956633,
"Top": 521.984122914606,
"Width": 273.0,
"Height": 217.0,
"FontSize": 30.0,
"InitialTop": 567.984122914606,
"InitialHeight": 201.0,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
}
],
"X": 888.166231917179,
"Y": -1072.6021321762885,
"Zoom": 1.7085201784401405
}
}

View File

@@ -94,7 +94,7 @@ The python script is written by [BIMadmin](https://forum.dynamobim.com/u/BIMadmi
Calculate department sum area, and write it to a selected parameter. Calculate department sum area, and write it to a selected parameter.
### CategoryPresentation ✅ 🚧 🔻 ### CategoryPresentation ✅ 🚧
Places all loaded families from the selected category on a line for presentation. Places all loaded families from the selected category on a line for presentation.