mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-22 03:40:55 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -85,8 +85,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>
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace Revit.SDK.Samples.AreaReinCurve.CS
|
||||
/// <returns></returns>
|
||||
public static bool SetParaNullId(Parameter para)
|
||||
{
|
||||
Autodesk.Revit.DB.ElementId id = new ElementId(-1);
|
||||
Autodesk.Revit.DB.ElementId id = Autodesk.Revit.DB.ElementId.InvalidElementId;
|
||||
|
||||
if (!para.IsReadOnly)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user