Skip to content

Commit

Permalink
flat migration to Revit 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Tammik committed Dec 10, 2016
1 parent 28701fd commit 11db2a1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions RvtVa3c/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ Va3cExportContext context
// OnFaceBegin calls, not the actual processing
// of face tessellation. Meshes of the faces
// will still be received by the context.

exporter.IncludeFaces = false;
//
//exporter.IncludeFaces = false; // removed in Revit 2017

exporter.ShouldStopOnError = false;

Expand Down
5 changes: 3 additions & 2 deletions RvtVa3c/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
// 2015-02-15 2015.0.0.29 incremented copyright year
// 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
//
[assembly: AssemblyVersion( "2015.0.0.31" )]
[assembly: AssemblyFileVersion( "2015.0.0.31" )]
[assembly: AssemblyVersion( "2017.0.0.0" )]
[assembly: AssemblyFileVersion( "2017.0.0.0" )]
8 changes: 4 additions & 4 deletions RvtVa3c/RvtVa3c.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
Expand All @@ -17,7 +17,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RvtVa3c</RootNamespace>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -51,11 +51,11 @@
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="RevitAPI">
<HintPath>$(ProgramW6432)\Autodesk\Revit 2015\RevitAPI.dll</HintPath>
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2017\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>$(ProgramW6432)\Autodesk\Revit 2015\RevitAPIUI.dll</HintPath>
<HintPath>..\..\..\..\Program Files\Autodesk\Revit 2017\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
15 changes: 8 additions & 7 deletions RvtVa3c/Va3cExportContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -620,13 +620,14 @@ public bool IsCanceled()
return false;
}

public void OnDaylightPortal( DaylightPortalNode node )
{
Debug.WriteLine( "OnDaylightPortal: " + node.NodeName );
Asset asset = node.GetAsset();
Debug.WriteLine( "OnDaylightPortal: Asset:"
+ ( ( asset != null ) ? asset.Name : "Null" ) );
}
// Removed in Revit 2017:
//public void OnDaylightPortal( DaylightPortalNode node )
//{
// Debug.WriteLine( "OnDaylightPortal: " + node.NodeName );
// Asset asset = node.GetAsset();
// Debug.WriteLine( "OnDaylightPortal: Asset:"
// + ( ( asset != null ) ? asset.Name : "Null" ) );
//}

public void OnRPC( RPCNode node )
{
Expand Down

0 comments on commit 11db2a1

Please sign in to comment.