mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-19 10:45:56 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -102,8 +102,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>
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace Revit.SDK.Samples.AreaReinParameters.CS
|
||||
public override void GetConvertHash()
|
||||
{
|
||||
m_hash = Command.HookTypes;
|
||||
Autodesk.Revit.DB.ElementId id = new Autodesk.Revit.DB.ElementId(-1);
|
||||
Autodesk.Revit.DB.ElementId id = Autodesk.Revit.DB.ElementId.InvalidElementId;
|
||||
|
||||
if (!m_hash.ContainsKey("None"))
|
||||
{
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace Revit.SDK.Samples.AreaReinParameters.CS
|
||||
/// <returns></returns>
|
||||
public static bool SetParaNullId(Parameter para)
|
||||
{
|
||||
Autodesk.Revit.DB.ElementId id = new ElementId(-1);
|
||||
Autodesk.Revit.DB.ElementId id = ElementId.InvalidElementId;
|
||||
|
||||
if (!para.IsReadOnly)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user