-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into revit/unnecessary-levels
- Loading branch information
Showing
57 changed files
with
499 additions
and
167 deletions.
There are no files selected for viewing
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
64 changes: 64 additions & 0 deletions
64
ConnectorAutocadCivil/ConnectorAdvanceSteel2024/ConnectorAdvanceSteel2024.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,64 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<RootNamespace>Speckle.ConnectorAdvanceSteel</RootNamespace> | ||
<AssemblyName>SpeckleConnectorAdvanceSteel</AssemblyName> | ||
<TargetFramework>net48</TargetFramework> | ||
<AssemblyTitle>ConnectorAdvanceSteel2024</AssemblyTitle> | ||
<Product>ConnectorAdvanceSteel2024</Product> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<DefineConstants>$(DefineConstants);ADVANCESTEEL;ADVANCESTEEL2024</DefineConstants> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<Authors>Pedro Henrique Liberato</Authors> | ||
</PropertyGroup> | ||
<Import Project="..\ConnectorAutocadCivil\ConnectorAutocadCivilShared.projitems" Label="Shared" /> | ||
<Target Name="AfterBuildMigrated" AfterTargets="Build" Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<GenerateManifest InputFilename="$(ProjectDir)\MyAddons.xml" OutputFilename="C:\Program Files\Autodesk\AutoCAD 2024\ADVS\Addons\MyAddons.xml" MatchExpression="\$PATH\$" ReplacementText="$(TargetPath)" /> | ||
</Target> | ||
<UsingTask TaskName="GenerateManifest" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | ||
<ParameterGroup> | ||
<InputFilename ParameterType="System.String" Required="true" /> | ||
<OutputFilename ParameterType="System.String" Required="true" /> | ||
<MatchExpression ParameterType="System.String" Required="true" /> | ||
<ReplacementText ParameterType="System.String" Required="true" /> | ||
</ParameterGroup> | ||
<Task> | ||
<Reference Include="System.Core" /> | ||
<Using Namespace="System" /> | ||
<Using Namespace="System.IO" /> | ||
<Using Namespace="System.Text.RegularExpressions" /> | ||
<Code Type="Fragment" Language="cs"> | ||
<![CDATA[ | ||
if(!File.Exists(OutputFilename)) | ||
{ | ||
Console.WriteLine("Launch VS with Admin privileges to automatically create the addin manifest"); | ||
(new FileInfo(OutputFilename)).Directory.Create(); | ||
File.WriteAllText( | ||
OutputFilename, | ||
Regex.Replace(File.ReadAllText(InputFilename), MatchExpression, ReplacementText) | ||
); | ||
} | ||
]]> | ||
</Code> | ||
</Task> | ||
</UsingTask> | ||
<ItemGroup> | ||
<Reference Include="PresentationCore" /> | ||
<Reference Include="PresentationFramework" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Net.Http" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\Core\Core\Core.csproj" /> | ||
<ProjectReference Include="..\..\DesktopUI2\DesktopUI2\DesktopUI2.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MathNet.Numerics" Version="5.0.0" /> | ||
<PackageReference Include="MathNet.Spatial" Version="0.6.0" /> | ||
<PackageReference Include="Speckle.AdvanceSteel.API" Version="2024.0.0" IncludeAssets="compile;build" PrivateAssets="all"/> | ||
<PackageReference Include="Speckle.AutoCAD.API" Version="2024.0.0" IncludeAssets="compile;build" PrivateAssets="all"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="MyAddons.xml" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<AddonsData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Addons> | ||
<Addon> | ||
<Name>Speckle</Name> | ||
<FullPath>$PATH$</FullPath> | ||
</Addon> | ||
</Addons> | ||
</AddonsData> |
9 changes: 9 additions & 0 deletions
9
ConnectorAutocadCivil/ConnectorAdvanceSteel2024/Properties/launchSettings.json
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,9 @@ | ||
{ | ||
"profiles": { | ||
"Debug AdvanceSteel": { | ||
"commandName": "Executable", | ||
"executablePath": "C:\\Program Files\\Autodesk\\AutoCAD 2024\\acad.exe", | ||
"commandLineArgs": "/language \"en-US\" /product \"ADVS\" /p \"<<ADVS>>\"" | ||
} | ||
} | ||
} |
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.