diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.dyn new file mode 100644 index 000000000..9b4c46905 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.dyn @@ -0,0 +1,193 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.ModelText.Depth", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementTypes, DSRevitNodesUI", + "SelectedIndex": 228, + "SelectedString": "ModelText", + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ffc00c251db74765b43550e4b703310a", + "Name": "Classes", + "Description": "The selected Classes", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All element subclasses." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfType, DSRevitNodesUI", + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "df3ccbc932614a9bbc1c18746a4d315e", + "Name": "element class", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8680c5248dcd4b7b9775c8b339d1bd87", + "Name": "elements", + "Description": "All elements in the active document of a given class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All elements in the active document of a given class." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "9347bf98295349aab8802e2d040cf499", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4c34a8b44e2a4d24a23f620ceb552a78", + "Name": "modelText", + "Description": "Revit.Elements.ModelText", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "81757d38f245420ca06ba74456b34316", + "Name": "double", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.ModelText.Depth", + "Replication": "Auto", + "Description": "The Depth of the ModelText Element\n\nModelText.Depth: double" + } + ], + "Connectors": [ + { + "Start": "ffc00c251db74765b43550e4b703310a", + "End": "df3ccbc932614a9bbc1c18746a4d315e", + "Id": "1db93fd5d8e44de297caf9cc8502e053", + "IsHidden": "False" + }, + { + "Start": "8680c5248dcd4b7b9775c8b339d1bd87", + "End": "4c34a8b44e2a4d24a23f620ceb552a78", + "Id": "b42e32d6d4c14506aee179ae9d98c607", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 28.249759674072266, + "EyeY": 148.59800720214844, + "EyeZ": 166.217041015625, + "LookX": -56.17384338378906, + "LookY": -145.61021423339844, + "LookZ": -151.77020263671875, + "UpX": -0.23217052221298218, + "UpY": 0.74338299036026, + "UpZ": -0.6272786259651184 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "Name": "Element Classes", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -75.85797570879095, + "Y": 743.8285486219855 + }, + { + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "Name": "All Elements of Class", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 250.54202429120903, + "Y": 743.8285486219855 + }, + { + "Id": "9347bf98295349aab8802e2d040cf499", + "Name": "ModelText.Depth", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 579.3420242912091, + "Y": 743.8285486219855 + } + ], + "Annotations": [], + "X": -285.5187176617774, + "Y": -1565.1311283949974, + "Zoom": 2.598863535779499 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.md b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.md new file mode 100644 index 000000000..ea584aaa4 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth.md @@ -0,0 +1,8 @@ +## In Depth +`ModelText.Depth` returns the depth of the given model text element as a number. + +In the example below, all model text is collected in the current Revit file. The depth values are then returned with `ModelText.Depth` in project units. +___ +## Example File + +![ModelText.Depth](./Revit.Elements.ModelText.Depth_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth_img.jpg new file mode 100644 index 000000000..a6665800d Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Depth_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.dyn new file mode 100644 index 000000000..10bad5cbb --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.dyn @@ -0,0 +1,193 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.ModelText.Position", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementTypes, DSRevitNodesUI", + "SelectedIndex": 228, + "SelectedString": "ModelText", + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ffc00c251db74765b43550e4b703310a", + "Name": "Classes", + "Description": "The selected Classes", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All element subclasses." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfType, DSRevitNodesUI", + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "df3ccbc932614a9bbc1c18746a4d315e", + "Name": "element class", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8680c5248dcd4b7b9775c8b339d1bd87", + "Name": "elements", + "Description": "All elements in the active document of a given class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All elements in the active document of a given class." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "275ad47653604a2f87675ccbd3a14e7a", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "40941fbb11364821815a42043f9bb0bc", + "Name": "modelText", + "Description": "Revit.Elements.ModelText", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "23daac77eb9c4f6d9b65e79787d833fe", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.ModelText.Position", + "Replication": "Auto", + "Description": "The Position of the ModelText Element\n\nModelText.Position: Point" + } + ], + "Connectors": [ + { + "Start": "ffc00c251db74765b43550e4b703310a", + "End": "df3ccbc932614a9bbc1c18746a4d315e", + "Id": "1db93fd5d8e44de297caf9cc8502e053", + "IsHidden": "False" + }, + { + "Start": "8680c5248dcd4b7b9775c8b339d1bd87", + "End": "40941fbb11364821815a42043f9bb0bc", + "Id": "09a74990ec474a82a6bf9357804f9bdc", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 28.249759674072266, + "EyeY": 148.59800720214844, + "EyeZ": 166.217041015625, + "LookX": -56.17384338378906, + "LookY": -145.61021423339844, + "LookZ": -151.77020263671875, + "UpX": -0.23217052221298218, + "UpY": 0.74338299036026, + "UpZ": -0.6272786259651184 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "Name": "Element Classes", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -75.85797570879095, + "Y": 743.8285486219855 + }, + { + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "Name": "All Elements of Class", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 250.54202429120903, + "Y": 743.8285486219855 + }, + { + "Id": "275ad47653604a2f87675ccbd3a14e7a", + "Name": "ModelText.Position", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 579.3420242912091, + "Y": 743.8285486219855 + } + ], + "Annotations": [], + "X": -118.89117937310624, + "Y": -1427.9546632721033, + "Zoom": 2.143637247056958 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.md b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.md new file mode 100644 index 000000000..4e85ff35a --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position.md @@ -0,0 +1,8 @@ +## In Depth +`ModelText.Position` returns the position of the given model text element as a Dynamo point. + +In the example below, all model text is collected in the current Revit file. The locations are then returned with `ModelText.Position`. +___ +## Example File + +![ModelText.Position](./Revit.Elements.ModelText.Position_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position_img.jpg new file mode 100644 index 000000000..6e1fb4ca2 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Position_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.dyn new file mode 100644 index 000000000..4b365305f --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.dyn @@ -0,0 +1,193 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.ModelText.Text", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.ElementTypes, DSRevitNodesUI", + "SelectedIndex": 228, + "SelectedString": "ModelText", + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "ffc00c251db74765b43550e4b703310a", + "Name": "Classes", + "Description": "The selected Classes", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All element subclasses." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfType, DSRevitNodesUI", + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "df3ccbc932614a9bbc1c18746a4d315e", + "Name": "element class", + "Description": "An element class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8680c5248dcd4b7b9775c8b339d1bd87", + "Name": "elements", + "Description": "All elements in the active document of a given class.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All elements in the active document of a given class." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "7bff2d1f15f84dd1b40b9676a41ff0e0", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4d20d689cf4c4ffc81872ad24942480d", + "Name": "modelText", + "Description": "Revit.Elements.ModelText", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "bbad329482414934a212b8579097b688", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.ModelText.Text", + "Replication": "Auto", + "Description": "The Text of the ModelText Element\n\nModelText.Text: string" + } + ], + "Connectors": [ + { + "Start": "ffc00c251db74765b43550e4b703310a", + "End": "df3ccbc932614a9bbc1c18746a4d315e", + "Id": "1db93fd5d8e44de297caf9cc8502e053", + "IsHidden": "False" + }, + { + "Start": "8680c5248dcd4b7b9775c8b339d1bd87", + "End": "4d20d689cf4c4ffc81872ad24942480d", + "Id": "290f07c0bb82448ab4dfd7364a430060", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 5.165637969970703, + "EyeY": 10.774824142456055, + "EyeZ": 4.310678005218506, + "LookX": 0.874394416809082, + "LookY": -8.773530960083008, + "LookZ": -5.590611934661865, + "UpX": 0.10888437926769257, + "UpY": 0.7095710039138794, + "UpZ": -0.6961703896522522 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "93a2c331b4dd48fab7acc0eb6cada59a", + "Name": "Element Classes", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -75.85797570879095, + "Y": 743.8285486219855 + }, + { + "Id": "e5d660ee7ab94987bfdd7167dc5695f2", + "Name": "All Elements of Class", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 250.54202429120903, + "Y": 743.8285486219855 + }, + { + "Id": "7bff2d1f15f84dd1b40b9676a41ff0e0", + "Name": "ModelText.Text", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 579.3420242912091, + "Y": 743.8285486219855 + } + ], + "Annotations": [], + "X": -100.97694158342381, + "Y": -1248.0617146163822, + "Zoom": 1.990841529608504 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.md b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.md new file mode 100644 index 000000000..1a599b2ff --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text.md @@ -0,0 +1,8 @@ +## In Depth +`ModelText.Text` returns the text value of the given model text element as a string. + +In the example below, all model text is collected in the current Revit file. The text values are then returned with `ModelText.Text`. +___ +## Example File + +![ModelText.Text](./Revit.Elements.ModelText.Text_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text_img.jpg new file mode 100644 index 000000000..7b538d4b0 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.ModelText.Text_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.dyn new file mode 100644 index 000000000..0169eebfe --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.dyn @@ -0,0 +1,255 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.BoxCenter", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6477da85eef7448dbea93a0d2408da3f", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "7faca82a0cd94ddfbc68e8bb26fb4de6", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a6236d88324d474d820765349265ae3f", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.BoxCenter", + "Replication": "Auto", + "Description": "Returns the center of the outline of the viewport on the sheet, excluding the viewport label.\n\nViewport.BoxCenter: Point" + }, + { + "ConcreteType": "Watch3DNodeModels.Watch3D, Watch3DNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "WasExecuted": true, + "Camera": { + "Name": "ea4a3437-01c8-439e-88af-43e22ac96d6c Preview", + "EyeX": 7.006745338439941, + "EyeY": 14.057219505310059, + "EyeZ": 10.604500770568848, + "LookX": -1.0954480171203613, + "LookY": -21.531986236572266, + "LookZ": -6.5777082443237305, + "UpX": -0.1428566873073578, + "UpY": 0.4937419891357422, + "UpZ": -0.8577941656112671 + }, + "VariableInputPorts": true, + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "0b6663a93b474dcfb12a04bafab6df18", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5c7121b9b33b45208f11d6d8471a0377", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Shows a dynamic preview of geometry" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "057069840e1f4220bde2edf3564d8562", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "7faca82a0cd94ddfbc68e8bb26fb4de6", + "Id": "cb8e92b04c324180971105da714f0e8e", + "IsHidden": "False" + }, + { + "Start": "a6236d88324d474d820765349265ae3f", + "End": "0b6663a93b474dcfb12a04bafab6df18", + "Id": "6ee75ea5d05e4980a3eca7eeea3d3795", + "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": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 216.80000000000013, + "Y": 254.39999999999992 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 537.2, + "Y": 254.39999999999992 + }, + { + "Id": "6477da85eef7448dbea93a0d2408da3f", + "Name": "Viewport.BoxCenter", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 864.7999999999998, + "Y": 254.39999999999992 + }, + { + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "Name": "Watch 3D", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1211.1913068919387, + "Y": 254.39999999999992 + } + ], + "Annotations": [], + "X": -419.8535015581465, + "Y": -133.61272862255572, + "Zoom": 1.3775833525586676 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.md new file mode 100644 index 000000000..fbf170597 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.BoxCenter` returns a Dynamo point that represents the center point of the extents of the viewport. + +In the example below, the viewports are returned for the selected sheet. The box center locations are then returned with `Viewport.BoxCenter`. +___ +## Example File + +![Viewport.BoxCenter](./Revit.Elements.Viewport.BoxCenter_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter_img.jpg new file mode 100644 index 000000000..3f76fe3bf Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxCenter_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.dyn new file mode 100644 index 000000000..aec778e2f --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.dyn @@ -0,0 +1,255 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.BoxOutline", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Watch3DNodeModels.Watch3D, Watch3DNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "WasExecuted": true, + "Camera": { + "Name": "ea4a3437-01c8-439e-88af-43e22ac96d6c Preview", + "EyeX": 5.553461074829102, + "EyeY": 5.9648590087890625, + "EyeZ": 2.8259177207946777, + "LookX": -2.222986936569214, + "LookY": -12.00034236907959, + "LookZ": -7.8660569190979, + "UpX": -0.18671652674674988, + "UpY": 0.7270600199699402, + "UpZ": -0.6606971621513367 + }, + "VariableInputPorts": true, + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "0b6663a93b474dcfb12a04bafab6df18", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5c7121b9b33b45208f11d6d8471a0377", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Shows a dynamic preview of geometry" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "71211decb3fe4744b5e183086e039fe0", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "93a7e2bc492244918c5af9e82b5c549d", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a6409a8569ec4f01852d0b1a9261bef8", + "Name": "BoundingBox", + "Description": "BoundingBox", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.BoxOutline", + "Replication": "Auto", + "Description": "Returns the outline of the viewport on the sheet, excluding the viewport label.\n\nViewport.BoxOutline: BoundingBox" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "ba5cdb88048c410a914f2c9df94dd7e1", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "93a7e2bc492244918c5af9e82b5c549d", + "Id": "1dbfe8da2a004245932b6c2e04e52ed9", + "IsHidden": "False" + }, + { + "Start": "a6409a8569ec4f01852d0b1a9261bef8", + "End": "0b6663a93b474dcfb12a04bafab6df18", + "Id": "22be4d121c254b7599cc946781d87dce", + "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": 4.685993194580078, + "EyeY": -4.510719299316406, + "EyeZ": 49.8151969909668, + "LookX": -9.685993194580078, + "LookY": 15.510719299316406, + "LookZ": -57.8151969909668, + "UpX": 0.07552672177553177, + "UpY": 0.8894164562225342, + "UpZ": 0.4508149027824402 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 216.80000000000013, + "Y": 254.39999999999992 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 537.2, + "Y": 254.39999999999992 + }, + { + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "Name": "Watch 3D", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1211.1913068919387, + "Y": 254.39999999999992 + }, + { + "Id": "71211decb3fe4744b5e183086e039fe0", + "Name": "Viewport.BoxOutline", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 864.7999999999998, + "Y": 254.39999999999992 + } + ], + "Annotations": [], + "X": -25.31022382213564, + "Y": 47.96084823889004, + "Zoom": 0.752278291023545 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.md new file mode 100644 index 000000000..df6674e5d --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.BoxOutline` returns a Dynamo bounding box that represents the extents of the viewport. + +In the example below, the viewports are returned for the selected sheet. The box outlines are then returned with `Viewport.BoxOutline`. +___ +## Example File + +![Viewport.BoxOutline](./Revit.Elements.Viewport.BoxOutline_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline_img.jpg new file mode 100644 index 000000000..188dd759e Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.BoxOutline_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.dyn new file mode 100644 index 000000000..f81266a7c --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.dyn @@ -0,0 +1,194 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.LabelLineLength", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "942f8ac0e2584455a4fae62d3e57113d", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "06e98f37d2f74f19a1ac0f3a8468bf5f", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "74de9f6ac0be4d17a32d66819a7771b0", + "Name": "double", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.LabelLineLength", + "Replication": "Auto", + "Description": "The length of the viewport label line in sheet space, measured in feet.\n\nViewport.LabelLineLength: double" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "b50d4703ecce41629bf0d0d88fdb70de", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "06e98f37d2f74f19a1ac0f3a8468bf5f", + "Id": "5e2500d7be984d96a5f902a3d6f4e506", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 5.165637969970703, + "EyeY": 10.774824142456055, + "EyeZ": 4.310678005218506, + "LookX": 0.874394416809082, + "LookY": -8.773530960083008, + "LookZ": -5.590611934661865, + "UpX": 0.10888437926769257, + "UpY": 0.7095710039138794, + "UpZ": -0.6961703896522522 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -146.4352309651461, + "Y": 297.02980087430194 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 149.03261342599535, + "Y": 297.02980087430194 + }, + { + "Id": "942f8ac0e2584455a4fae62d3e57113d", + "Name": "Viewport.LabelLineLength", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 440.357663475246, + "Y": 297.02980087430194 + } + ], + "Annotations": [], + "X": 375.599550232184, + "Y": -174.20175104610797, + "Zoom": 1.0807429238491724 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.md new file mode 100644 index 000000000..5ef9262b1 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.LabelLineLength` gets the length of the viewport line, in paper space units. + +In the example below, all of the viewports from the selected sheet are collected and the lengths of the viewport label lines are retrieved. +___ +## Example File + +![Viewport.LabelLineLength](./Revit.Elements.Viewport.LabelLineLength_img.jpg) diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength_img.jpg new file mode 100644 index 000000000..5c3dd568d Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelLineLength_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.dyn new file mode 100644 index 000000000..b673f0a5d --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.dyn @@ -0,0 +1,255 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.LabelOffset", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Watch3DNodeModels.Watch3D, Watch3DNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "WasExecuted": true, + "Camera": { + "Name": "ea4a3437-01c8-439e-88af-43e22ac96d6c Preview", + "EyeX": 0.12174127250909805, + "EyeY": 0.21498513221740723, + "EyeZ": 0.08040176331996918, + "LookX": -0.019710689783096313, + "LookY": -0.18380852043628693, + "LookZ": -0.07849302142858505, + "UpX": -0.2229040116071701, + "UpY": 0.40296444296836853, + "UpZ": -0.8876560926437378 + }, + "VariableInputPorts": true, + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "0b6663a93b474dcfb12a04bafab6df18", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5c7121b9b33b45208f11d6d8471a0377", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Shows a dynamic preview of geometry" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "42d0d930c823495baafbc710766598fb", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "cb7752d7bd74433f82f0bbf01785e3ad", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e69e5147eeec443f9302b6bfab340ed7", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.LabelOffset", + "Replication": "Auto", + "Description": "The offset is a two-dimensional vector from left bottom corner of the viewport with Rotation set to None to the left end of the viewport label line. The Z coordinate is ignored.\n\nViewport.LabelOffset: Point" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "5592710c748b48c2a7dda0fc543a7c58", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "cb7752d7bd74433f82f0bbf01785e3ad", + "Id": "6cb9a1f2ad634855b9cb8369384d1b4b", + "IsHidden": "False" + }, + { + "Start": "e69e5147eeec443f9302b6bfab340ed7", + "End": "0b6663a93b474dcfb12a04bafab6df18", + "Id": "43eef9d85abc4dc59794e8f8c7ac6b80", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 4.685993194580078, + "EyeY": -4.510719299316406, + "EyeZ": 49.8151969909668, + "LookX": -9.685993194580078, + "LookY": 15.510719299316406, + "LookZ": -57.8151969909668, + "UpX": 0.07552672177553177, + "UpY": 0.8894164562225342, + "UpZ": 0.4508149027824402 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 216.80000000000013, + "Y": 254.39999999999992 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 537.2, + "Y": 254.39999999999992 + }, + { + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "Name": "Watch 3D", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1211.1913068919387, + "Y": 254.39999999999992 + }, + { + "Id": "42d0d930c823495baafbc710766598fb", + "Name": "Viewport.LabelOffset", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 864.7999999999998, + "Y": 254.39999999999992 + } + ], + "Annotations": [], + "X": -469.7365770393934, + "Y": -97.69018639920569, + "Zoom": 1.5729902778085953 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.md new file mode 100644 index 000000000..dc62fa99b --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.LabelOffset` returns a point that represents the left endpoint of the viewport label. + +In the example below, the viewports are returned for the selected sheet. The label offsets of the viewports are then returned with `Viewport.LabelOffset`. +___ +## Example File + +![Viewport.LabelOffset](./Revit.Elements.Viewport.LabelOffset_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset_img.jpg new file mode 100644 index 000000000..5d18179e8 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOffset_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.dyn new file mode 100644 index 000000000..4382b3fcd --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.dyn @@ -0,0 +1,255 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.LabelOutline", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Watch3DNodeModels.Watch3D, Watch3DNodeModels", + "WatchWidth": 200.0, + "WatchHeight": 200.0, + "WasExecuted": true, + "Camera": { + "Name": "ea4a3437-01c8-439e-88af-43e22ac96d6c Preview", + "EyeX": 1.765612244606018, + "EyeY": -2.401060104370117, + "EyeZ": 0.4328317642211914, + "LookX": -0.014914393424987793, + "LookY": -6.2303972244262695, + "LookZ": -0.9575610160827637, + "UpX": -0.015395494177937508, + "UpY": 0.15192772448062897, + "UpZ": -0.9882716536521912 + }, + "VariableInputPorts": true, + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "0b6663a93b474dcfb12a04bafab6df18", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5c7121b9b33b45208f11d6d8471a0377", + "Name": "", + "Description": "Incoming geometry objects.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Shows a dynamic preview of geometry" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "e74a649d21974d1496ab2567c29ad9fb", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "c1923a4d589a49359d40f9dd33705280", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b4e756f13c4b4636bbcd81998caa37f3", + "Name": "BoundingBox", + "Description": "BoundingBox", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.LabelOutline", + "Replication": "Auto", + "Description": "Gets the outline viewport's label on the sheet.\n\nViewport.LabelOutline: BoundingBox" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "5592710c748b48c2a7dda0fc543a7c58", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "c1923a4d589a49359d40f9dd33705280", + "Id": "f572ef7755b8404889176e8c31587ab4", + "IsHidden": "False" + }, + { + "Start": "b4e756f13c4b4636bbcd81998caa37f3", + "End": "0b6663a93b474dcfb12a04bafab6df18", + "Id": "9c1f699c2d654066b5cdd9c7e00f14a0", + "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": 4.685993194580078, + "EyeY": -4.510719299316406, + "EyeZ": 49.8151969909668, + "LookX": -9.685993194580078, + "LookY": 15.510719299316406, + "LookZ": -57.8151969909668, + "UpX": 0.07552672177553177, + "UpY": 0.8894164562225342, + "UpZ": 0.4508149027824402 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 216.80000000000013, + "Y": 254.39999999999992 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 537.2, + "Y": 254.39999999999992 + }, + { + "Id": "ea4a343701c8439e88af43e22ac96d6c", + "Name": "Watch 3D", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1211.1913068919387, + "Y": 254.39999999999992 + }, + { + "Id": "e74a649d21974d1496ab2567c29ad9fb", + "Name": "Viewport.LabelOutline", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 864.7999999999998, + "Y": 254.39999999999992 + } + ], + "Annotations": [], + "X": -1308.4103488148642, + "Y": -513.0573595237897, + "Zoom": 2.397533465934867 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.md new file mode 100644 index 000000000..a3aefec96 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.LabelOutline` returns a Dynamo bounding box that represents the outline of the viewport's label. + +In the example below, the viewports are returned for the selected sheet. The outlines of the label are then returned with `Viewport.LabelOutline`. +___ +## Example File + +![Viewport.LabelOutline](./Revit.Elements.Viewport.LabelOutline_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline_img.jpg new file mode 100644 index 000000000..001a3f317 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.LabelOutline_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.dyn new file mode 100644 index 000000000..638bc7ab8 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.dyn @@ -0,0 +1,528 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.SetLabelLineLength", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "45ea035d76674cfc82e0e08fd8f12574", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "bc02b0e6e2154d3399fe3ae4614d541f", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5ab6a196312c4802b7c6169c4bffc0a1", + "Name": "BoundingBox", + "Description": "BoundingBox", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.BoxOutline", + "Replication": "Auto", + "Description": "Returns the outline of the viewport on the sheet, excluding the viewport label.\n\nViewport.BoxOutline: BoundingBox" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "425ac863f96b48daa35a56187c8ad71d", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "52882b94dffd4495ac569681065a683d", + "Name": "boundingBox", + "Description": "Autodesk.DesignScript.Geometry.BoundingBox", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "fdd08176574e4418b3efb87f6176a4b3", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.BoundingBox.MinPoint", + "Replication": "Auto", + "Description": "The minimum point\n\nBoundingBox.MinPoint: Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "155cd088aacb452cbd5d58dbc8c0cfa0", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "f1ce2421b765491d8f0737059e8198a0", + "Name": "boundingBox", + "Description": "Autodesk.DesignScript.Geometry.BoundingBox", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "89e6fa38460d402398fd4d268ee0e0ab", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.BoundingBox.MaxPoint", + "Replication": "Auto", + "Description": "The maximum point\n\nBoundingBox.MaxPoint: Point" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "a3b5cc643d3147bbbf079beb4de1d01d", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "644ec193fbe2468ab8abb54402277184", + "Name": "point", + "Description": "Autodesk.DesignScript.Geometry.Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5812745a6e574ca3b1931eef5ca68776", + "Name": "double", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.X", + "Replication": "Auto", + "Description": "Get the X component of a Point\n\nPoint.X: double" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "77cd8638e0e34ad3be8353d77e9d21ed", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "ddb7c8a494bb41ada0d8a4ce0e21edc1", + "Name": "point", + "Description": "Autodesk.DesignScript.Geometry.Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b861b6e90f7f4c2bbe78f09182388914", + "Name": "double", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.X", + "Replication": "Auto", + "Description": "Get the X component of a Point\n\nPoint.X: double" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "46d6430b407049769f75b8869e6e66c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d19a76daa699459d9bf9427ad10f5edb", + "Name": "x", + "Description": "Integer or double value\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "af9c0e094c7346f2affc6851df170cfc", + "Name": "y", + "Description": "Integer or double value\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae06410ba6984f268e4592ff36791625", + "Name": "number", + "Description": "Result of the y input subtracted from the x input", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "-@var[]..[],var[]..[]", + "Replication": "Auto", + "Description": "Returns subtraction of x minus y\n\n- (x: var[]..[], y: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "198f27baa36142539554af411619d205", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "109c22262f3a43258f21af98b59b8a6f", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "daac1d3bd2a647a5b5eab7a119f565da", + "Name": "length", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d7fd2682cd964ba58e12a31df44567f9", + "Name": "Viewport", + "Description": "Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.SetLabelLineLength@double", + "Replication": "Auto", + "Description": "Set LabelLineLength of Viewport\n\nViewport.SetLabelLineLength (length: double): Viewport" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "b50d4703ecce41629bf0d0d88fdb70de", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "bc02b0e6e2154d3399fe3ae4614d541f", + "Id": "9c4811b936cc4f6a9c8d79972ed3a9fa", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "109c22262f3a43258f21af98b59b8a6f", + "Id": "da02809bbd6b4e6abca480be7ff711a6", + "IsHidden": "False" + }, + { + "Start": "5ab6a196312c4802b7c6169c4bffc0a1", + "End": "52882b94dffd4495ac569681065a683d", + "Id": "ea7034433d2d4842954243068ea534ae", + "IsHidden": "False" + }, + { + "Start": "5ab6a196312c4802b7c6169c4bffc0a1", + "End": "f1ce2421b765491d8f0737059e8198a0", + "Id": "6c790efc9e7f46e0a218f213ec3ff925", + "IsHidden": "False" + }, + { + "Start": "fdd08176574e4418b3efb87f6176a4b3", + "End": "ddb7c8a494bb41ada0d8a4ce0e21edc1", + "Id": "857aa7651a9f46f9af0e240f47750709", + "IsHidden": "False" + }, + { + "Start": "89e6fa38460d402398fd4d268ee0e0ab", + "End": "644ec193fbe2468ab8abb54402277184", + "Id": "dcf6036ba3ee48f18ccf806ad9e38b46", + "IsHidden": "False" + }, + { + "Start": "5812745a6e574ca3b1931eef5ca68776", + "End": "d19a76daa699459d9bf9427ad10f5edb", + "Id": "2aa08581291c4692bbe4edc5455a3060", + "IsHidden": "False" + }, + { + "Start": "b861b6e90f7f4c2bbe78f09182388914", + "End": "af9c0e094c7346f2affc6851df170cfc", + "Id": "b2edb2854aff413a845709d28267d52d", + "IsHidden": "False" + }, + { + "Start": "ae06410ba6984f268e4592ff36791625", + "End": "daac1d3bd2a647a5b5eab7a119f565da", + "Id": "a7f0792326b949cdb743e1c2ae96ab95", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, + "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": 5.165637969970703, + "EyeY": 10.774824142456055, + "EyeZ": 4.310678005218506, + "LookX": 0.874394416809082, + "LookY": -8.773530960083008, + "LookZ": -5.590611934661865, + "UpX": 0.10888437926769257, + "UpY": 0.7095710039138794, + "UpZ": -0.6961703896522522 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": -146.4352309651461, + "Y": 297.02980087430194 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 149.03261342599535, + "Y": 297.02980087430194 + }, + { + "Id": "45ea035d76674cfc82e0e08fd8f12574", + "Name": "Viewport.BoxOutline", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": false, + "X": 457.9189521923108, + "Y": 543.9364713830959 + }, + { + "Id": "425ac863f96b48daa35a56187c8ad71d", + "Name": "BoundingBox.MinPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 815.5189521923108, + "Y": 617.9364713830959 + }, + { + "Id": "155cd088aacb452cbd5d58dbc8c0cfa0", + "Name": "BoundingBox.MaxPoint", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 815.5189521923108, + "Y": 469.93647138309586 + }, + { + "Id": "a3b5cc643d3147bbbf079beb4de1d01d", + "Name": "Point.X", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1163.5189521923107, + "Y": 469.93647138309586 + }, + { + "Id": "77cd8638e0e34ad3be8353d77e9d21ed", + "Name": "Point.X", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1163.5189521923107, + "Y": 617.9364713830959 + }, + { + "Id": "46d6430b407049769f75b8869e6e66c4", + "Name": "-", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1463.5189521923107, + "Y": 526.936471383096 + }, + { + "Id": "198f27baa36142539554af411619d205", + "Name": "Viewport.SetLabelLineLength", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1760.3661805261295, + "Y": 288.010243163093 + } + ], + "Annotations": [ + { + "Id": "da58a5da12eb47228bcb5dddc767a86a", + "Title": "Calculate Length", + "DescriptionText": "Calculate ideal viewport line length based on extents", + "IsExpanded": true, + "WidthAdjustment": 0.0, + "HeightAdjustment": 0.0, + "Nodes": [ + "45ea035d76674cfc82e0e08fd8f12574", + "425ac863f96b48daa35a56187c8ad71d", + "155cd088aacb452cbd5d58dbc8c0cfa0", + "a3b5cc643d3147bbbf079beb4de1d01d", + "77cd8638e0e34ad3be8353d77e9d21ed", + "46d6430b407049769f75b8869e6e66c4" + ], + "HasNestedGroups": false, + "Left": 447.9189521923108, + "Top": 397.5364713830959, + "Width": 1208.0, + "Height": 352.19999999999993, + "FontSize": 36.0, + "GroupStyleId": "00000000-0000-0000-0000-000000000000", + "InitialTop": 469.93647138309586, + "InitialHeight": 309.79999999999995, + "TextblockHeight": 62.4, + "Background": "#FFB9F9E1" + } + ], + "X": -1812.2982899356175, + "Y": -718.681120416846, + "Zoom": 2.7795386154778505 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.md new file mode 100644 index 000000000..9f540f18c --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.SetLabelLineLength` sets the length of the viewport line, in paper space units. + +In the example below, all of the viewports from the selected sheet are collected. The viewports' bounding boxes are then used to calculate the width that the viewport line should be. Finally, the viewport lines are set to the width of the viewport. +___ +## Example File + +![Viewport.SetLabelLineLength](./Revit.Elements.Viewport.SetLabelLineLength_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength_img.jpg new file mode 100644 index 000000000..4031ec4a5 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.SetLabelLineLength_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.dyn new file mode 100644 index 000000000..5b1558125 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.dyn @@ -0,0 +1,310 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.Sheet", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "c77d2cf5f502463bb1ba4a10166a3b70", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "be304fdc5bec4c819ed17ebc0f3c58bf", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9de471c631f740e58f859c56f3136ded", + "Name": "Sheet", + "Description": "Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.Sheet", + "Replication": "Auto", + "Description": "Get ViewSheet on which the viewport appears\n\nViewport.Sheet: Sheet" + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 728, + "SelectedString": "OST_Viewports", + "Id": "e1b2a6866f4940e4b0ebd15854e97498", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "f17443759b2c474ab33f7b3e3dc9aa67", + "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": "a290287e2a434b2c91978007928c6d78", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "f50c5d15f44048adad3ae5f3af2a4bd5", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c5c5f21bb09d43b8b91de9ebcafb5585", + "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": "e69ff587bc194e6b9fc8bda686f0c8a9", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "4455df9ea0a7499c818ac92af80e41f5", + "Name": "list", + "Description": "List of items to group as sublists\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3440c21e071e43309b1971ef4940b9f0", + "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": "3e7721cddf8a40448818e6bcf247c03b", + "Name": "groups", + "Description": "list of sublists, with items grouped by like key values", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "69a2a0ac416040dd863535ee220c7754", + "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": 377.6, + "WatchHeight": 539.2, + "Id": "792687eb82df4302bcb53969f8b1b55b", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "420621ce6fff4526b229ed4136ad8d5f", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9023f5cfa21a4f36b471e05c303edc6b", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" + } + ], + "Connectors": [ + { + "Start": "9de471c631f740e58f859c56f3136ded", + "End": "3440c21e071e43309b1971ef4940b9f0", + "Id": "01e8212bd2674955aedd1b1a994a0699", + "IsHidden": "False" + }, + { + "Start": "f17443759b2c474ab33f7b3e3dc9aa67", + "End": "f50c5d15f44048adad3ae5f3af2a4bd5", + "Id": "1fd24c9174774d039bb211e557753ab6", + "IsHidden": "False" + }, + { + "Start": "c5c5f21bb09d43b8b91de9ebcafb5585", + "End": "be304fdc5bec4c819ed17ebc0f3c58bf", + "Id": "b6724d8fb9fc4bdf84f79e9411735cfa", + "IsHidden": "False" + }, + { + "Start": "c5c5f21bb09d43b8b91de9ebcafb5585", + "End": "4455df9ea0a7499c818ac92af80e41f5", + "Id": "d43e95a7826f45269aee343af82a0bdf", + "IsHidden": "False" + }, + { + "Start": "3e7721cddf8a40448818e6bcf247c03b", + "End": "420621ce6fff4526b229ed4136ad8d5f", + "Id": "a56010affb1845288dcfde88c080f82c", + "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": "c77d2cf5f502463bb1ba4a10166a3b70", + "Name": "Viewport.Sheet", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 752.8335361259269, + "Y": 449.8657024458393 + }, + { + "Id": "e1b2a6866f4940e4b0ebd15854e97498", + "Name": "Categories", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 71.73484805555677, + "Y": 337.5569226090858 + }, + { + "Id": "a290287e2a434b2c91978007928c6d78", + "Name": "All Elements of Category", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 407.73484805555677, + "Y": 337.5569226090858 + }, + { + "Id": "e69ff587bc194e6b9fc8bda686f0c8a9", + "Name": "List.GroupByKey", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1080.5348480555567, + "Y": 337.5569226090858 + }, + { + "Id": "792687eb82df4302bcb53969f8b1b55b", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1386.6757244118385, + "Y": 337.5569226090858 + } + ], + "Annotations": [], + "X": -838.8908207960734, + "Y": -505.0956828593599, + "Zoom": 1.5193932772469267 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.md new file mode 100644 index 000000000..686cd957c --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.Sheet` returns the sheet element that the viewport is placed on. + +In the example below, all viewports are collected from the current Revit document. The sheet for each viewport is then returned with `Viewport.Sheet`. Additionally, the viewports are grouped by sheet with `List.GroupByKey`. +___ +## Example File + +![Viewport.Sheet](./Revit.Elements.Viewport.Sheet_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet_img.jpg new file mode 100644 index 000000000..579dbd243 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.Sheet_img.jpg differ diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.dyn b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.dyn new file mode 100644 index 000000000..3895136c1 --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.dyn @@ -0,0 +1,194 @@ +{ + "Uuid": "ba92fac8-180f-4280-b675-5bad01e9fb04", + "IsCustomNode": false, + "Description": "", + "Name": "Revit.Elements.Viewport.View", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Sheets, DSRevitNodesUI", + "SelectedIndex": 53, + "SelectedString": "Wall Sections", + "Id": "293f9659f2654fc7ab7bf313fd294514", + "NodeType": "ExtensionNode", + "Inputs": [], + "Outputs": [ + { + "Id": "416d10f6ff4d4dde8c881eaa6f8536a8", + "Name": "Sheet", + "Description": "The selected Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All sheets available in the current document." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "84513a913d694756a6ff3092b6ed0f06", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ae2b5a53ec5b4a0884022e9812f962c9", + "Name": "Viewport[]", + "Description": "Viewport[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Views.Sheet.Viewports", + "Replication": "Auto", + "Description": "Get Viewports from a given sheet\n\nSheet.Viewports: Viewport[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "4d73a08fee2240f5a06cbaa949c09573", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "1aa009ccce944e3fb134ece73da2c0d5", + "Name": "viewport", + "Description": "Revit.Elements.Viewport", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "afb84be3991a49b2a38b8822db9bcb73", + "Name": "View", + "Description": "View", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "Revit.Elements.Viewport.View", + "Replication": "Auto", + "Description": "Get the associated View\n\nViewport.View: View" + } + ], + "Connectors": [ + { + "Start": "416d10f6ff4d4dde8c881eaa6f8536a8", + "End": "84513a913d694756a6ff3092b6ed0f06", + "Id": "057069840e1f4220bde2edf3564d8562", + "IsHidden": "False" + }, + { + "Start": "ae2b5a53ec5b4a0884022e9812f962c9", + "End": "1aa009ccce944e3fb134ece73da2c0d5", + "Id": "4a0c825b715b4108b451728b05bb64dc", + "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": "293f9659f2654fc7ab7bf313fd294514", + "Name": "Sheets", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 216.80000000000013, + "Y": 254.39999999999992 + }, + { + "Id": "b143dceff10b4b078bed355a3ef1a2c4", + "Name": "Sheet.Viewports", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 537.2, + "Y": 254.39999999999992 + }, + { + "Id": "4d73a08fee2240f5a06cbaa949c09573", + "Name": "Viewport.View", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 864.7999999999998, + "Y": 254.39999999999992 + } + ], + "Annotations": [], + "X": -670.8358505092992, + "Y": -235.8510358922107, + "Zoom": 2.056680268334277 + } +} \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.md b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.md new file mode 100644 index 000000000..bea1a3d8a --- /dev/null +++ b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View.md @@ -0,0 +1,8 @@ +## In Depth +`Viewport.View` returns the view associated with the given viewport. + +In the example below, the viewports are returned for the selected sheet. The viewports' associated views are then returned with `Viewport.View`. +___ +## Example File + +![Viewport.View](./Revit.Elements.Viewport.View_img.jpg) \ No newline at end of file diff --git a/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View_img.jpg b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View_img.jpg new file mode 100644 index 000000000..e00b71aa5 Binary files /dev/null and b/doc/distrib/NodeHelpFiles/Revit.Elements.Viewport.View_img.jpg differ