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

@@ -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
}
}