mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-09 13:22:20 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -69,8 +69,8 @@ namespace Revit.SDK.Samples.SolidSolidCut.CS
|
||||
|
||||
#region Demo how to use the SolidSolidCut API to make one solid cut another.
|
||||
|
||||
int solidToBeCutElementId = 30481; //The cube
|
||||
int cuttingSolidElementId = 30809; //The sphere
|
||||
long solidToBeCutElementId = 30481; //The cube
|
||||
long cuttingSolidElementId = 30809; //The sphere
|
||||
|
||||
//Get element by ElementId
|
||||
Element solidToBeCut = activeDoc.GetElement(new ElementId(solidToBeCutElementId));
|
||||
@@ -144,8 +144,8 @@ namespace Revit.SDK.Samples.SolidSolidCut.CS
|
||||
|
||||
#region Demo how to use the SolidSolidCut API to uncut two solids which have the cutting relationship.
|
||||
|
||||
int solidToBeCutElementId = 30481; //The cube
|
||||
int cuttingSolidElementId = 30809; //The sphere
|
||||
long solidToBeCutElementId = 30481; //The cube
|
||||
long cuttingSolidElementId = 30809; //The sphere
|
||||
|
||||
//Get element by ElementId
|
||||
Element solidToBeCut = activeDoc.GetElement(new ElementId(solidToBeCutElementId));
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
@@ -75,8 +76,8 @@
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>set FILEFORSAMPLEREG="$(SolutionDir)..\..\..\..\Regression\API\SDKSamples\UpdateSampleDllForRegression.pl"
|
||||
if exist %25FILEFORSAMPLEREG%25 perl %25FILEFORSAMPLEREG%25 $(ProjectExt) "$(ProjectPath)" "$(TargetPath)" "$(SolutionDir)"</PostBuildEvent>
|
||||
<PostBuildEvent>set FILEFORSAMPLEREG="$(SolutionDir)..\..\..\..\Regression\API\SDKSamples\UpdateSampleDllForRegression.py"
|
||||
if exist %25FILEFORSAMPLEREG%25 py -3 %25FILEFORSAMPLEREG%25 "$(ProjectPath)" "$(TargetPath)" "$(SolutionDir)"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
|
||||
Reference in New Issue
Block a user