Skip to content

Commit

Permalink
flat migration to Revit 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed Jun 29, 2017
1 parent d30fb1d commit 5719d13
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
7 changes: 4 additions & 3 deletions RvtVa3c/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[assembly: AssemblyConfiguration( "" )]
[assembly: AssemblyCompany( "Autodesk Inc." )]
[assembly: AssemblyProduct( "RvtVa3c" )]
[assembly: AssemblyCopyright( "Copyright 2014-2015 © Jeremy Tammik Autodesk Inc." )]
[assembly: AssemblyCopyright( "Copyright 2014-2017 © Jeremy Tammik Autodesk Inc." )]
[assembly: AssemblyTrademark( "" )]
[assembly: AssemblyCulture( "" )]

Expand Down Expand Up @@ -49,6 +49,7 @@
// 2015-03-04 2015.0.0.30 integrated anapujol's UI to filter parameters, cf. description in https://github.com/va3c/RvtVa3c/pull/6
// 2015-04-13 2015.0.0.31 cleaned up after ana
// 2016-12-10 2017.0.0.0 flat migration to Revit 2017
// 2017-06-29 2018.0.0.0 flat migration to Revit 2018
//
[assembly: AssemblyVersion( "2017.0.0.0" )]
[assembly: AssemblyFileVersion( "2017.0.0.0" )]
[assembly: AssemblyVersion( "2018.0.0.0" )]
[assembly: AssemblyFileVersion( "2018.0.0.0" )]
10 changes: 5 additions & 5 deletions RvtVa3c/RvtVa3c.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="RevitAPI">
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2017\RevitAPI.dll</HintPath>
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2018\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2017\RevitAPIUI.dll</HintPath>
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2018\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -97,8 +97,8 @@
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2015\RvtVa3c.dll" />
</Target>
<PropertyGroup>
<PostBuildEvent>copy "$(ProjectDir)RvtVa3c.addin" "$(AppData)\Autodesk\REVIT\Addins\2017"
copy "$(ProjectDir)bin\debug\RvtVa3c.dll" "$(AppData)\Autodesk\REVIT\Addins\2017"
copy "$(ProjectDir)bin\debug\Newtonsoft.Json.dll" "$(AppData)\Autodesk\REVIT\Addins\2017"</PostBuildEvent>
<PostBuildEvent>copy "$(ProjectDir)RvtVa3c.addin" "$(AppData)\Autodesk\REVIT\Addins\2018"
copy "$(ProjectDir)bin\debug\RvtVa3c.dll" "$(AppData)\Autodesk\REVIT\Addins\2018"
copy "$(ProjectDir)bin\debug\Newtonsoft.Json.dll" "$(AppData)\Autodesk\REVIT\Addins\2018"</PostBuildEvent>
</PropertyGroup>
</Project>
12 changes: 6 additions & 6 deletions RvtVa3c/Va3cExportContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Diagnostics;
using System.IO;
using Autodesk.Revit.DB;
using Autodesk.Revit.Utility;
//using Autodesk.Revit.Utility;
using Newtonsoft.Json;
#endregion // Namespaces

Expand Down Expand Up @@ -632,9 +632,9 @@ public bool IsCanceled()
public void OnRPC( RPCNode node )
{
Debug.WriteLine( "OnRPC: " + node.NodeName );
Asset asset = node.GetAsset();
Debug.WriteLine( "OnRPC: Asset:"
+ ( ( asset != null ) ? asset.Name : "Null" ) );
//Asset asset = node.GetAsset();
//Debug.WriteLine( "OnRPC: Asset:"
// + ( ( asset != null ) ? asset.Name : "Null" ) );
}

public RenderNodeAction OnViewBegin( ViewNode node )
Expand Down Expand Up @@ -838,8 +838,8 @@ public void OnLinkEnd( LinkNode node )
public void OnLight( LightNode node )
{
Debug.WriteLine( "OnLight: " + node.NodeName );
Asset asset = node.GetAsset();
Debug.WriteLine( "OnLight: Asset:" + ( ( asset != null ) ? asset.Name : "Null" ) );
//Asset asset = node.GetAsset();
//Debug.WriteLine( "OnLight: Asset:" + ( ( asset != null ) ? asset.Name : "Null" ) );
}
}
}

0 comments on commit 5719d13

Please sign in to comment.