mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-10 05:30:47 +00:00
updated to Revit 2023 SDK
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
using Autodesk.AdvanceSteel.ApplicabilityRanges;
|
||||
using Autodesk.AdvanceSteel.ConstructionTypes;
|
||||
using Autodesk.AdvanceSteel.DotNetRoots.Units;
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.DB.Structure;
|
||||
using Autodesk.Revit.DB.Structure.StructuralSections;
|
||||
@@ -165,7 +164,6 @@ namespace Revit.SDK.Samples.SampleCommandsSteelElements.AddRangesToConnectionTyp
|
||||
MinVal = new RuleApplicabilityData(0.0), // 0 KN
|
||||
MaxVal = new RuleApplicabilityData(5.0), // 5 KN
|
||||
ObjectId = connectionObjectIdx,
|
||||
Unit = Unit.eUnitType.kForce,
|
||||
PropertyId = RuleApplicabilityPropertyId.kFx
|
||||
};
|
||||
|
||||
@@ -203,7 +201,6 @@ namespace Revit.SDK.Samples.SampleCommandsSteelElements.AddRangesToConnectionTyp
|
||||
MinVal = new RuleApplicabilityData(0.0), // 0 KN-M
|
||||
MaxVal = new RuleApplicabilityData(5.0), // 5 KN-M
|
||||
ObjectId = connectionObjectIdx,
|
||||
Unit = Unit.eUnitType.kMoment,
|
||||
PropertyId = RuleApplicabilityPropertyId.kMx
|
||||
};
|
||||
|
||||
@@ -223,7 +220,6 @@ namespace Revit.SDK.Samples.SampleCommandsSteelElements.AddRangesToConnectionTyp
|
||||
MinVal = new RuleApplicabilityData(10.0), // 10 mm
|
||||
MaxVal = new RuleApplicabilityData(20.0), // 20 mm
|
||||
ObjectId = connectionObjectIdx,
|
||||
Unit = Unit.eUnitType.kDistance,
|
||||
PropertyId = RuleApplicabilityPropertyId.kSection_FlangeThickness
|
||||
};
|
||||
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
None
|
||||
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
@@ -29,7 +24,6 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<DocumentationFile>bin\Debug\SampleCommandsSteelElements.XML</DocumentationFile>
|
||||
<CodeAnalysisRuleSet />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -38,18 +32,15 @@
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<CodeAnalysisRuleSet />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
|
||||
Reference in New Issue
Block a user