Skip to content

d4r for design automation#3152

Draft
pinzart90 wants to merge 72 commits intomasterfrom
D4R_DA
Draft

d4r for design automation#3152
pinzart90 wants to merge 72 commits intomasterfrom
D4R_DA

Conversation

@pinzart90
Copy link
Collaborator

@pinzart90 pinzart90 commented Apr 4, 2025

Minimal changes to get D4R working on Design automation
This PR is based on RC3.3.0_Revit2025 because the latest Revit on DA seems to be 2025

I opted to use "if def"s in order to minimize the changes and avoid breaking changes. As a follow up task we should do a proper separation of Core and UI functionality in all the projects (this will most likely mean breaking changes).
I will create a couple of jira tasks with proposed changes to pursue this further.

zeusongit and others added 27 commits January 12, 2024 15:15
OnRequestsCrashPrompt function
Update Greg to 3.0.1
Update Greg to 3.0.1
* update GregRevitAuth to 3.0.8935.26399
* update GregRevitAuth to 3.0.8935.26399
* add OOTB templates
* update Dynamo Core build to 3.2.1.5366
* add wrapper over Revit RoofBase class to D4R Roof class

* cast value data type to parameter value data type in order to avoid blind pointer cast in revit later on

* cast value data type to parameter value data type, get parameter value data type from Storage type where value is null
@pinzart90 pinzart90 changed the base branch from master to RC3.3.0_Revit2025 April 4, 2025 16:20
pinzart90 and others added 27 commits April 17, 2025 11:16
add saveRvt option
What changed:
Ability to load Revit Cloud Models
("type":"versions:autodesk.bim360:C4RModel")

Documentation 

https://aps.autodesk.com/blog/new-sample-support-access-revit-cloud-model-revit-design-automation-engine

Not implemented yet: Cloud Shared models.
Does not work for regular rvt files stored on ACC (only supported in
Autocad for now) -
https://aps.autodesk.com/en/docs/design-automation/v3/developers_guide/reference-downloading/

TODO:
To access cloud models using Automation, you need to provide the user
context through a special workitem argument; adsk3LeggedToken,
scope=code:all needs to be added to your authorization call.
I need to add an example in the scripts/postman collections
@pinzart90 pinzart90 changed the base branch from master to Revit2026 March 9, 2026 17:31
@pinzart90 pinzart90 changed the base branch from Revit2026 to master March 9, 2026 17:32
Temporary changes until we rebase to 2026 or use revit 2027
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants