mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-09 05:16:30 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -212,7 +212,7 @@ namespace Revit.SDK.Samples.Journaling.CS
|
||||
|
||||
// Get the level information from the journal
|
||||
dataValue = GetSpecialData(dataMap, "Level Id"); // get the level id
|
||||
Autodesk.Revit.DB.ElementId id = new Autodesk.Revit.DB.ElementId(Convert.ToInt32(dataValue)); // get the level by its id
|
||||
Autodesk.Revit.DB.ElementId id = Autodesk.Revit.DB.ElementId.Parse(dataValue); // get the level by its id
|
||||
|
||||
m_createlevel = doc.GetElement(id) as Level;
|
||||
if (null == m_createlevel) // assert the level is exist
|
||||
|
||||
@@ -99,8 +99,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