-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…2025 (#3413) * adds autocad 2025 support * updates civil usings and constants * adds civil3d 2025 solutions * removes implicit usings * fix: Add civil 2025 to Objects.sln * removes implicit using from autocad converter --------- Co-authored-by: Alan Rynne <[email protected]>
- Loading branch information
1 parent
5293e60
commit 3ed07ca
Showing
22 changed files
with
322 additions
and
27 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
ConnectorAutocadCivil/ConnectorAutocad2025/ConnectorAutocad2025.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<RootNamespace>Speckle.ConnectorAutocad</RootNamespace> | ||
<AssemblyName>SpeckleConnectorAutocad</AssemblyName> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<AssemblyTitle>ConnectorAutocad</AssemblyTitle> | ||
<Product>ConnectorAutocad</Product> | ||
<StartAction>Program</StartAction> | ||
<StartProgram>$(ProgramW6432)\Autodesk\AutoCAD 2025\acad.exe</StartProgram> | ||
<UseWPF>true</UseWPF> | ||
<DefineConstants>$(DefineConstants);AUTOCAD2025</DefineConstants> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<RuntimeIdentifier>win-x64</RuntimeIdentifier> | ||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> | ||
</PropertyGroup> | ||
|
||
<Import Project="..\ConnectorAutocadCivil\ConnectorAutocadCivilShared.projitems" Label="Shared" /> | ||
|
||
<Target Name="Clean"> | ||
<RemoveDir Directories="$(TargetDir);$(AppData)\Autodesk\ApplicationPlugins\Speckle2AutoCAD2025" /> | ||
</Target> | ||
<Target Name="AfterBuildMigrated" AfterTargets="PostBuildEvent" Condition="$([MSBuild]::IsOsPlatform('Windows'))"> | ||
<Message Text="Calling 2025 post build" Importance="high" /> | ||
<CallTarget Condition="'$(Configuration)' == 'Debug' AND '$(IsDesktopBuild)' == true" Targets="AfterBuildDebug" /> | ||
</Target> | ||
<Target Name="AfterBuildDebug"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
</ItemGroup> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\ApplicationPlugins\Speckle2AutoCAD2025\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Speckle.AutoCAD.API" Version="2025.0.0" IncludeAssets="compile;build" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<FrameworkReference Include="Microsoft.WindowsDesktop.App"></FrameworkReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\Core\Core\Core.csproj" /> | ||
<ProjectReference Include="..\..\DesktopUI2\DesktopUI2\DesktopUI2.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
ConnectorAutocadCivil/ConnectorCivil2025/ConnectorCivil2025.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
|
||
<RootNamespace>Speckle.ConnectorCivil</RootNamespace> | ||
<AssemblyName>SpeckleConnectorCivil</AssemblyName> | ||
<StartAction>Program</StartAction> | ||
<StartProgram>$(ProgramW6432)\Autodesk\AutoCAD 2025\acad.exe</StartProgram> | ||
<StartArguments> | ||
/ld "C:\Program Files\Autodesk\AutoCAD 2025\\AecBase.dbx" /product "C3D" /language | ||
"en-US" | ||
</StartArguments> | ||
|
||
<AssemblyTitle>ConnectorCivil2025</AssemblyTitle> | ||
<Product>ConnectorCivil2025</Product> | ||
<DefineConstants>$(DefineConstants);CIVIL2025;CIVIL;CIVIL2021_OR_GREATER;CIVIL2022_OR_GREATER;CIVIL2023_OR_GREATER;CIVIL2024_OR_GREATER;CIVIL2025_OR_GREATER</DefineConstants> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<RuntimeIdentifier>win-x64</RuntimeIdentifier> | ||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> | ||
|
||
</PropertyGroup> | ||
<Import Project="..\ConnectorAutocadCivil\ConnectorAutocadCivilShared.projitems" Label="Shared" /> | ||
<Target Name="Clean"> | ||
<RemoveDir Directories="$(TargetDir);$(AppData)\Autodesk\ApplicationPlugins\Speckle2Civil3D2025" /> | ||
</Target> | ||
<Target Name="AfterBuildMigrated" AfterTargets="PostBuildEvent" Condition="$([MSBuild]::IsOsPlatform('Windows'))"> | ||
<Message Text="Calling 2025 post build" Importance="high" /> | ||
<CallTarget Condition="'$(Configuration)' == 'Debug' AND '$(IsDesktopBuild)' == true" Targets="AfterBuildDebug" /> | ||
</Target> | ||
<Target Name="AfterBuildDebug"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
</ItemGroup> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\ApplicationPlugins\Speckle2Civil3D2025\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<FrameworkReference Include="Microsoft.WindowsDesktop.App"></FrameworkReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\Core\Core\Core.csproj" /> | ||
<ProjectReference Include="..\..\DesktopUI2\DesktopUI2\DesktopUI2.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Speckle.AutoCAD.API" Version="2025.0.0" IncludeAssets="compile;build" PrivateAssets="all" /> | ||
<PackageReference Include="Speckle.Civil3D.API" Version="2025.0.0" /> | ||
</ItemGroup> | ||
</Project> |
28 changes: 28 additions & 0 deletions
28
Objects/Converters/ConverterAutocadCivil/ConverterAutocad2025/ConverterAutocad2025.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<AssemblyName>Objects.Converter.Autocad2025</AssemblyName> | ||
<RootNamespace>Objects.Converter.Autocad</RootNamespace> | ||
<DefineConstants>$(DefineConstants);AUTOCAD2025</DefineConstants> | ||
<PackageId>Speckle.Objects.Converter.Autocad2025</PackageId> | ||
<Product>Objects.Converter.Autocad2025</Product> | ||
<Description>Converter for Autocad 2025</Description> | ||
<PackageTags>$(PackageTags) objects converter autocad</PackageTags> | ||
<CopyToKitFolder>true</CopyToKitFolder> | ||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> | ||
</PropertyGroup> | ||
|
||
<Import Project="..\ConverterAutocadCivilShared\ConverterAutocadCivilShared.projitems" Label="Shared" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Speckle.AutoCAD.API" Version="2025.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\Core\Core\Core.csproj" /> | ||
<ProjectReference Include="..\..\..\Objects\Objects.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.