diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.dyn new file mode 100644 index 000000000..037352d3a --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.dyn @@ -0,0 +1,147 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Family.ByName", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "00ba6580a0594b159e4f779059007be2", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "766d0d1073294890bb932a6c7123bece", + "Name": "name", + "Description": "The name of the family in the current document\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "41c520048fe5488da786efd120e10b62", + "Name": "Family", + "Description": "Family", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Family.ByName@string", + "Replication": "Auto", + "Description": "Obtain a Family from the current document given it's name\n\nFamily.ByName (name: string): Family" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "Door-Passage-Single-Flush" + } + ], + "Connectors": [ + { + "Start": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "End": "766d0d1073294890bb932a6c7123bece", + "Id": "8e89cabeec2840f68efa65bd49843b2b", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "00ba6580a0594b159e4f779059007be2", + "Name": "Family.ByName", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 781.4000000000001, + "Y": 360.8 + }, + { + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "Name": "String", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 450.20000000000005, + "Y": 360.8 + } + ], + "Annotations": [], + "X": 0.0, + "Y": 0.0, + "Zoom": 1.0 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.md new file mode 100644 index 000000000..ccb020d12 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName.md @@ -0,0 +1,8 @@ +## In Depth +`Family.ByName` returns the family definition from the current document (if available). If the family is not available in the current document, a null value is returned. + +In the example below, a family definition for "Door-Passage-Single-Flush" is returned, along with its element id (in green). +___ +## Example File + +![Family.ByName](./Revit.Elements.Family.ByName_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName_img.jpg new file mode 100644 index 000000000..6c805437f Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Family.ByName_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.dyn new file mode 100644 index 000000000..a51ec0d45 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.dyn @@ -0,0 +1,284 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyInstance.FacingOrientation", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "273a80f5e0b6426393c60a2174cd1201", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9107c4e4a601436e8e40559b65944706", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8d57e15620e148ecb4b5b95a6f5793b3", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "be4591ac57354814a355d527f970044c", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2af156a5c8c74cfeb6b75bf159587133", + "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.ZeroTouch.DSFunction, DynamoCore", + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "353fe0515ffa4b4984b2bdb7e3d80b17", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "318b45e9a8ad48a5809caa65067101ff", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "fb666dd87f3a4031b908403eb67df567", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d3059eabd6a44f6683c87e3a3af4f395", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e81c78d6cdaa46e0b5b37218e464754c", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "8d7784530dae497993e2999dcfb48a08", + "Name": "familyInstance", + "Description": "Revit.Elements.FamilyInstance", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e1f5df35b4b643dab877e4f5c2fb2861", + "Name": "Vector", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyInstance.FacingOrientation", + "Replication": "Auto", + "Description": "Gets the FacingOrientation of the family instance\n\nFamilyInstance.FacingOrientation: Vector" + } + ], + "Connectors": [ + { + "Start": "8d57e15620e148ecb4b5b95a6f5793b3", + "End": "8d7784530dae497993e2999dcfb48a08", + "Id": "817e4a295d9348679780044b5f17c7fc", + "IsHidden": "False" + }, + { + "Start": "2af156a5c8c74cfeb6b75bf159587133", + "End": "273a80f5e0b6426393c60a2174cd1201", + "Id": "0027d30c3b104d33ab30618664b25f0d", + "IsHidden": "False" + }, + { + "Start": "353fe0515ffa4b4984b2bdb7e3d80b17", + "End": "fb666dd87f3a4031b908403eb67df567", + "Id": "1ea641137adc4c07a41fc142a975b91b", + "IsHidden": "False" + }, + { + "Start": "d3059eabd6a44f6683c87e3a3af4f395", + "End": "9107c4e4a601436e8e40559b65944706", + "Id": "8a91e483f43c4f82b3f239d2964fe4ce", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 638.6, + "Y": 308.20000000000005 + }, + { + "Id": "be4591ac57354814a355d527f970044c", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 251.20000000000002 + }, + { + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -6.199999999999932, + "Y": 399.20000000000005 + }, + { + "Id": "318b45e9a8ad48a5809caa65067101ff", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 399.20000000000005 + }, + { + "Id": "e81c78d6cdaa46e0b5b37218e464754c", + "Name": "FamilyInstance.FacingOrientation", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1026.9068249258166, + "Y": 308.20000000000005 + } + ], + "Annotations": [], + "X": 15.955924347180826, + "Y": 120.75374999999994, + "Zoom": 0.7082312500000001 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.md new file mode 100644 index 000000000..3e78f5b31 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation.md @@ -0,0 +1,8 @@ +## In Depth +`FamilyInstance.FacingOrientation` returns a vector describing the orientation of a family instance. This can be used to determine how much an instance has been rotated. + +In the example below, the facing orientation (vector) for all door instances in the current view from the current document are returned. +___ +## Example File + +![FamilyInstance.FacingOrientation](./Revit.Elements.FamilyInstance.FacingOrientation_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation_img.jpg new file mode 100644 index 000000000..b0b327242 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.FacingOrientation_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.dyn new file mode 100644 index 000000000..d789d04cf --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.dyn @@ -0,0 +1,284 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyInstance.GetFamily", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "273a80f5e0b6426393c60a2174cd1201", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9107c4e4a601436e8e40559b65944706", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8d57e15620e148ecb4b5b95a6f5793b3", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "be4591ac57354814a355d527f970044c", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2af156a5c8c74cfeb6b75bf159587133", + "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.ZeroTouch.DSFunction, DynamoCore", + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "353fe0515ffa4b4984b2bdb7e3d80b17", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "318b45e9a8ad48a5809caa65067101ff", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "fb666dd87f3a4031b908403eb67df567", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d3059eabd6a44f6683c87e3a3af4f395", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "d77ce88525d343ca9330db1d8c5bdeb4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "75435dc166cc4a779b8ddab0702171a7", + "Name": "familyInstance", + "Description": "Revit.Elements.FamilyInstance", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ebf220d869654dd5b1e75ddee9be6638", + "Name": "Family", + "Description": "Family", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyInstance.GetFamily", + "Replication": "Auto", + "Description": "Gets the family of this family instance\n\nFamilyInstance.GetFamily: Family" + } + ], + "Connectors": [ + { + "Start": "8d57e15620e148ecb4b5b95a6f5793b3", + "End": "75435dc166cc4a779b8ddab0702171a7", + "Id": "e6a21fcf8b54449986fc40fff2f39cae", + "IsHidden": "False" + }, + { + "Start": "2af156a5c8c74cfeb6b75bf159587133", + "End": "273a80f5e0b6426393c60a2174cd1201", + "Id": "9772df09fd2f4cbfa464e256e96a59a9", + "IsHidden": "False" + }, + { + "Start": "353fe0515ffa4b4984b2bdb7e3d80b17", + "End": "fb666dd87f3a4031b908403eb67df567", + "Id": "1ea641137adc4c07a41fc142a975b91b", + "IsHidden": "False" + }, + { + "Start": "d3059eabd6a44f6683c87e3a3af4f395", + "End": "9107c4e4a601436e8e40559b65944706", + "Id": "66b7530b71864041bad280b312290dcf", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 638.6, + "Y": 308.20000000000005 + }, + { + "Id": "be4591ac57354814a355d527f970044c", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 309.3248047095812, + "Y": 250.2393136129169 + }, + { + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -6.199999999999932, + "Y": 399.20000000000005 + }, + { + "Id": "318b45e9a8ad48a5809caa65067101ff", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 399.20000000000005 + }, + { + "Id": "d77ce88525d343ca9330db1d8c5bdeb4", + "Name": "FamilyInstance.GetFamily", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1028.946680313824, + "Y": 308.20000000000005 + } + ], + "Annotations": [], + "X": 48.039134341650424, + "Y": 88.1089950549815, + "Zoom": 0.8327379369130656 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.md new file mode 100644 index 000000000..25c2d37a1 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily.md @@ -0,0 +1,8 @@ +## In Depth +`FamilyInstance.GetFamily` returns the parent family of the given family instance. + +In the example below, the family for all doors in the current view of the current document are returned. +___ +## Example File + +![FamilyInstance.GetFamily](./Revit.Elements.FamilyInstance.GetFamily_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily_img.jpg new file mode 100644 index 000000000..ac91c3ab3 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetFamily_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.dyn new file mode 100644 index 000000000..70bcc23bf --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.dyn @@ -0,0 +1,284 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyInstance.GetHost", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "273a80f5e0b6426393c60a2174cd1201", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9107c4e4a601436e8e40559b65944706", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8d57e15620e148ecb4b5b95a6f5793b3", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "be4591ac57354814a355d527f970044c", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2af156a5c8c74cfeb6b75bf159587133", + "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.ZeroTouch.DSFunction, DynamoCore", + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "353fe0515ffa4b4984b2bdb7e3d80b17", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "318b45e9a8ad48a5809caa65067101ff", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "fb666dd87f3a4031b908403eb67df567", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d3059eabd6a44f6683c87e3a3af4f395", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "224b92eb83af45e0842f8052f78272a9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "5f66b632085e4fe2bec5fe0309060f70", + "Name": "familyInstance", + "Description": "Revit.Elements.FamilyInstance", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3879bb6d82f7491b899815bf5bc4a2b1", + "Name": "Element", + "Description": "Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyInstance.GetHost", + "Replication": "Auto", + "Description": "Gets the host of this family instance (if any). Eg. returns the wall of a window or door family instance.\n\nFamilyInstance.GetHost: Element" + } + ], + "Connectors": [ + { + "Start": "8d57e15620e148ecb4b5b95a6f5793b3", + "End": "5f66b632085e4fe2bec5fe0309060f70", + "Id": "4407f3619589489b927945abaadd90fa", + "IsHidden": "False" + }, + { + "Start": "2af156a5c8c74cfeb6b75bf159587133", + "End": "273a80f5e0b6426393c60a2174cd1201", + "Id": "0027d30c3b104d33ab30618664b25f0d", + "IsHidden": "False" + }, + { + "Start": "353fe0515ffa4b4984b2bdb7e3d80b17", + "End": "fb666dd87f3a4031b908403eb67df567", + "Id": "1ea641137adc4c07a41fc142a975b91b", + "IsHidden": "False" + }, + { + "Start": "d3059eabd6a44f6683c87e3a3af4f395", + "End": "9107c4e4a601436e8e40559b65944706", + "Id": "8a91e483f43c4f82b3f239d2964fe4ce", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 638.6, + "Y": 308.20000000000005 + }, + { + "Id": "be4591ac57354814a355d527f970044c", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 251.20000000000002 + }, + { + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -6.199999999999932, + "Y": 399.20000000000005 + }, + { + "Id": "318b45e9a8ad48a5809caa65067101ff", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 399.20000000000005 + }, + { + "Id": "224b92eb83af45e0842f8052f78272a9", + "Name": "FamilyInstance.GetHost", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1026.9068249258166, + "Y": 308.20000000000005 + } + ], + "Annotations": [], + "X": 60.84898864738011, + "Y": 11.128872461404455, + "Zoom": 0.931811528498331 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.md new file mode 100644 index 000000000..605814e8f --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost.md @@ -0,0 +1,8 @@ +## In Depth +`FamilyInstance.GetHost` returns the element(s) that hosts a given family instance. Common hosted elements in Revit are doors, windows, and elements of curtain systems. + +In the example below, the host for all doors in the current view of the current document are returned. The element id (in green) is the host's element id in the current Revit document. +___ +## Example File + +![FamilyInstance.GetHost](./Revit.Elements.FamilyInstance.GetHost_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost_img.jpg new file mode 100644 index 000000000..2309dce9d Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.GetHost_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.dyn new file mode 100644 index 000000000..8166db6e5 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.dyn @@ -0,0 +1,284 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyInstance.Location", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "273a80f5e0b6426393c60a2174cd1201", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9107c4e4a601436e8e40559b65944706", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8d57e15620e148ecb4b5b95a6f5793b3", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "be4591ac57354814a355d527f970044c", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2af156a5c8c74cfeb6b75bf159587133", + "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.ZeroTouch.DSFunction, DynamoCore", + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "353fe0515ffa4b4984b2bdb7e3d80b17", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "318b45e9a8ad48a5809caa65067101ff", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "fb666dd87f3a4031b908403eb67df567", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d3059eabd6a44f6683c87e3a3af4f395", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "87e02a274ce3499b98e997eb617bae92", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ebaa19838e43439d857c1c782ad76613", + "Name": "familyInstance", + "Description": "Revit.Elements.FamilyInstance", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "81a78e55c36b48b6a4fc517a06b65f1c", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyInstance.Location", + "Replication": "Auto", + "Description": "Gets the location of the specific family instance\n\nFamilyInstance.Location: Point" + } + ], + "Connectors": [ + { + "Start": "8d57e15620e148ecb4b5b95a6f5793b3", + "End": "ebaa19838e43439d857c1c782ad76613", + "Id": "105d73fad2b44cb197f201eac9460898", + "IsHidden": "False" + }, + { + "Start": "2af156a5c8c74cfeb6b75bf159587133", + "End": "273a80f5e0b6426393c60a2174cd1201", + "Id": "0027d30c3b104d33ab30618664b25f0d", + "IsHidden": "False" + }, + { + "Start": "353fe0515ffa4b4984b2bdb7e3d80b17", + "End": "fb666dd87f3a4031b908403eb67df567", + "Id": "1ea641137adc4c07a41fc142a975b91b", + "IsHidden": "False" + }, + { + "Start": "d3059eabd6a44f6683c87e3a3af4f395", + "End": "9107c4e4a601436e8e40559b65944706", + "Id": "8a91e483f43c4f82b3f239d2964fe4ce", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "aa843e8f76aa4572b82b0bc87315b2e6", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 638.6, + "Y": 308.20000000000005 + }, + { + "Id": "be4591ac57354814a355d527f970044c", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 251.20000000000002 + }, + { + "Id": "c8f0cadda0dc42a8a3d6e0b2efcc082b", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -6.199999999999932, + "Y": 399.20000000000005 + }, + { + "Id": "318b45e9a8ad48a5809caa65067101ff", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 302.6000000000001, + "Y": 399.20000000000005 + }, + { + "Id": "87e02a274ce3499b98e997eb617bae92", + "Name": "FamilyInstance.Location", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1023.5999999999999, + "Y": 308.20000000000005 + } + ], + "Annotations": [], + "X": 41.50599999999986, + "Y": 198.69999999999996, + "Zoom": 0.8425 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.md new file mode 100644 index 000000000..01931adb0 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location.md @@ -0,0 +1,10 @@ +## In Depth +`FamilyInstance.Location` returns a Dynamo point for the given family instance. If there is no location, a null value is returned. `FamilyInstance.Location` works on point-based element, and will not return a location for curve based element in Revit, _e.g. a wall or beam element_. + +In the example below, all door family instances in the current view of the current document are collected. The doors' locations are then returned with `FamilyInstance.Location`. + +In the case of this example, curtain wall doors are returning null. Curtain panels locations are available via curtain panel nodes. +___ +## Example File + +![FamilyInstance.Location](./Revit.Elements.FamilyInstance.Location_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location_img.jpg new file mode 100644 index 000000000..993312e41 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.Location_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.dyn new file mode 100644 index 000000000..0e5afe3fd --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.dyn @@ -0,0 +1,441 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyInstance.SetRotation", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 223, + "SelectedString": "OST_Entourage", + "Id": "be4591ac57354814a355d527f970044c", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "2af156a5c8c74cfeb6b75bf159587133", + "Name": "Category", + "Description": "The selected Category.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All built-in categories." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI", + "Id": "c973e4c6cfb1450b9138cd209586cc2d", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "1877ee6541264a2f8cbb2fff1d716dbd", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6a33bfa8cf5f4f23b3851eb6799b9125", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category from the model." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "9fc27e8cd4cb40fdb2d38220fc23e905", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "fbfcc608f4d04e7d94344bd369873c9a", + "Name": "familyInstance", + "Description": "Revit.Elements.FamilyInstance", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2994ef3ca2ec468e9e6b8824b3f5c456", + "Name": "degree", + "Description": "The Euler angle around Z-axis.\n\ndouble", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7bc0f37f921145f2bd9e10e060b0635f", + "Name": "FamilyInstance", + "Description": "The result family instance.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyInstance.SetRotation@double", + "Replication": "Auto", + "Description": "Set the Euler angle of the family instance around its local Z-axis.\n\nFamilyInstance.SetRotation (degree: double): FamilyInstance" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "703c68d6e02e43a4ae47d438449dbc7f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "7f014869cae04b4191e127b3a924d3da", + "Name": "amount", + "Description": "Amount of random numbers the result list will contain.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "aabd7e7438a54261aad441d00676ed7a", + "Name": "value1", + "Description": "Lower end of the range for the random number.\n\ndouble", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "30b886ee2bac43208c71d9566a1b966e", + "Name": "value2", + "Description": "Higher end of the range for the random number.\n\ndouble", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "21b479d48693472f8ee21294c2238ece", + "Name": "seed", + "Description": "Seed value for the random number generator.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ed3cbbaaf0dc4fd5bcb8ca7cf29b3e94", + "Name": "number", + "Description": "List of random numbers in the range [lower_number, higher_number).", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.Math.RandomList@int,double,double,int", + "Replication": "Auto", + "Description": "Produces a list containing the given amount of random doubles in the defined range of [lower_number, higher_number) based on an initial seed value.\n\nMath.RandomList (amount: int, value1: double, value2: double, seed: int): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "274929e8d9cd403f84a8adcd6acda1ee", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "90aade9132684f5fa231e3f2ac805711", + "Name": "list", + "Description": "List to get the item count of.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6ca2a3acfad8486cbf084e3fea8c259a", + "Name": "int", + "Description": "List length.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.Count@var[]..[]", + "Replication": "Auto", + "Description": "Returns the number of items stored in the given list.\n\nList.Count (list: var[]..[]): int" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleInput, CoreNodeModels", + "NumberType": "Double", + "Id": "5cd937906825492985a0e081354b56b8", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "24904d6830df4786a4c5034c26b15a86", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a number", + "InputValue": 0.0 + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleInput, CoreNodeModels", + "NumberType": "Double", + "Id": "072a97c3dd2949bcb79817c1b03d41b6", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "eaa46f144e4b4109b37e8ae795f8d17e", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a number", + "InputValue": 360.0 + }, + { + "ConcreteType": "CoreNodeModels.Input.IntegerSlider, CoreNodeModels", + "NumberType": "Integer", + "MaximumValue": 100, + "MinimumValue": 0, + "StepValue": 1, + "Id": "58be5eebc95c44a7a8215611cb06521d", + "NodeType": "NumberInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "a4c7b6ff86cc4444ac3c7b532575b70b", + "Name": "", + "Description": "Int64", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Produces integer values", + "InputValue": 1 + } + ], + "Connectors": [ + { + "Start": "2af156a5c8c74cfeb6b75bf159587133", + "End": "1877ee6541264a2f8cbb2fff1d716dbd", + "Id": "8fb8d1ba74ce4c93893afdd8433f0fb8", + "IsHidden": "False" + }, + { + "Start": "6a33bfa8cf5f4f23b3851eb6799b9125", + "End": "fbfcc608f4d04e7d94344bd369873c9a", + "Id": "475a44d9f71c4c85ab0dee92fc4e014d", + "IsHidden": "False" + }, + { + "Start": "6a33bfa8cf5f4f23b3851eb6799b9125", + "End": "90aade9132684f5fa231e3f2ac805711", + "Id": "2258bf018bb0457a84e939afca8d185b", + "IsHidden": "False" + }, + { + "Start": "ed3cbbaaf0dc4fd5bcb8ca7cf29b3e94", + "End": "2994ef3ca2ec468e9e6b8824b3f5c456", + "Id": "eef19f0a1bec4d27938bda8c425b65f8", + "IsHidden": "False" + }, + { + "Start": "6ca2a3acfad8486cbf084e3fea8c259a", + "End": "7f014869cae04b4191e127b3a924d3da", + "Id": "8b641ad48a674e939b8aa29433549e88", + "IsHidden": "False" + }, + { + "Start": "24904d6830df4786a4c5034c26b15a86", + "End": "aabd7e7438a54261aad441d00676ed7a", + "Id": "783f9ee1eb604fb09a05f4f57a1629a3", + "IsHidden": "False" + }, + { + "Start": "eaa46f144e4b4109b37e8ae795f8d17e", + "End": "30b886ee2bac43208c71d9566a1b966e", + "Id": "18ad5494e8844a6badd46c0968d02590", + "IsHidden": "False" + }, + { + "Start": "a4c7b6ff86cc4444ac3c7b532575b70b", + "End": "21b479d48693472f8ee21294c2238ece", + "Id": "ccb34c25988c45759737ea42265db618", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "be4591ac57354814a355d527f970044c", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 308.27616943820806, + "Y": 239.77838365617407 + }, + { + "Id": "c973e4c6cfb1450b9138cd209586cc2d", + "Name": "All Elements of Category", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 644.2761694382081, + "Y": 239.77838365617407 + }, + { + "Id": "9fc27e8cd4cb40fdb2d38220fc23e905", + "Name": "FamilyInstance.SetRotation", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1717.7482142021581, + "Y": 239.77838365617407 + }, + { + "Id": "703c68d6e02e43a4ae47d438449dbc7f", + "Name": "Math.RandomList", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1407.6059684065542, + "Y": 603.8370338469488 + }, + { + "Id": "274929e8d9cd403f84a8adcd6acda1ee", + "Name": "List.Count", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 958.8059684065543, + "Y": 433.83703384694877 + }, + { + "Id": "5cd937906825492985a0e081354b56b8", + "Name": "Number", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 958.8059684065543, + "Y": 580.8370338469488 + }, + { + "Id": "072a97c3dd2949bcb79817c1b03d41b6", + "Name": "Number", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 958.8059684065543, + "Y": 728.8370338469488 + }, + { + "Id": "58be5eebc95c44a7a8215611cb06521d", + "Name": "Integer Slider", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 958.8059684065543, + "Y": 875.8370338469488 + } + ], + "Annotations": [], + "X": -123.09903980049637, + "Y": -46.02385403212796, + "Zoom": 0.6999090912183885 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.md new file mode 100644 index 000000000..6e34cd3db --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation.md @@ -0,0 +1,8 @@ +## In Depth +`FamilyInstance.SetRotation` sets the rotation of a family instance on an individual basis. `FamilyInstance.SetRotation` will rotate each family instance about it's Z axis. This differs from rotating elements directly in Revit, where a rotation command rotates selected elements about a common center point. + +In the example below, all entourage families in the current Revit document are rotated at a random value between 0 and 360. +___ +## Example File + +![FamilyInstance.SetRotation](./Revit.Elements.FamilyInstance.SetRotation_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation_img.jpg new file mode 100644 index 000000000..f4cdf4abf Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyInstance.SetRotation_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.dyn new file mode 100644 index 000000000..256720b3d --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.dyn @@ -0,0 +1,255 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyType.ByFamilyAndName", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "Name": "String", + "Type": "string", + "Type2": "string", + "Value": "Door-Passage-Single-Flush", + "Description": "Creates a string" + }, + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "Type": "string", + "Type2": "string", + "Value": "36\" x 84\"", + "Description": "Creates a string" + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "00ba6580a0594b159e4f779059007be2", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "766d0d1073294890bb932a6c7123bece", + "Name": "name", + "Description": "The name of the family in the current document\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "41c520048fe5488da786efd120e10b62", + "Name": "Family", + "Description": "Family", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Family.ByName@string", + "Replication": "Auto", + "Description": "Obtain a Family from the current document given it's name\n\nFamily.ByName (name: string): Family" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "Door-Passage-Single-Flush" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "5040787126794e17ac6402c4b0df5700", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "64c5a8f93bc249b58e2f9b57320a3596", + "Name": "family", + "Description": "The FamilyTypes's parent Family\n\nFamily", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "57a3ab37329c456b9646a3307945fe12", + "Name": "name", + "Description": "The name of the FamilyType\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "de7dfc6704e64a7bbb4306281018fe5d", + "Name": "FamilyType", + "Description": "FamilyType", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyType.ByFamilyAndName@Revit.Elements.Family,string", + "Replication": "Auto", + "Description": "Select a FamilyType given its parent Family and the FamilyType's name.\n\nFamilyType.ByFamilyAndName (family: Family, name: string): FamilyType" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "206f062a9b6a4b0d8c1d017644218330", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "36\" x 84\"" + } + ], + "Connectors": [ + { + "Start": "41c520048fe5488da786efd120e10b62", + "End": "64c5a8f93bc249b58e2f9b57320a3596", + "Id": "ee6b414128614c0db8eeea5cbb1ac379", + "IsHidden": "False" + }, + { + "Start": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "End": "766d0d1073294890bb932a6c7123bece", + "Id": "8e89cabeec2840f68efa65bd49843b2b", + "IsHidden": "False" + }, + { + "Start": "206f062a9b6a4b0d8c1d017644218330", + "End": "57a3ab37329c456b9646a3307945fe12", + "Id": "93ba3aa109e54407a8224099a8681e58", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "00ba6580a0594b159e4f779059007be2", + "Name": "Family.ByName", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 800.0999999999999, + "Y": 392.4 + }, + { + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "Name": "String", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 468.8999999999999, + "Y": 392.4 + }, + { + "Id": "5040787126794e17ac6402c4b0df5700", + "Name": "FamilyType.ByFamilyAndName", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1100.1, + "Y": 449.4 + }, + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 800.0999999999999, + "Y": 540.4 + } + ], + "Annotations": [], + "X": -179.71800000000007, + "Y": -253.76999999999998, + "Zoom": 1.1575 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.md new file mode 100644 index 000000000..ecf02b967 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName.md @@ -0,0 +1,8 @@ +## In Depth +`FamilyType.ByFamilyAndName` returns the family type definition from the current document (if available). If the family type is not available in the current document, a null value is returned. + +In the example below, a door family type, "36" x 84", from family "Door-Passage-Single-Flush" is returned. +___ +## Example File + +![FamilyType.ByFamilyAndName](./Revit.Elements.FamilyType.ByFamilyAndName_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName_img.jpg new file mode 100644 index 000000000..3a0123729 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyAndName_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.dyn new file mode 100644 index 000000000..d8a2ba054 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.dyn @@ -0,0 +1,209 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyType.ByFamilyNameAndTypeName", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "Name": "String", + "Type": "string", + "Type2": "string", + "Value": "Door-Passage-Single-Flush", + "Description": "Creates a string" + }, + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "Type": "string", + "Type2": "string", + "Value": "36\" x 84\"", + "Description": "Creates a string" + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "Door-Passage-Single-Flush" + }, + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "206f062a9b6a4b0d8c1d017644218330", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "36\" x 84\"" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e2359145d47b4be5b5088f2f7b66de4e", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "c9686766778c463f874b12ffa7d815a3", + "Name": "familyName", + "Description": "The FamilyType's parent Family name.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "78a4a0f49ec5490ca38bb40e13200ef8", + "Name": "typeName", + "Description": "The name of the FamilyType.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e4d78cd64ba542379477a7d757dd50bc", + "Name": "FamilyType", + "Description": "FamilyType", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyType.ByFamilyNameAndTypeName@string,string", + "Replication": "Auto", + "Description": "Select a FamilyType give it's family name and type name.\n\nFamilyType.ByFamilyNameAndTypeName (familyName: string, typeName: string): FamilyType" + } + ], + "Connectors": [ + { + "Start": "d9e0fd59c46d4a60a81fcc5eff88ebf4", + "End": "c9686766778c463f874b12ffa7d815a3", + "Id": "61595a84f04743a880848eed0ceba02d", + "IsHidden": "False" + }, + { + "Start": "206f062a9b6a4b0d8c1d017644218330", + "End": "78a4a0f49ec5490ca38bb40e13200ef8", + "Id": "3e9c6fabec79402c9f6644eba66baef6", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "8c1333ffc1aa464eacedaa90019d94f4", + "Name": "String", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 618.8999999999999, + "Y": 383.4 + }, + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 618.8999999999999, + "Y": 549.4 + }, + { + "Id": "e2359145d47b4be5b5088f2f7b66de4e", + "Name": "FamilyType.ByFamilyNameAndTypeName", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 950.0999999999999, + "Y": 449.4 + } + ], + "Annotations": [], + "X": -179.71800000000007, + "Y": -253.76999999999998, + "Zoom": 1.1575 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.md new file mode 100644 index 000000000..174049a5d --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName.md @@ -0,0 +1,8 @@ +## In Depth +Similar to `Revit.Elements.FamilyType.ByFamilyAndName`, `Revit.Elements.FamilyType.ByFamilyNameAndTypeName` returns the family type definition from the current document (if available). This is similar to `Revit.Elements.FamilyType.ByFamilyAndName`. However, instead of using a family definition, this node relies on string input for both values. If the family type is not available in the current document, a null value is returned. + +In the example below, a door family type, "36" x 84", from family "Door-Passage-Single-Flush" is returned. +___ +## Example File + +![FamilyType.ByFamilyNameAndTypeName](./Revit.Elements.FamilyType.ByFamilyNameAndTypeName_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName_img.jpg new file mode 100644 index 000000000..32564f94e Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByFamilyNameAndTypeName_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.dyn new file mode 100644 index 000000000..170382f04 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.dyn @@ -0,0 +1,156 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyType.ByName", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "Type": "string", + "Type2": "string", + "Value": "36\" x 84\"", + "Description": "Creates a string" + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels", + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "NodeType": "StringInputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "206f062a9b6a4b0d8c1d017644218330", + "Name": "", + "Description": "String", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a string", + "InputValue": "36\" x 84\"" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "31d720b56eee4cc59d7e9c0b42aff66f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d1cddc105e984bf8a1a97a39e1d0072a", + "Name": "name", + "Description": "The name of the FamilyType\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "efcb4cae49cd4e7d93cb6171f7ea99ad", + "Name": "FamilyType", + "Description": "FamilyType", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyType.ByName@string", + "Replication": "Auto", + "Description": "Select a FamilyType given it's name. This method will return the first FamilyType it finds if there are two or more FamilyTypes with the same name.\n\nFamilyType.ByName (name: string): FamilyType" + } + ], + "Connectors": [ + { + "Start": "206f062a9b6a4b0d8c1d017644218330", + "End": "d1cddc105e984bf8a1a97a39e1d0072a", + "Id": "87450ad4291243828acf38ece68c2ca1", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "a9995fd11c8d4ccea97e071a55c47319", + "Name": "String", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 724.2478401727865, + "Y": 602.7755939524837 + }, + { + "Id": "31d720b56eee4cc59d7e9c0b42aff66f", + "Name": "FamilyType.ByName", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 973.0478401727864, + "Y": 602.7755939524837 + } + ], + "Annotations": [], + "X": -436.51800000000014, + "Y": -316.17000000000013, + "Zoom": 1.1575 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.md new file mode 100644 index 000000000..23340d8fd --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName.md @@ -0,0 +1,10 @@ +## In Depth +`FamilyType.ByName` will attempt to retrieve the given family type of the given name from the current document. If the family type is not available in the current document, a null value is returned. + +Note: `FamilyType.ByName` searches family type definitions in order of the parent family's creation (by element id). If multiple parent families have a type definition with the same name, the first one found is returned. For a more concise lookup of family types use, `FamilyType.ByFamilyAndName` or `FamilyType.ByFamilyNameAndTypeName` + +In the example below, a door family type, "36" x 84", from family "Door-Passage-Single-Flush" is returned. +___ +## Example File + +![FamilyType.ByName](./Revit.Elements.FamilyType.ByName_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName_img.jpg new file mode 100644 index 000000000..e0863ce85 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.ByName_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.dyn new file mode 100644 index 000000000..45acba316 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.dyn @@ -0,0 +1,447 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyType.Family", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "d5d5bf89dcd44af2914c49649d3ba87a", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "768b5f2b144c4be38b9e82f4c8a1a08e", + "Name": "Category", + "Description": "The selected Category.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All built-in categories." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aebcf00cd8644263a8eb701af8e5e231", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "c3b2aa3e375846f4a6c3443712a2df98", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d4693ed6ca9543b0b4dc23bdec188a0a", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ea999f33771b4f2ca49f3a50c77e6284", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "660ec17f7cb74395930d839658a173a9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4a392b91b0ad47308217154142d4e16b", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e2d809cd11ad43adb8cbafa32a32d7be", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "693bbd400fd24530894e48d471c1798a", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "73c629860ad740a49c635c04f597aa4d", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6996e1e173f5416ba7a5913938e097a8", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ea3f1bc60a014b7cbd47d1bc33f94de0", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9f158b8d2b5642c19b1587b947961832", + "Name": "ElementType", + "Description": "Element Type or Null.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Element.ElementType", + "Replication": "Auto", + "Description": "Returns the ElementType for this Element. Returns null if the Element cannot have an ElementType assigned.\n\nElement.ElementType: ElementType" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "94233705f0804263b3e80e164b6c69ce", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1f212f54872040bea836f8f95d8f1022", + "Name": "list", + "Description": "List of items to group as sublists\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0ab640a56ec14409aa429c6d6869179c", + "Name": "keys", + "Description": "Key values, one per item in the input list, used for grouping the items\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f868540d119c4bd09abdc6ac90c78d29", + "Name": "groups", + "Description": "list of sublists, with items grouped by like key values", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1f0b1059b59d427ca134d1ee6556a579", + "Name": "uniqueKeys", + "Description": "key value corresponding to each group", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.GroupByKey@var[]..[],var[]..[]", + "Replication": "Auto", + "Description": "Group items into sub-lists based on their like key values\n\nList.GroupByKey (list: var[]..[], keys: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 304.8, + "WatchHeight": 482.4, + "Id": "c45a9f6f2f124d8396811db050a88e68", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "28f70fc7b40c4c66add65768f37d02a0", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9db6c3b9f6d54e3f87c538764b40eec3", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "86ba47ddaa924da6ad4d45128b87528b", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "0831b9e6a2614f2fa008515cdced78c2", + "Name": "familyType", + "Description": "Revit.Elements.FamilyType", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c039682afc2f4e00beee2dd31bbf3a12", + "Name": "Family", + "Description": "Family", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyType.Family", + "Replication": "Auto", + "Description": "Get the parent family of this FamilyType\n\nFamilyType.Family: Family" + } + ], + "Connectors": [ + { + "Start": "768b5f2b144c4be38b9e82f4c8a1a08e", + "End": "c3b2aa3e375846f4a6c3443712a2df98", + "Id": "1f2825ca6b50437f8f3aed956d955feb", + "IsHidden": "False" + }, + { + "Start": "ea999f33771b4f2ca49f3a50c77e6284", + "End": "ea3f1bc60a014b7cbd47d1bc33f94de0", + "Id": "986a0883ecf24494a1aa6babd5add0b9", + "IsHidden": "False" + }, + { + "Start": "ea999f33771b4f2ca49f3a50c77e6284", + "End": "1f212f54872040bea836f8f95d8f1022", + "Id": "cab2abb5312b47fd97e1ec5e633e50d3", + "IsHidden": "False" + }, + { + "Start": "e2d809cd11ad43adb8cbafa32a32d7be", + "End": "d4693ed6ca9543b0b4dc23bdec188a0a", + "Id": "2891a46c8b804407868a19d9a508d8da", + "IsHidden": "False" + }, + { + "Start": "73c629860ad740a49c635c04f597aa4d", + "End": "4a392b91b0ad47308217154142d4e16b", + "Id": "ba4bcbc96bc044efb876a83ef0f25b99", + "IsHidden": "False" + }, + { + "Start": "9f158b8d2b5642c19b1587b947961832", + "End": "0831b9e6a2614f2fa008515cdced78c2", + "Id": "2eb14442b9b94f3380beab8c0fe3bc59", + "IsHidden": "False" + }, + { + "Start": "f868540d119c4bd09abdc6ac90c78d29", + "End": "28f70fc7b40c4c66add65768f37d02a0", + "Id": "1f3ec221ecb14d70b8fc91f445be4a45", + "IsHidden": "False" + }, + { + "Start": "c039682afc2f4e00beee2dd31bbf3a12", + "End": "0ab640a56ec14409aa429c6d6869179c", + "Id": "5de19e9805e04653bec123e699d21bd6", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "d5d5bf89dcd44af2914c49649d3ba87a", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 406.2000000000002, + "Y": 441.6 + }, + { + "Id": "aebcf00cd8644263a8eb701af8e5e231", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 742.2000000000002, + "Y": 498.6 + }, + { + "Id": "660ec17f7cb74395930d839658a173a9", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 406.2000000000002, + "Y": 589.6 + }, + { + "Id": "693bbd400fd24530894e48d471c1798a", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 97.4000000000002, + "Y": 589.6 + }, + { + "Id": "6996e1e173f5416ba7a5913938e097a8", + "Name": "Element.ElementType", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1118.9, + "Y": 604.1999999999999 + }, + { + "Id": "94233705f0804263b3e80e164b6c69ce", + "Name": "List.GroupByKey", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1769.6000000000001, + "Y": 498.6 + }, + { + "Id": "c45a9f6f2f124d8396811db050a88e68", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2068.0, + "Y": 498.6 + }, + { + "Id": "86ba47ddaa924da6ad4d45128b87528b", + "Name": "FamilyType.Family", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1433.1999999999998, + "Y": 604.1999999999999 + } + ], + "Annotations": [], + "X": -304.60799999999995, + "Y": -164.98000000000002, + "Zoom": 0.8425 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.md new file mode 100644 index 000000000..42b11ec55 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family.md @@ -0,0 +1,8 @@ +## In Depth +Given a family type, `FamilyType.Family` returns the overall parent family of the family type. The family represents the file that contains all of the family type definitions. + +In the example below, all door instances in the current view are grouped by their parent family. +___ +## Example File + +![FamilyType.Family](./Revit.Elements.FamilyType.Family_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family_img.jpg new file mode 100644 index 000000000..ecc7104fa Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Family_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.dyn new file mode 100644 index 000000000..44832cfc5 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.dyn @@ -0,0 +1,447 @@ +{ + "Uuid": "ee61484e-5c8a-4d9b-99c8-bd0580895762", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.FamilyType.Name", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "1d2cb3eadbac461bb0257212eac10981", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "e3b05a8dd8dc49c1a2c6b8c3fd666ae4", + "Name": "familyType", + "Description": "Revit.Elements.FamilyType", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6ca7cff6e5fe42aba06c9e45965ddb13", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.FamilyType.Name", + "Replication": "Auto", + "Description": "Get the name of this Family Type\n\nFamilyType.Name: string" + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 178, + "SelectedString": "OST_Doors", + "Id": "d5d5bf89dcd44af2914c49649d3ba87a", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "768b5f2b144c4be38b9e82f4c8a1a08e", + "Name": "Category", + "Description": "The selected Category.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All built-in categories." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategoryInView, DSRevitNodesUI", + "Id": "aebcf00cd8644263a8eb701af8e5e231", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "c3b2aa3e375846f4a6c3443712a2df98", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d4693ed6ca9543b0b4dc23bdec188a0a", + "Name": "View", + "Description": "The View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ea999f33771b4f2ca49f3a50c77e6284", + "Name": "Elements", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category in the specified view from the model." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "660ec17f7cb74395930d839658a173a9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4a392b91b0ad47308217154142d4e16b", + "Name": "document", + "Description": "Revit.Application.Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e2d809cd11ad43adb8cbafa32a32d7be", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.ActiveView", + "Replication": "Auto", + "Description": "Get the active view for the document\n\nDocument.ActiveView: View" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "693bbd400fd24530894e48d471c1798a", + "NodeType": "FunctionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "73c629860ad740a49c635c04f597aa4d", + "Name": "Document", + "Description": "Document", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Application.Document.Current", + "Replication": "Auto", + "Description": "Get the current document\n\nDocument.Current: Document" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6996e1e173f5416ba7a5913938e097a8", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ea3f1bc60a014b7cbd47d1bc33f94de0", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9f158b8d2b5642c19b1587b947961832", + "Name": "ElementType", + "Description": "Element Type or Null.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Element.ElementType", + "Replication": "Auto", + "Description": "Returns the ElementType for this Element. Returns null if the Element cannot have an ElementType assigned.\n\nElement.ElementType: ElementType" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "94233705f0804263b3e80e164b6c69ce", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1f212f54872040bea836f8f95d8f1022", + "Name": "list", + "Description": "List of items to group as sublists\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0ab640a56ec14409aa429c6d6869179c", + "Name": "keys", + "Description": "Key values, one per item in the input list, used for grouping the items\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f868540d119c4bd09abdc6ac90c78d29", + "Name": "groups", + "Description": "list of sublists, with items grouped by like key values", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1f0b1059b59d427ca134d1ee6556a579", + "Name": "uniqueKeys", + "Description": "key value corresponding to each group", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.GroupByKey@var[]..[],var[]..[]", + "Replication": "Auto", + "Description": "Group items into sub-lists based on their like key values\n\nList.GroupByKey (list: var[]..[], keys: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 304.8, + "WatchHeight": 482.4, + "Id": "c45a9f6f2f124d8396811db050a88e68", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "28f70fc7b40c4c66add65768f37d02a0", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9db6c3b9f6d54e3f87c538764b40eec3", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + } + ], + "Connectors": [ + { + "Start": "6ca7cff6e5fe42aba06c9e45965ddb13", + "End": "0ab640a56ec14409aa429c6d6869179c", + "Id": "9fb7feb182ad4ca0aac1f7a063daa117", + "IsHidden": "False" + }, + { + "Start": "768b5f2b144c4be38b9e82f4c8a1a08e", + "End": "c3b2aa3e375846f4a6c3443712a2df98", + "Id": "1f2825ca6b50437f8f3aed956d955feb", + "IsHidden": "False" + }, + { + "Start": "ea999f33771b4f2ca49f3a50c77e6284", + "End": "ea3f1bc60a014b7cbd47d1bc33f94de0", + "Id": "986a0883ecf24494a1aa6babd5add0b9", + "IsHidden": "False" + }, + { + "Start": "ea999f33771b4f2ca49f3a50c77e6284", + "End": "1f212f54872040bea836f8f95d8f1022", + "Id": "cab2abb5312b47fd97e1ec5e633e50d3", + "IsHidden": "False" + }, + { + "Start": "e2d809cd11ad43adb8cbafa32a32d7be", + "End": "d4693ed6ca9543b0b4dc23bdec188a0a", + "Id": "2891a46c8b804407868a19d9a508d8da", + "IsHidden": "False" + }, + { + "Start": "73c629860ad740a49c635c04f597aa4d", + "End": "4a392b91b0ad47308217154142d4e16b", + "Id": "ba4bcbc96bc044efb876a83ef0f25b99", + "IsHidden": "False" + }, + { + "Start": "9f158b8d2b5642c19b1587b947961832", + "End": "e3b05a8dd8dc49c1a2c6b8c3fd666ae4", + "Id": "fef5cd8d0a144346bcb8e663af2d3881", + "IsHidden": "False" + }, + { + "Start": "f868540d119c4bd09abdc6ac90c78d29", + "End": "28f70fc7b40c4c66add65768f37d02a0", + "Id": "1f3ec221ecb14d70b8fc91f445be4a45", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": null, + "Thumbnail": "", + "GraphDocumentationURL": null, + "ExtensionWorkspaceData": [ + { + "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670", + "Name": "Properties", + "Version": "3.2", + "Data": {} + }, + { + "ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D", + "Name": "Generative Design", + "Version": "8.1", + "Data": {} + } + ], + "Author": "", + "Linting": { + "activeLinter": "None", + "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a", + "warningCount": 0, + "errorCount": 0 + }, + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "3.2.1.5366", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "1d2cb3eadbac461bb0257212eac10981", + "Name": "FamilyType.Name", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1433.1999999999998, + "Y": 604.1999999999999 + }, + { + "Id": "d5d5bf89dcd44af2914c49649d3ba87a", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 406.2000000000002, + "Y": 441.6 + }, + { + "Id": "aebcf00cd8644263a8eb701af8e5e231", + "Name": "All Elements of Category in View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 742.2000000000002, + "Y": 498.6 + }, + { + "Id": "660ec17f7cb74395930d839658a173a9", + "Name": "Document.ActiveView", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 406.2000000000002, + "Y": 589.6 + }, + { + "Id": "693bbd400fd24530894e48d471c1798a", + "Name": "Document.Current", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 97.4000000000002, + "Y": 589.6 + }, + { + "Id": "6996e1e173f5416ba7a5913938e097a8", + "Name": "Element.ElementType", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1118.9, + "Y": 604.1999999999999 + }, + { + "Id": "94233705f0804263b3e80e164b6c69ce", + "Name": "List.GroupByKey", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1769.6000000000001, + "Y": 498.6 + }, + { + "Id": "c45a9f6f2f124d8396811db050a88e68", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 2068.0, + "Y": 498.6 + } + ], + "Annotations": [], + "X": -304.60799999999995, + "Y": -164.98000000000002, + "Zoom": 0.8425 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.md b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.md new file mode 100644 index 000000000..de396094e --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name.md @@ -0,0 +1,8 @@ +## In Depth +Given a family type, `FamilyType.Name` returns the name for the family type as a string. + +In the example below, all door instances in the current view are grouped by their family type name. +___ +## Example File + +![FamilyType.Name](./Revit.Elements.FamilyType.Name_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name_img.jpg new file mode 100644 index 000000000..a601c9de4 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.FamilyType.Name_img.jpg differ