updated to Revit 2023 SDK

This commit is contained in:
Jeremy Tammik
2022-04-07 09:12:58 +02:00
parent e3434c5200
commit ab02648986
342 changed files with 6496 additions and 3140 deletions
@@ -24,7 +24,6 @@
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<DocumentationFile>
</DocumentationFile>
<CodeAnalysisRuleSet />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -34,7 +33,6 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
@@ -43,8 +41,7 @@
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>
</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
@@ -54,8 +51,7 @@
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>
</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
@@ -250,7 +250,7 @@ namespace Revit.SDK.Samples.TransactionControl.CS
if (subTransaction.Commit() == TransactionStatus.Committed)
{
m_lastCreatedWall = createWallForm.CreatedWall;
AddNode(OperationType.ObjectModification, "Created wall " + m_lastCreatedWall.Id.IntegerValue.ToString());
AddNode(OperationType.ObjectModification, "Created wall " + m_lastCreatedWall.Id.ToString());
UpdateButtonsStatus();
return;
}
@@ -296,7 +296,7 @@ namespace Revit.SDK.Samples.TransactionControl.CS
if (subTransaction.Commit() == TransactionStatus.Committed)
{
AddNode(OperationType.ObjectModification, "Moved wall " + m_lastCreatedWall.Id.IntegerValue.ToString());
AddNode(OperationType.ObjectModification, "Moved wall " + m_lastCreatedWall.Id.ToString());
return;
}
}
@@ -326,7 +326,7 @@ namespace Revit.SDK.Samples.TransactionControl.CS
// if not handled explicitly, the sub-transaction will be rolled back when leaving this block
try
{
String wallId = m_lastCreatedWall.Id.IntegerValue.ToString();
String wallId = m_lastCreatedWall.Id.ToString();
if (TaskDialogResult.No ==
TaskDialog.Show("Warning", "Do you really want to delete wall with id " + wallId + "?",