Skip to content

Commit

Permalink
Revit.Elements.Coordinates.ProjectRotation
Browse files Browse the repository at this point in the history
Co-Authored-By: PrlxAaronMaller <[email protected]>
Co-Authored-By: l-schmidt <[email protected]>
  • Loading branch information
3 people committed Dec 30, 2024
1 parent 6e9a755 commit 05b322d
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"Uuid": "6b0a2ccc-6b7e-40bf-96e3-65276d088d0a",
"IsCustomNode": false,
"Description": "",
"Name": "Revit.Elements.Coordinates.ProjectRotation",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"Id": "8c2e43b417f649cea6e6d7e9adfa2f2c",
"NodeType": "FunctionNode",
"Inputs": [],
"Outputs": [
{
"Id": "ffd531afea4b4eb4ba3780a19860b703",
"Name": "double",
"Description": "Rotation in degrees",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"FunctionSignature": "Revit.Elements.Coordinates.ProjectRotation",
"Replication": "Auto",
"Description": "Get Project Rotation\n\nCoordinates.ProjectRotation ( ): double"
}
],
"Connectors": [],
"Dependencies": [],
"NodeLibraryDependencies": [],
"EnableLegacyPolyCurveBehavior": true,
"Thumbnail": "",
"GraphDocumentationURL": null,
"ExtensionWorkspaceData": [
{
"ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670",
"Name": "Properties",
"Version": "3.3",
"Data": {}
},
{
"ExtensionGuid": "DFBD9CC0-DB40-457A-939E-8C8555555A9D",
"Name": "Generative Design",
"Version": "8.2",
"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.3.0.6316",
"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": "8c2e43b417f649cea6e6d7e9adfa2f2c",
"Name": "Coordinates.ProjectRotation",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"ShowGeometry": true,
"X": 489.39767418859617,
"Y": 639.5650592135823
}
],
"Annotations": [],
"X": -635.3933498463039,
"Y": -1157.460383914232,
"Zoom": 2.2271951686827594
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## In Depth
`Coordinates.ProjectRotation` returns the project rotation in degrees. Project rotation is a user modifiable value and can differ greatly. For more on project rotation in Revit, visit this [help article](https://help.autodesk.com/view/RVT/2025/ENU/?guid=GUID-C240FF71-D7D4-42C0-981C-4931C7A5E50C).

In the example below, the project rotation value is returned.

___
## Example File

![Coordinates.ProjectRotation](./Revit.Elements.Coordinates.ProjectRotation_img.jpg)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05b322d

Please sign in to comment.