Files
dynamo-scripts/CopyParameterValuesToParameter/2.x/CopyParameterValuesToParameter.dyn
2019-07-06 18:22:47 +02:00

479 lines
14 KiB
Plaintext

{
"Uuid": "d4f16841-2cdc-490f-ac5f-e663ee6634e0",
"IsCustomNode": false,
"Description": null,
"Name": "CopyParameterValuesToParameter",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [
{
"Id": "a783f43b728f4705a44fd884794aff39",
"Name": "FROM parameter",
"Type": "string",
"Value": "Material",
"Description": "Creates a string."
},
{
"Id": "5e5025a176b840129c16ccf91776bd4a",
"Name": "TO parameter",
"Type": "string",
"Value": "Equipement material",
"Description": "Creates a string."
}
],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Orchid.E.RevitProject.Elements.Family.Families, OrchidRE",
"SelectedIndex": 174,
"NodeType": "ExtensionNode",
"Id": "00dc16b26af849c9892fc54a65bcff64",
"Inputs": [],
"Outputs": [
{
"Id": "5663a18d719740c3b0353fc566a1381d",
"Name": "Family",
"Description": "The selected Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All families available in the document."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Family.Types",
"Id": "7970b42dcbfa4692999a0e1a62fd3de9",
"Inputs": [
{
"Id": "72ed249a9c1541528207be702a82a6bd",
"Name": "family",
"Description": "Revit.Elements.Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "51215da4f169422fb524d02d0caacc44",
"Name": "FamilyType[]",
"Description": "FamilyType[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Obtain the FamilyTypes from this Family\n\nFamily.Types: FamilyType[]"
},
{
"ConcreteType": "DSRevitNodesUI.ElementsOfFamilyType, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "4d48a99a1c7346b7bd57af913db1c229",
"Inputs": [
{
"Id": "b8a323ea812e430b9a36b06ea9a9125f",
"Name": "Family Type",
"Description": "The Family Type.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "7698e21fb96e4791ab0f8083158d1189",
"Name": "Elements",
"Description": "The list of elements matching the query.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Get all elements of the specified family type from the model."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "e5f79ad1bb464ac685874e988f2896b4",
"Inputs": [
{
"Id": "fb167195ad3d4764b2c7ca06de074c83",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ccc4e72032fd4512b0e8562b009825c4",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a6bd6f01a38447da80eeeb4ad2c06c04",
"Name": "var[]..[]",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Flattens a nested list of lists by a certain amount.\n\nList.Flatten (list: var[]..[], amt: int = -1): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.GetParameterValueByName@string",
"Id": "25cc77ab0a6a414dafcc5e9107d05418",
"Inputs": [
{
"Id": "b1c9e892e45b42e6856e4e319f469199",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "888f5e067f6347e5aa41e7d890e7c624",
"Name": "parameterName",
"Description": "The name of the parameter whose value you want to obtain.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e75e8c04121e4ccd94c3ce45d09827f8",
"Name": "var[]..[]",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the value of one of the element's parameters.\n\nElement.GetParameterValueByName (parameterName: string): var[]..[]"
},
{
"ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels",
"NodeType": "StringInputNode",
"InputValue": "Material",
"Id": "a783f43b728f4705a44fd884794aff39",
"Inputs": [],
"Outputs": [
{
"Id": "af71f1bd389147c3bc618bfb824628b9",
"Name": "",
"Description": "String",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a string."
},
{
"ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels",
"NodeType": "StringInputNode",
"InputValue": "Equipement material",
"Id": "5e5025a176b840129c16ccf91776bd4a",
"Inputs": [],
"Outputs": [
{
"Id": "8a375e237e1e4a66a6bcacccd46ea14d",
"Name": "",
"Description": "String",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a string."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var",
"Id": "2d02bba5dfdd42c0bf49b54a68bcdb09",
"Inputs": [
{
"Id": "d5e973ed4ba147b7a4907def7c6186be",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "a4788571910b42b0b5acc28932ec7591",
"Name": "parameterName",
"Description": "The name of the parameter to set.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "96fa9c0f71ac48909deeeb7bbb3085d9",
"Name": "value",
"Description": "The value.\n\nvar",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "86725f9fb1024024807347eb70d97167",
"Name": "Element",
"Description": "Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Set one of the element's parameters.\n\nElement.SetParameterByName (parameterName: string, value: var): Element"
}
],
"Connectors": [
{
"Start": "5663a18d719740c3b0353fc566a1381d",
"End": "72ed249a9c1541528207be702a82a6bd",
"Id": "1e4bc76f39b94f02b20217dfaa1c2f84"
},
{
"Start": "51215da4f169422fb524d02d0caacc44",
"End": "b8a323ea812e430b9a36b06ea9a9125f",
"Id": "072f718eff1e4427a2fbed2e0ebc963f"
},
{
"Start": "7698e21fb96e4791ab0f8083158d1189",
"End": "fb167195ad3d4764b2c7ca06de074c83",
"Id": "76a705eb64e04057bed16aeeb375ae11"
},
{
"Start": "a6bd6f01a38447da80eeeb4ad2c06c04",
"End": "b1c9e892e45b42e6856e4e319f469199",
"Id": "963c57015a5046bf850acbfd665d83ec"
},
{
"Start": "a6bd6f01a38447da80eeeb4ad2c06c04",
"End": "d5e973ed4ba147b7a4907def7c6186be",
"Id": "8cd780fe50f94dff91e96bd747f05d6e"
},
{
"Start": "e75e8c04121e4ccd94c3ce45d09827f8",
"End": "96fa9c0f71ac48909deeeb7bbb3085d9",
"Id": "efcb5632ce9241aeabbe7b02bc1a416c"
},
{
"Start": "af71f1bd389147c3bc618bfb824628b9",
"End": "888f5e067f6347e5aa41e7d890e7c624",
"Id": "a6c9c2889bac4473b34033811e6e0491"
},
{
"Start": "8a375e237e1e4a66a6bcacccd46ea14d",
"End": "a4788571910b42b0b5acc28932ec7591",
"Id": "079a2b30e59248bbad5614eb16d3b381"
}
],
"Dependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.2.6826",
"RunType": "Manual",
"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": "Select family",
"Id": "00dc16b26af849c9892fc54a65bcff64",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 281.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "Family.Types",
"Id": "7970b42dcbfa4692999a0e1a62fd3de9",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 552.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "All Elements of Family Type",
"Id": "4d48a99a1c7346b7bd57af913db1c229",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 885.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "e5f79ad1bb464ac685874e988f2896b4",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1177.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "Element.GetParameterValueByName",
"Id": "25cc77ab0a6a414dafcc5e9107d05418",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1493.29809031464,
"Y": 651.479949675299
},
{
"ShowGeometry": true,
"Name": "FROM parameter",
"Id": "a783f43b728f4705a44fd884794aff39",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 280.90640900270591,
"Y": 604.60582812790335
},
{
"ShowGeometry": true,
"Name": "TO parameter",
"Id": "5e5025a176b840129c16ccf91776bd4a",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 278.59525394369166,
"Y": 724.5109651631517
},
{
"ShowGeometry": true,
"Name": "Element.SetParameterByName",
"Id": "2d02bba5dfdd42c0bf49b54a68bcdb09",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1792.49939128177,
"Y": 889.522611843427
}
],
"Annotations": [
{
"Id": "465a773da21c4522b269f1b1afb1d3d7",
"Title": "Input",
"Nodes": [
"00dc16b26af849c9892fc54a65bcff64",
"a783f43b728f4705a44fd884794aff39",
"5e5025a176b840129c16ccf91776bd4a"
],
"Left": 268.59525394369166,
"Top": 394.63784675136736,
"Width": 173.81926186049805,
"Height": 397.87311841178433,
"FontSize": 36.0,
"InitialTop": 447.63784675136736,
"InitialHeight": 374.87311841178428,
"TextblockHeight": 43.0,
"Background": "#FFFFB8D8"
},
{
"Id": "1b6efb3fe7b04e6b97e1659813c59687",
"Title": "Select all elements of family",
"Nodes": [
"7970b42dcbfa4692999a0e1a62fd3de9",
"4d48a99a1c7346b7bd57af913db1c229",
"e5f79ad1bb464ac685874e988f2896b4"
],
"Left": 542.4145158041897,
"Top": 394.63784675136736,
"Width": 831.0,
"Height": 172.0,
"FontSize": 36.0,
"InitialTop": 447.63784675136736,
"InitialHeight": 149.0,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
},
{
"Id": "fb9e5f3712834e48bd9a4962a525f473",
"Title": "Copy parameters",
"Nodes": [
"25cc77ab0a6a414dafcc5e9107d05418",
"2d02bba5dfdd42c0bf49b54a68bcdb09"
],
"Left": 1483.29809031464,
"Top": 598.479949675299,
"Width": 589.20130096713,
"Height": 436.04266216812789,
"FontSize": 36.0,
"InitialTop": 651.479949675299,
"InitialHeight": 413.04266216812857,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
}
],
"X": -26.26884093997424,
"Y": 336.99616195116096,
"Zoom": 0.28955026871897455
}
}