Skip to content

d4r for design automation #3152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 61 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
4c571df
updated GregRevitAuth (#3027)
zeusongit Jan 12, 2024
160168e
fix two failed tests
vpavel04 Jan 17, 2024
7ca1f68
bumpup version to make build with signed binaries
Mikhinja Jan 23, 2024
2701ba0
bump up version to publish
Mikhinja Jan 23, 2024
d35fb7e
Update DynamoRevit.cs (#3033)
aparajit-pratap Jan 25, 2024
2ee6da7
Update Dynamo Core to 3.0.2.7476
Mikhinja Jan 25, 2024
cc2123f
Update DynamoRevit versioning to 3.0.2 to align with DynamoCore
Mikhinja Jan 26, 2024
e19d8ed
Fix a couple of Regression tests
Mikhinja Jan 26, 2024
eecab07
Update Dynamo Core to 3.0.3.7597
Mikhinja Jan 31, 2024
ab901bc
Update DynamoRevit versioning to 3.0.3
Mikhinja Jan 31, 2024
3c29dbb
Version *.customization.dll files with number from other output binary
Mikhinja Apr 5, 2024
5e55ee9
Fix regression in familytype.bygeometry (#3066)
saintentropy Apr 30, 2024
944c23e
Integrate Dynamo Core 3.1 in Revit 2025.2
Mikhinja May 23, 2024
b5a20fb
Update D4R minor version to 3.1.0
Mikhinja May 27, 2024
23533ff
Update Dynamo to 3.2.0
Mikhinja Jun 6, 2024
11e4076
Update Dynamo to 3.2.0
Mikhinja Jun 6, 2024
a6354ce
Update Dynamo to 3.2.0
Mikhinja Jun 6, 2024
3a22623
* update Dynamo Core to 3.2.1
Mikhinja Jun 19, 2024
4836afd
* update Dynamo Core to 3.2.1
Mikhinja Jun 19, 2024
0278a00
Merge branch 'RC3.2.0_Revit2025' of https://github.com/DynamoDS/Dynam…
Mikhinja Jun 19, 2024
cce1a96
REVIT-222587
Mikhinja Jun 21, 2024
ce5f184
change content publishing
Mikhinja Jun 21, 2024
2ad9983
Roof.Points bug fix integration in Revit 2025.3 (#3081)
AdrianaStanica Aug 6, 2024
a4eb9ca
update Dynamo Core to 3.2.2.5494 (#3084)
Mikhinja Aug 6, 2024
ffe4ed3
Create ContinuousLocalization.yml
ZbynekHanak-RWS Sep 25, 2024
bc2a8fa
Update Dynamo Core to 3.3.0
Mikhinja Oct 14, 2024
636c476
update
pinzart90 Apr 4, 2025
0279992
update
pinzart90 Apr 4, 2025
76742f2
update
pinzart90 Apr 4, 2025
8fc45d5
update
pinzart90 Apr 4, 2025
b3a4fb8
Update RevitNodesUI.csproj
pinzart90 Apr 4, 2025
0227ab8
UPDATE
pinzart90 Apr 7, 2025
2d268cd
update
pinzart90 Apr 8, 2025
f89cd62
update
pinzart90 Apr 8, 2025
aaf1194
update
pinzart90 Apr 8, 2025
54896d9
update
pinzart90 Apr 8, 2025
8b754f8
Update DisposeLogic.cs
pinzart90 Apr 8, 2025
3019b88
update
pinzart90 Apr 9, 2025
efb08c5
update
pinzart90 Apr 10, 2025
db62a50
Merge branch 'master' into D4R_DA
pinzart90 Apr 17, 2025
5dde24a
update
pinzart90 Apr 17, 2025
ff9a951
update
pinzart90 Apr 17, 2025
88f1641
Update AssemblyInfoGenerator.csproj
pinzart90 Apr 17, 2025
18bea14
Update AssemblyInfoGenerator.csproj
pinzart90 Apr 17, 2025
e3f8b61
update
pinzart90 Apr 17, 2025
c94a31e
Update DynamoRevitIcons.csproj
pinzart90 Apr 17, 2025
32d9219
update
pinzart90 Apr 23, 2025
581914c
update
pinzart90 Apr 25, 2025
1202a2c
update
pinzart90 May 6, 2025
1a1e913
update
pinzart90 May 6, 2025
8fdb261
update
pinzart90 May 6, 2025
6dffdd5
update
pinzart90 May 6, 2025
f184ad8
Update DAEntrypoint.cs
pinzart90 May 13, 2025
3397634
update
pinzart90 May 13, 2025
c54f7c9
update
pinzart90 May 21, 2025
348ffc6
update
pinzart90 May 21, 2025
2f5e37c
Update DAEntrypoint.cs
pinzart90 May 21, 2025
c59fdf6
update
pinzart90 May 21, 2025
9b3e6bf
Update RevitServices.csproj
pinzart90 May 21, 2025
c1ed0fa
Update RevitServices.csproj
pinzart90 May 21, 2025
c7217ff
Update DocumentManager.cs
pinzart90 May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/AssemblySharedInfoGenerator/AssemblyInfoGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
<TransformOutOfDateOnly>false</TransformOutOfDateOnly>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PreBuildEvent>"$(SolutionDir)transform_all.bat" "$(ProjectDir)"</PreBuildEvent>
<DebugSymbols>false</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DebugSymbols>false</DebugSymbols>
<DebugType>None</DebugType>
<AssemblyTitle>AssemblyInfoGenerator</AssemblyTitle>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
Expand Down
6 changes: 5 additions & 1 deletion src/Config/CS_SDK.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PlatformTarget >x64</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<Platforms>NET80</Platforms>
<Platforms>NET80;NET80_DA</Platforms>
<TargetFramework>net8.0-windows</TargetFramework>
<DCoreLibSubFolder>net8.0</DCoreLibSubFolder>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">17.0</VisualStudioVersion>
Expand Down Expand Up @@ -39,9 +39,13 @@
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Platform.Contains('_DA'))">
<DefineConstants>$(DefineConstants);DESIGN_AUTOMATION</DefineConstants>
</PropertyGroup>
<ItemDefinitionGroup>
<ProjectReference>
<Private>false</Private>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemDefinitionGroup>
</Project>
58 changes: 58 additions & 0 deletions src/DADynamoApp/DADynamoApp.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<Project Sdk="Microsoft.NET.Sdk">
<ImportGroup Label="PropertySheets">
<Import Project="$(SolutionDir)Config\CS_SDK.props" />
</ImportGroup>

<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!--EnableDynamicLoading prepares the project so that it can be used as a plugin -->
<!--https://learn.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support#simple-plugin-with-no-dependencies-->
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

<ItemGroup>
<Compile Remove="obj\**" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are these needed?

<EmbeddedResource Remove="obj\**" />
<None Remove="obj\**" />
</ItemGroup>

<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>$(REVITAPI)\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autodesk.Forge.DesignAutomation.Revit" Version="2025.0.1" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this version property use the RevitAPI version - or can we add a TODO to do that when DA supports 2026?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a 2026 version of this package was pushed two weeks ago. Not sure if the versions exactly match.

<PackageReference Include="DynamoVisualProgramming.Core" Version="3.5.0.8300" ExcludeAssets="runtime" GeneratePathProperty="true" />
<PackageReference Include="DynamoPlayer" Version="6.0.2" ExcludeAssets="runtime" GeneratePathProperty="true" />
<PackageReference Include="GregRevitAuth" Version="3.0.9229.39980" GeneratePathProperty="true">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DynamoRevit\DynamoRevit.csproj" />
<ProjectReference Include="..\Libraries\RevitNodes\RevitNodes.csproj" />
<ProjectReference Include="..\Libraries\RevitServices\RevitServices.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="DynamoPlayer.Models">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats going on here, why isn't the package ref enough?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because the player package does not respect the dotnet norms. It is built like a revit nuget (weird dll paths)

<HintPath>$(PkgDynamoPlayer)\bin\Release\net8.0\bin\DynamoPlayer.Models.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="DynamoPlayer.Server">
<HintPath>$(PkgDynamoPlayer)\bin\Release\net8.0\bin\DynamoPlayer.Server.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="DynamoPlayer.Workflows">
<HintPath>$(PkgDynamoPlayer)\bin\Release\net8.0\bin\DynamoPlayer.Workflows.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="Copy dll" AfterTargets="Build">
<Copy SourceFiles="$(PkgGregRevitAuth)\lib\net8.0\GregRevitAuth.dll" DestinationFolder="$(OutputPath)" />
</Target>
</Project>
Loading