mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-31 00:46:24 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -134,8 +134,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>
|
||||
|
||||
@@ -395,7 +395,7 @@ namespace Revit.SDK.Samples.FrameBuilder.CS
|
||||
|
||||
FilteredElementCollector collector = new FilteredElementCollector(m_Doc);
|
||||
IList<Element> viewFamilyTypes = collector.OfClass(typeof(ViewFamilyType)).ToElements();
|
||||
ElementId floorPlanId = new ElementId(-1);
|
||||
ElementId floorPlanId = ElementId.InvalidElementId;
|
||||
foreach (Element e in viewFamilyTypes)
|
||||
{
|
||||
ViewFamilyType v = e as ViewFamilyType;
|
||||
|
||||
Reference in New Issue
Block a user