mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-30 00:23:01 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -38,9 +38,6 @@ namespace Revit.SDK.Samples.ImportExport.CS
|
||||
#endregion
|
||||
|
||||
#region Class Properties
|
||||
/// <summary>
|
||||
/// Combine
|
||||
/// </summary>
|
||||
public bool Combine
|
||||
{
|
||||
get
|
||||
|
||||
@@ -42,10 +42,6 @@ namespace Revit.SDK.Samples.ImportExport.CS
|
||||
/// </summary>
|
||||
private ExportPDFData m_data;
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
public ExportPDFOptionsForm(ExportPDFData data)
|
||||
{
|
||||
m_data = data;
|
||||
|
||||
@@ -44,11 +44,7 @@ namespace Revit.SDK.Samples.ImportExport.CS
|
||||
public ImportImageData(ExternalCommandData commandData, ImportFormat importFormat)
|
||||
: base(commandData, importFormat)
|
||||
{
|
||||
if (OptionalFunctionalityUtils.IsPDFImportAvailable())
|
||||
m_filter = "All Image Files (*.bmp, *.gif, *.jpg, *.jpeg, *.pdf, *.png, *.tif)|*.bmp;*.gif;*.jpg;*.jpeg;*.pdf;*.png;*.tif";
|
||||
else
|
||||
m_filter = "All Image Files (*.bmp, *.gif, *.jpg, *.jpeg, *.png, *.tif)|*.bmp;*.gif;*.jpg;*.jpeg;*.png;*.tif";
|
||||
|
||||
m_filter = "All Image Files (*.bmp, *.gif, *.jpg, *.jpeg, *.pdf, *.png, *.tif)|*.bmp;*.gif;*.jpg;*.jpeg;*.pdf;*.png;*.tif";
|
||||
m_title = "Import Image";
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>bin\Debug\ImportExport.XML</DocumentationFile>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -127,7 +127,6 @@
|
||||
<Compile Include="Export\ExportWithViewsForm.Designer.cs">
|
||||
<DependentUpon>ExportWithViewsForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Import\ImportInventorData.cs" />
|
||||
<Compile Include="MainData.cs" />
|
||||
<Compile Include="MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
@@ -202,8 +201,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>
|
||||
|
||||
@@ -400,10 +400,6 @@ namespace Revit.SDK.Samples.ImportExport.CS
|
||||
ImportGBXMLData importGBXMLData = new ImportGBXMLData(m_commandData, format);
|
||||
dialogResult = Import(importGBXMLData);
|
||||
break;
|
||||
case ImportFormat.Inventor:
|
||||
ImportInventorData importInventorData = new ImportInventorData(m_commandData, format);
|
||||
dialogResult = Import(importInventorData);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user