mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-20 10:58:32 +00:00
installed Revit 2020.1 SDK Update July 31, 2019
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user