installed Revit 2020.1 SDK Update July 31, 2019

This commit is contained in:
Jeremy Tammik
2019-09-18 14:02:47 +02:00
parent 4ef4948320
commit afcbef71f3
32 changed files with 312 additions and 2264 deletions
+4 -1
View File
@@ -270,11 +270,13 @@ namespace Revit.SDK.Samples.PathOfTravelCreation.CS
/// currently processed.
/// </remarks>
/// <param name="room"></param>
/// <param name="targetPoints"></param>
/// <param name="nearCornerPoints"></param>
/// <returns></returns>
private static void AppendRoomNearCornerPoints(Room room, List<XYZ> nearCornerPoints)
{
IList<IList<BoundarySegment>> segments = room.GetBoundarySegments(new SpatialElementBoundaryOptions());
if (segments == null || segments.Count == 0)
return;
// First region only
IList<BoundarySegment> firstSegments = segments[0];
@@ -386,6 +388,7 @@ namespace Revit.SDK.Samples.PathOfTravelCreation.CS
/// <param name="rooms"></param>
/// <param name="endPoints"></param>
/// <param name="resultsSummary"></param>
/// <param name="mapAllStartsToAllEnds"></param>
private static void GeneratePathsOfTravelForRoomsToEndpointsManyToMany(Document doc, ViewPlan viewPlan, List<Room> rooms, List<XYZ> endPoints, ResultsSummary resultsSummary,
bool mapAllStartsToAllEnds)
{
@@ -10,6 +10,9 @@ using System.Windows.Forms;
namespace Revit.SDK.Samples.PathOfTravelCreation.CS
{
/// <summary>
/// Form presented to the user to fill in the options to control the path of travel creation.
/// </summary>
public partial class CreateForm : System.Windows.Forms.Form
{
PathCreateOptions m_createOption;
@@ -23,8 +23,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>
</DocumentationFile>
<DocumentationFile>bin\Debug\PathOfTravel.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -42,6 +41,8 @@
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\PathOfTravel.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
@@ -52,6 +53,7 @@
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\PathOfTravel.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />