Skip to content
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

Version 1.7 for Civil 3D 2022 #8

Open
wants to merge 1 commit into
base: 2018
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.6.0.0")>
<Assembly: AssemblyFileVersion("1.6.0.0")>
<Assembly: AssemblyVersion("1.7.0.0")>
<Assembly: AssemblyFileVersion("1.7.0.0")>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>..\..\R23.1\</OutputPath>
<OutputPath>..\..\R24.1\</OutputPath>
<DocumentationFile>SnoopCivil3DObjects.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
Expand All @@ -51,23 +51,23 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="accoremgd">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2020\accoremgd.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2022\accoremgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="acdbmgd">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2020\acdbmgd.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2022\acdbmgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="acmgd">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2020\acmgd.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2022\acmgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="AecBaseMgd">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2020\C3D\AecBaseMgd.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2022\C3D\AecBaseMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="AeccDbMgd">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2020\C3D\AeccDbMgd.dll</HintPath>
<HintPath>..\..\..\..\..\Program Files\Autodesk\Autodesk AutoCAD 2022\C3D\AeccDbMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PresentationCore" />
Expand Down Expand Up @@ -139,11 +139,11 @@
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Autodesk\AutoCAD 2020\acad.exe</StartProgram>
<StartProgram>C:\Program Files\Autodesk\AutoCAD 2022\acad.exe</StartProgram>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<StartArguments>/ld "C:\Program Files\Autodesk\AutoCAD 2020\\AecBase.dbx" /p "&lt;&lt;C3D_Metric&gt;&gt;" /product "C3D" /language "en-US"</StartArguments>
<StartArguments>/ld "C:\Program Files\Autodesk\AutoCAD 2022\\AecBase.dbx" /p "&lt;&lt;C3D_Metric&gt;&gt;" /product "C3D" /language "en-US"</StartArguments>
</PropertyGroup>
<PropertyGroup>
<ReferencePath>C:\Program Files\Autodesk\AutoCAD 2020\;C:\Program Files\Autodesk\AutoCAD 2020\C3D\</ReferencePath>
<ReferencePath>C:\Program Files\Autodesk\AutoCAD 2020\;C:\Program Files\Autodesk\AutoCAD 2022\C3D\</ReferencePath>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions Civil3DSnoopDB.bundle/PackageContents.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<CompanyDetails Name="Autodesk" Email="augusto.goncalves@autodesk.com" />
<RuntimeRequirements OS="Win64" Platform="Civil3D" />
<Components Description="R21 part">
<RuntimeRequirements OS="Win64" Platform="Civil3D" SeriesMin="R21.0" SeriesMax="R23.1" />
<ComponentEntry AppName="Civil3DSnoopDB" Version="1.6" ModuleName="./Contents/R23.1/SnoopCivil3DObjects.dll" AppDescription="R23.1 module" LoadOnAppearance="True" LoadOnAutoCADStartup="True" />
<RuntimeRequirements OS="Win64" Platform="Civil3D" SeriesMin="R21.0" SeriesMax="R24.1" />
<ComponentEntry AppName="Civil3DSnoopDB" Version="1.7" ModuleName="./Contents/R24.1/SnoopCivil3DObjects.dll" AppDescription="R24.1 module" LoadOnAppearance="True" LoadOnAutoCADStartup="True" />
</Components>
</ApplicationPackage>
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Database Snoop for AutoCAD Civil 3D 2020
# Database Snoop for AutoCAD Civil 3D 2022

This tool uses .NET Reflection to list all properties of AutoCAD Civil 3D major objects, such as Alignments, Corridors, Surfaces, Networks, etc. It also lists collections items and allows selection of objects on-screen.

# Setup

Open the [SnoopCivil3D.sln](Civil3DSnoopDB.bundle\Contents\Source\SnoopCivil3D\SnoopCivil3D.sln) on Visual Studio 2015. All references should be ready for AutoCAD Civil 3D 2020 default install path, otherwise go to project properties >> References, then click on Reference Paths and adjust. Build the project in Release, the DLL should be placed at /Contents/R23.1 folder. Copy the entire .bundle folder to <b>c:\Program Files\Autodesk\Autodesk\ApplicationPlugins</b> folder and launch Civil 3D.
Open the [SnoopCivil3D.sln](Civil3DSnoopDB.bundle\Contents\Source\SnoopCivil3D\SnoopCivil3D.sln) on Visual Studio 2015. All references should be ready for AutoCAD Civil 3D 2022 default install path, otherwise go to project properties >> References, then click on Reference Paths and adjust. Build the project in Release, the DLL should be placed at /Contents/R24.1 folder. Copy the entire .bundle folder to <b>c:\Program Files\Autodesk\Autodesk\ApplicationPlugins</b> folder and launch Civil 3D.

# Usage

Expand Down Expand Up @@ -33,3 +33,4 @@ The tool may stop working on some properties that cannot be reflected (using .NE
- 1.4 2017 support
- 1.5 2018 support
- 1.6 2020 support
- 1.7 2022 support