Skip to content

Commit

Permalink
bump 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Apr 19, 2022
1 parent 1dcd0f1 commit b223e81
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AddInManager.sln
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ Global
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N21|Any CPU.ActiveCfg = Release N21|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N22|Any CPU.ActiveCfg = Release N22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N23|Any CPU.ActiveCfg = Release N23|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N20|Any CPU.Build.0 = Release N20|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N21|Any CPU.Build.0 = Release N21|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N22|Any CPU.Build.0 = Release N22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N23|Any CPU.Build.0 = Release N23|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
- 2022-04-20 **1.0.1**
- Add panel test lab to try load assembly
- 2022-04-19 **1.0.0**
- First Release.
- Support Navis Version : 2020,2021,2022,2023
Expand Down
2 changes: 1 addition & 1 deletion Installer/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
const string projectName = "NavisAddinManager";
const string outputName = "NavisAddinManager";
const string outputDir = "output";
const string version = "1.0.0";
const string version = "1.0.1";
const string xmlName = "PackageContents.xml";
var fileName = new StringBuilder().Append(outputName).Append("-").Append(version);
var project = new Project
Expand Down
6 changes: 6 additions & 0 deletions NavisAddinManager/App.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Autodesk.Navisworks.Api.Plugins;
using NavisAddinManager.Command;
using NavisAddinManager.Properties;
using Test;

namespace NavisAddinManager;

Expand All @@ -9,6 +10,7 @@ namespace NavisAddinManager;
[RibbonTab("ID_AddinManager_TAB",DisplayName = "AddinManager")]
[Command("ID_ButtonAddinManagerManual", DisplayName = "Addin Manager \n Manual", Icon = "Resources\\dev16x16.png", LargeIcon = "Resources\\dev32x32.png",ToolTip = "Addin Manager Manual")]
[Command("ID_ButtonAddinManagerFaceless", DisplayName = "Addin Manager \n Faceless",Icon = "Resources\\dev16x16.png", LargeIcon = "Resources\\dev32x32.png", ToolTip = "Addin Manager Faceless")]
[Command("ID_ButtonTest", DisplayName = "Test",Icon = "Resources\\lab16x16.png", LargeIcon = "Resources\\lab32x32.png", ToolTip = "Test")]
public class App : CommandHandlerPlugin
{
public override int ExecuteCommand(string name, params string[] parameters)
Expand All @@ -23,6 +25,10 @@ public override int ExecuteCommand(string name, params string[] parameters)
AddInManagerFaceLess addInManagerFaceless = new AddInManagerFaceLess();
addInManagerFaceless.Execute();
break;
case "ID_ButtonTest":
TestAddInManagerManual hello = new TestAddInManagerManual();
hello.Execute();
break;
}
return 0;
}
Expand Down
10 changes: 10 additions & 0 deletions NavisAddinManager/NavisAddinManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
<None Update="Resources\dev32x32.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Resources\lab16x16.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Resources\lab32x32.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Api" Version="$(NavisVersion).*" />
Expand Down Expand Up @@ -104,6 +110,10 @@
<SubType>Designer</SubType>
</Page>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Test\Test.csproj" />
</ItemGroup>
<PropertyGroup>
<PostBuildEvent>powershell -NoProfile -ExecutionPolicy Unrestricted $(SolutionDir)NavisAddinManager\postbuild.ps1 -Configuration '$(Configuration)' -SolutionDir '$(SolutionDir)' -ProjectDir '$(ProjectDir)' -Version '$(NavisVersion)'</PostBuildEvent>
</PropertyGroup>
Expand Down
Binary file added NavisAddinManager/Resources/lab16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NavisAddinManager/Resources/lab32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions NavisAddinManager/en-US/AddinManagerRibbon.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,16 @@
Size="Large" />
</RibbonPanelSource>
</RibbonPanel>
<RibbonPanel x:Uid="UID_Lab_PANEL">
<RibbonPanelSource x:Uid="UID_NavisAddinManage_TAB_Test_SOURCE" Title="Test">
<nvw:NWRibbonButton
x:Uid="UID_ButtonTest"
Id="ID_ButtonTest"
KeyTip="X1"
Orientation="Vertical"
ShowText="True"
Size="Large" />
</RibbonPanelSource>
</RibbonPanel>
</RibbonTab>
</RibbonControl>

0 comments on commit b223e81

Please sign in to comment.