10 Commits

Author SHA1 Message Date
Adam Hathcock 53888617f5 fmt 2024-06-13 08:44:59 +01:00
Adam Hathcock 6a0b126e5b add unmap to proxymap 2024-06-13 08:32:11 +01:00
Adam Hathcock a7d2e047b3 filter fixes and moving of proxymap 2024-06-12 17:03:52 +01:00
Adam Hathcock 938bc803c6 more brute force conversions 2024-06-12 16:31:04 +01:00
Adam Hathcock ecbb2244a1 location is better handled? 2024-06-12 16:14:15 +01:00
Adam Hathcock 0792192b27 Fixing location conversions? 2024-06-12 14:14:58 +01:00
Adam Hathcock ef56b9c331 add to level 2024-06-12 13:46:59 +01:00
Adam Hathcock eb65b91e43 Fix enum utility 2024-06-12 13:46:46 +01:00
Adam Hathcock 782c87cda8 fmt and tests 2024-06-12 12:18:52 +01:00
Adam Hathcock 6bdd0a5bce add enum utility to handle duplicates but allowing conversion 2024-06-12 11:53:17 +01:00
4763 changed files with 7185 additions and 197984 deletions
-32
View File
@@ -14,43 +14,11 @@
"resolved": "1.1.9",
"contentHash": "AfK5+ECWYTP7G3AAdnU8IfVj+QpGjrh9GC2mpdcJzCvtQ4pnerAGwHsxJ9D4/RnhDUz2DSzd951O/lQjQby2Sw=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "G5q7OqtwIyGTkeIOAc3u2ZuV/kicQaec5EaRnc0pIeSnh9LUjj+PYQrJYBURvDt7twGl2PKA7nSN0kz1Zw5bnQ==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "8.0.0",
"Microsoft.SourceLink.Common": "8.0.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"type": "Direct",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
"SimpleExec": {
"type": "Direct",
"requested": "[12.0.0, )",
"resolved": "12.0.0",
"contentHash": "ptxlWtxC8vM6Y6e3h9ZTxBBkOWnWrm/Sa1HT+2i1xcXY3Hx2hmKDZP5RShPf8Xr9D+ivlrXNy57ktzyH8kyt+Q=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "bZKfSIKJRXLTuSzLudMFte/8CempWjVamNUR5eHJizsy+iuOuO/k2gnh7W0dHJmYY0tBf+gUErfluCv5mySAOQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
}
}
+1 -9
View File
@@ -19,17 +19,9 @@
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup>
<MinVerDefaultPreReleaseIdentifiers>preview</MinVerDefaultPreReleaseIdentifiers>
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
</PropertyGroup>
</Project>
+11 -7
View File
@@ -2,13 +2,17 @@
<ItemGroup>
<PackageVersion Include="Bullseye" Version="5.0.0" />
<PackageVersion Include="Glob" Version="1.1.9" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="SimpleExec" Version="12.0.0" />
<PackageVersion Include="Speckle.Revit.API" Version="2023.0.0" />
<PackageVersion Include="RhinoCommon" Version="7.13.21348.13001" />
<PackageVersion Include="RhinoWindows" Version="7.13.21348.13001" />
<GlobalPackageReference Include="PolySharp" Version="1.14.1" />
<GlobalPackageReference Include="MinVer" Version="5.0.0" />
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="System.Drawing.Common" Version="8.0.6" />
<PackageVersion Include="Speckle.ProxyGenerator" Version="0.1.6" />
<PackageVersion Include="Mapster" Version="7.3.0" />
<PackageVersion Include="MinVer" Version="5.0.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="NUnit" Version="4.1.0" />
<PackageVersion Include="NUnit.Analyzers" Version="4.2.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
</ItemGroup>
</Project>
+1 -1
View File
@@ -1,3 +1,3 @@
# Speckle Host Apis
This repo generates Fakes for various host applications for testing.
This repo uses https://github.com/specklesystems/ProxyGenerator to generate wrappers around various Host Applications. This makes the result interfaces usable in unit tests as the host application API only allows it usable as a plugin.
+15
View File
@@ -0,0 +1,15 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Deterministic>true</Deterministic>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>
+6
View File
@@ -0,0 +1,6 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Packages.props, $(MSBuildThisFileDirectory)..))" />
<ItemGroup>
<PackageVersion Include="Speckle.Revit.API" Version="2023.0.0" />
</ItemGroup>
</Project>
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<Import Project="..\..\Speckle.Revit.Api\Speckle.Revit.Api.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="Speckle.Revit.API" />
<PackageReference Include="Mapster" />
<PackageReference Include="Speckle.ProxyGenerator" PrivateAssets="All"/>
<PackageReference Include="MinVer" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Speckle.Revit2023.Interfaces\Speckle.Revit2023.Interfaces.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,74 @@
{
"version": 2,
"dependencies": {
".NETFramework,Version=v4.8": {
"Mapster": {
"type": "Direct",
"requested": "[7.3.0, )",
"resolved": "7.3.0",
"contentHash": "NrCUX/rJa5PTyo6iW4AL5dZLU9PDNlYnrJOVjgdpo5OQM9EtWH2CMHnC5sSuJWC0d0b0SnmeRrIviEem6WxtuQ==",
"dependencies": {
"Mapster.Core": "1.2.0",
"Microsoft.CSharp": "4.3.0",
"System.Reflection.Emit": "4.3.0"
}
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "G5q7OqtwIyGTkeIOAc3u2ZuV/kicQaec5EaRnc0pIeSnh9LUjj+PYQrJYBURvDt7twGl2PKA7nSN0kz1Zw5bnQ==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "8.0.0",
"Microsoft.SourceLink.Common": "8.0.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"Speckle.ProxyGenerator": {
"type": "Direct",
"requested": "[0.1.6, )",
"resolved": "0.1.6",
"contentHash": "SO9Udllol9Krpq+UFBr54Es79kmiIQmtSRXKFcvplnisdwmjo5CBlucuuvgZYmQUSvF/9KC4BcuVllZRTCBDHQ=="
},
"Speckle.Revit.API": {
"type": "Direct",
"requested": "[2023.0.0, )",
"resolved": "2023.0.0",
"contentHash": "tq40eD7psgTbV+epNouYyqfo6+hEi7FmXZqcxEOsAV7zfYyWhL6Rt3vmojkWGNuerGbH6oRI6KIIxrnlCNb8Hw=="
},
"Mapster.Core": {
"type": "Transitive",
"resolved": "1.2.0",
"contentHash": "TNdqZk2zAuBYfJF88D/3clQTOyOdqr1crU81yZQtlGa+e7FYWhJdK/buBWT+TpM3qQko9UzmzfOT4iq3JCs/ZA=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "bZKfSIKJRXLTuSzLudMFte/8CempWjVamNUR5eHJizsy+iuOuO/k2gnh7W0dHJmYY0tBf+gUErfluCv5mySAOQ=="
},
"Microsoft.CSharp": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "P+MBhIM0YX+JqROuf7i306ZLJEjQYA9uUyRDE+OqwUI5sh41e2ZbPQV3LfAPh+29cmceE1pUffXsGfR4eMY3KA=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
},
"System.Reflection.Emit": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg=="
},
"speckle.revit2023.interfaces": {
"type": "Project"
}
}
}
}
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="..\..\Speckle.Revit.Interfaces\Speckle.Revit.Interfaces.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="MinVer" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
</Project>
@@ -1,7 +1,7 @@
{
"version": 2,
"dependencies": {
".NETFramework,Version=v4.8": {
".NETStandard,Version=v2.0": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[8.0.0, )",
@@ -18,29 +18,30 @@
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"NETStandard.Library": {
"type": "Direct",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
"Speckle.Revit.API": {
"type": "Direct",
"requested": "[2024.0.0, )",
"resolved": "2024.0.0",
"contentHash": "a4dsvZ00ocvzTgCD6dUdydf0jIZDVcDhs6dUX9cv+y3aTDbU8rmzhYXWt8sThedIG+IPSVa0vHmAH9pKiJL3SQ=="
"requested": "[2.0.3, )",
"resolved": "2.0.3",
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "bZKfSIKJRXLTuSzLudMFte/8CempWjVamNUR5eHJizsy+iuOuO/k2gnh7W0dHJmYY0tBf+gUErfluCv5mySAOQ=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "1.1.0",
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
".NETFramework,Version=v4.8/win7-x64": {}
}
}
}
+6
View File
@@ -0,0 +1,6 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Packages.props, $(MSBuildThisFileDirectory)..))" />
<ItemGroup>
<PackageVersion Include="Speckle.Revit.API" Version="2024.0.0" />
</ItemGroup>
</Project>
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<Import Project="..\..\Speckle.Revit.Api\Speckle.Revit.Api.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="Speckle.Revit.API" />
<PackageReference Include="Mapster" />
<PackageReference Include="Speckle.ProxyGenerator" PrivateAssets="All"/>
<PackageReference Include="MinVer" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Speckle.Revit2024.Interfaces\Speckle.Revit2024.Interfaces.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,74 @@
{
"version": 2,
"dependencies": {
".NETFramework,Version=v4.8": {
"Mapster": {
"type": "Direct",
"requested": "[7.3.0, )",
"resolved": "7.3.0",
"contentHash": "NrCUX/rJa5PTyo6iW4AL5dZLU9PDNlYnrJOVjgdpo5OQM9EtWH2CMHnC5sSuJWC0d0b0SnmeRrIviEem6WxtuQ==",
"dependencies": {
"Mapster.Core": "1.2.0",
"Microsoft.CSharp": "4.3.0",
"System.Reflection.Emit": "4.3.0"
}
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "G5q7OqtwIyGTkeIOAc3u2ZuV/kicQaec5EaRnc0pIeSnh9LUjj+PYQrJYBURvDt7twGl2PKA7nSN0kz1Zw5bnQ==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "8.0.0",
"Microsoft.SourceLink.Common": "8.0.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"Speckle.ProxyGenerator": {
"type": "Direct",
"requested": "[0.1.6, )",
"resolved": "0.1.6",
"contentHash": "SO9Udllol9Krpq+UFBr54Es79kmiIQmtSRXKFcvplnisdwmjo5CBlucuuvgZYmQUSvF/9KC4BcuVllZRTCBDHQ=="
},
"Speckle.Revit.API": {
"type": "Direct",
"requested": "[2024.0.0, )",
"resolved": "2024.0.0",
"contentHash": "a4dsvZ00ocvzTgCD6dUdydf0jIZDVcDhs6dUX9cv+y3aTDbU8rmzhYXWt8sThedIG+IPSVa0vHmAH9pKiJL3SQ=="
},
"Mapster.Core": {
"type": "Transitive",
"resolved": "1.2.0",
"contentHash": "TNdqZk2zAuBYfJF88D/3clQTOyOdqr1crU81yZQtlGa+e7FYWhJdK/buBWT+TpM3qQko9UzmzfOT4iq3JCs/ZA=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "bZKfSIKJRXLTuSzLudMFte/8CempWjVamNUR5eHJizsy+iuOuO/k2gnh7W0dHJmYY0tBf+gUErfluCv5mySAOQ=="
},
"Microsoft.CSharp": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "P+MBhIM0YX+JqROuf7i306ZLJEjQYA9uUyRDE+OqwUI5sh41e2ZbPQV3LfAPh+29cmceE1pUffXsGfR4eMY3KA=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
},
"System.Reflection.Emit": {
"type": "Transitive",
"resolved": "4.3.0",
"contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg=="
},
"speckle.revit2024.interfaces": {
"type": "Project"
}
}
}
}
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<Import Project="..\..\Speckle.Revit.Interfaces\Speckle.Revit.Interfaces.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="MinVer" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
</Project>
@@ -1,7 +1,7 @@
{
"version": 2,
"dependencies": {
".NETFramework,Version=v4.8": {
".NETStandard,Version=v2.0": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[8.0.0, )",
@@ -18,29 +18,30 @@
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"NETStandard.Library": {
"type": "Direct",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
"Speckle.Revit.API": {
"type": "Direct",
"requested": "[2023.0.0, )",
"resolved": "2023.0.0",
"contentHash": "tq40eD7psgTbV+epNouYyqfo6+hEi7FmXZqcxEOsAV7zfYyWhL6Rt3vmojkWGNuerGbH6oRI6KIIxrnlCNb8Hw=="
"requested": "[2.0.3, )",
"resolved": "2.0.3",
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "bZKfSIKJRXLTuSzLudMFte/8CempWjVamNUR5eHJizsy+iuOuO/k2gnh7W0dHJmYY0tBf+gUErfluCv5mySAOQ=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "1.1.0",
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "dk9JPxTCIevS75HyEQ0E4OVAFhB2N+V9ShCXf8Q6FkUQZDkgLI12y679Nym1YqsiSysuQskT7Z+6nUf3yab6Vw=="
}
},
".NETFramework,Version=v4.8/win7-x86": {}
}
}
}
@@ -0,0 +1,218 @@
using System.Diagnostics.CodeAnalysis;
using Autodesk.Revit.DB;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
#pragma warning disable CA1010
#pragma warning disable CA1710
namespace Speckle.Revit.Api;
[Proxy(
typeof(Document),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "PlanTopology", "PlanTopologies", "TypeOfStorage", "Equals" }
)]
[SuppressMessage("Maintainability", "CA1506:Avoid excessive class coupling")]
public partial interface IRevitDocumentProxy : IRevitDocument;
[Proxy(
typeof(ForgeTypeId),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Equals" }
)]
public partial interface IRevitForgeTypeIdProxy : IRevitForgeTypeId;
[Proxy(
typeof(Element),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Parameter", "BoundingBox", "Geometry", "Location" }
)]
public partial interface IRevitElementProxy : IRevitElement;
public partial class ElementProxy
{
public IRevitParameter GetParameter(RevitBuiltInParameter builtInParameter) =>
new ParameterProxy(
_Instance.get_Parameter(EnumUtility<RevitBuiltInParameter, BuiltInParameter>.Convert(builtInParameter))
);
public IRevitBoundingBoxXYZ GetBoundingBox() => new BoundingBoxXYZProxy(_Instance.get_BoundingBox(null));
public IRevitGeometryElement GetGeometry(IRevitOptions options) =>
new GeometryElementProxy(_Instance.get_Geometry(((OptionsProxy)options)._Instance));
public IRevitFamilySymbol? ToFamilySymbol()
{
if (_Instance is FamilySymbol s)
{
return new FamilySymbolProxy(s);
}
return null;
}
public IRevitMaterial? ToMaterial()
{
if (_Instance is Material m)
{
return new MaterialProxy(m);
}
return null;
}
public IRevitHostObject? ToHostObject()
{
if (_Instance is HostObject m)
{
return new HostObjectProxy(m);
}
return null;
}
public IRevitGroup? ToGroup()
{
if (_Instance is Group m)
{
return new GroupProxy(m);
}
return null;
}
public IRevitGraphicsStyle? ToGraphicsStyle()
{
if (_Instance is GraphicsStyle m)
{
return new GraphicsStyleProxy(m);
}
return null;
}
public IRevitElementType? ToType()
{
if (_Instance is ElementType m)
{
return new ElementTypeProxy(m);
}
return null;
}
public IRevitSketch? ToSketch()
{
if (_Instance is Sketch m)
{
return new SketchProxy(m);
}
return null;
}
public IRevitFloor? ToFloor()
{
if (_Instance is Floor m)
{
return new FloorProxy(m);
}
return null;
}
public IRevitModelLine? ToModelLine()
{
if (_Instance is ModelLine m)
{
return new ModelLineProxy(m);
}
return null;
}
public IRevitLevel? ToLevel()
{
if (_Instance is Level m)
{
return new LevelProxy(m);
}
return null;
}
public IRevitLocationPoint? GetLocationAsLocationPoint()
{
if (_Instance.Location is LocationPoint l)
{
return new LocationPointProxy(l);
}
return null;
}
public IRevitLocationCurve? GetLocationAsLocationCurve()
{
if (_Instance.Location is LocationCurve l)
{
return new LocationCurveProxy(l);
}
return null;
}
//location can be 3 types and need to handle it?
public IRevitLocation Location
{
get
{
IRevitLocation? location = GetLocationAsLocationPoint();
if (location is not null)
{
return location;
}
location = GetLocationAsLocationCurve();
if (location is not null)
{
return location;
}
return new LocationProxy(_Instance.Location);
}
}
}
[Proxy(typeof(FamilySymbol), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitFamilySymbolProxy : IRevitFamilySymbol;
[Proxy(typeof(ElementType), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitElementTypeProxy : IRevitElementType;
[Proxy(
typeof(Category),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "AllowsVisibilityControl", "Visible" }
)]
public partial interface IRevitCategoryProxy : IRevitCategory;
[Proxy(
typeof(ElementId),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Equals" }
)]
public partial interface IRevitElementIdProxy : IRevitElementId;
[Proxy(typeof(CurtainGrid), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitCurtainGridProxy : IRevitCurtainGrid;
[Proxy(typeof(Wall), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitWallProxy : IRevitWall;
[Proxy(typeof(WallType), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitWallTypeProxy : IRevitWallType;
[Proxy(typeof(HostObject), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitHostObjectProxy : IRevitHostObject;
[Proxy(typeof(Ellipse), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitEllipseProxy : IRevitEllipse;
@@ -0,0 +1,97 @@
using System.Collections;
using Autodesk.Revit.DB;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
[Proxy(
typeof(ModelCurveArrArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitModelCurveArrArrayProxy : IRevitModelCurveArrArray;
public partial class ModelCurveArrArrayProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public int Count => Size;
public IEnumerator<IRevitModelCurveArray> GetEnumerator() =>
new RevitModelCurveArrayIterator(_Instance.ForwardIterator());
private readonly struct RevitModelCurveArrayIterator : IEnumerator<IRevitModelCurveArray>
{
private readonly ModelCurveArrArrayIterator _curveArrayIterator;
public RevitModelCurveArrayIterator(ModelCurveArrArrayIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitModelCurveArray Current => new ModelCurveArrayProxy((ModelCurveArray)_curveArrayIterator.Current);
}
public IRevitModelCurveArray this[int index]
{
get
{
var obj = _Instance.get_Item(index);
return Mapster.TypeAdapter.Adapt<IRevitModelCurveArray>(obj);
}
}
}
[Proxy(
typeof(CurveArrArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitCurveArrArrayProxy : IRevitCurveArrArray;
public partial class CurveArrArrayProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public int Count => Size;
public IEnumerator<IRevitCurveArray> GetEnumerator() => new RevitCurveArrayIterator(_Instance.ForwardIterator());
private readonly struct RevitCurveArrayIterator : IEnumerator<IRevitCurveArray>
{
private readonly CurveArrArrayIterator _curveArrayIterator;
public RevitCurveArrayIterator(CurveArrArrayIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitCurveArray Current => new CurveArrayProxy((CurveArray)_curveArrayIterator.Current);
}
public IRevitCurveArray this[int index]
{
get
{
var obj = _Instance.get_Item(index);
return Mapster.TypeAdapter.Adapt<IRevitCurveArray>(obj);
}
}
}
@@ -0,0 +1,201 @@
using System.Collections;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.PointClouds;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
[Proxy(
typeof(ModelCurveArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitModelCurveArrayProxy : IRevitModelCurveArray;
public partial class ModelCurveArrayProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public int Count => Size;
public IEnumerator<IRevitModelCurve> GetEnumerator() =>
new RevitModelCurveCollectionIterator(_Instance.ForwardIterator());
private readonly struct RevitModelCurveCollectionIterator : IEnumerator<IRevitModelCurve>
{
private readonly ModelCurveArrayIterator _curveArrayIterator;
public RevitModelCurveCollectionIterator(ModelCurveArrayIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitModelCurve Current => new ModelCurveProxy((ModelCurve)_curveArrayIterator.Current);
}
public IRevitModelCurve this[int index]
{
get
{
var obj = _Instance.get_Item(index);
return Mapster.TypeAdapter.Adapt<IRevitModelCurve>(obj);
}
}
}
[Proxy(
typeof(CurveArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitCurveArrayProxy : IRevitCurveArray;
public partial class CurveArrayProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public int Count => Size;
public IEnumerator<IRevitCurve> GetEnumerator() => new RevitCurveCollectionIterator(_Instance.ForwardIterator());
private readonly struct RevitCurveCollectionIterator : IEnumerator<IRevitCurve>
{
private readonly CurveArrayIterator _curveArrayIterator;
public RevitCurveCollectionIterator(CurveArrayIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitCurve Current => new CurveProxy((Curve)_curveArrayIterator.Current);
}
public IRevitCurve this[int index]
{
get
{
var obj = _Instance.get_Item(index);
return Mapster.TypeAdapter.Adapt<IRevitCurve>(obj);
}
}
}
[Proxy(
typeof(DoubleArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitDoubleArrayProxy : IRevitDoubleArray;
public partial class DoubleArrayProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public int Count => Size;
public IEnumerator<double> GetEnumerator() => new DoubleArrayProxyIterator(_Instance.ForwardIterator());
private readonly struct DoubleArrayProxyIterator : IEnumerator<double>
{
private readonly DoubleArrayIterator _curveArrayIterator;
public DoubleArrayProxyIterator(DoubleArrayIterator doubleArrayIterator)
{
_curveArrayIterator = doubleArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public double Current => (double)_curveArrayIterator.Current;
}
public double this[int index] => _Instance.get_Item(index);
}
public struct RevitCloudPoint : IRevitCloudPoint
{
public float X { get; }
public float Y { get; }
public float Z { get; }
public int Color { get; }
public RevitCloudPoint(float x, float y, float z, int color)
{
X = x;
Y = y;
Z = z;
Color = color;
}
public IRevitXYZ ToXYZ() => new XYZProxy(new XYZ(X, Y, Z));
}
[Proxy(
typeof(RevitCloudPoint),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitCloudPointProxy : IRevitCloudPointList;
[Proxy(
typeof(PointCollection),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator", "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitCloudPointListProxy : IRevitCloudPointList;
public partial class PointCollectionProxy
{
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
public IEnumerator<IRevitCloudPoint> GetEnumerator() => new RevitCloudPointListIterator(_Instance.GetPointIterator());
private readonly struct RevitCloudPointListIterator : IEnumerator<IRevitCloudPoint>
{
private readonly PointIterator _curveArrayIterator;
public RevitCloudPointListIterator(PointIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitCloudPoint Current
{
get
{
var current = _curveArrayIterator.Current;
return new RevitCloudPoint(current.X, current.Y, current.Z, current.Color);
}
}
}
}
@@ -0,0 +1,81 @@
using Autodesk.Revit.DB;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
[Proxy(typeof(ModelCurve), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitModelCurveProxy : IRevitModelCurve;
[Proxy(typeof(CurveElement), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitCurveElementProxy : IRevitCurveElement;
[Proxy(typeof(Curve), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitCurveProxy : IRevitCurve;
public partial class CurveProxy
{
public IRevitLine? ToLine()
{
if (_Instance is Line m)
{
return new LineProxy(m);
}
return null;
}
public IRevitArc? ToArc()
{
if (_Instance is Arc m)
{
return new ArcProxy(m);
}
return null;
}
public IRevitEllipse? ToEllipse()
{
if (_Instance is Ellipse m)
{
return new EllipseProxy(m);
}
return null;
}
public IRevitNurbSpline? ToNurbSpline()
{
if (_Instance is NurbSpline m)
{
return new NurbSplineProxy(m);
}
return null;
}
public IRevitHermiteSpline? ToHermiteSpline()
{
if (_Instance is HermiteSpline m)
{
return new HermiteSplineProxy(m);
}
return null;
}
}
[Proxy(typeof(XYZ), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitXYZProxy : IRevitXYZ;
[Proxy(
typeof(LocationCurve),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "JoinType", "ElementsAtJoin" }
)]
public partial interface IRevitLocationCurveProxy : IRevitLocationCurve;
[Proxy(typeof(Location), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitLocationProxy : IRevitLocation;
[Proxy(
typeof(LocationPoint),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitLocationPointProxy : IRevitLocationPoint;
+412
View File
@@ -0,0 +1,412 @@
using System.Collections;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Architecture;
using Mapster.Utils;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
[Proxy(typeof(Units), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitUnitsProxy : IRevitUnits;
[Proxy(
typeof(FormatOptions),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitFormatOptionsProxy : IRevitFormatOptions;
[Proxy(
typeof(Transform),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Basis" }
)]
public partial interface IRevitTransformProxy : IRevitTransform;
public partial class TransformProxy
{
public void Dispose() => _Instance.Dispose();
}
[Proxy(typeof(BasePoint), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitBasePointProxy : IRevitBasePoint;
[Proxy(typeof(ParameterSet), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitParameterSetProxy : IRevitParameterSet;
public partial class ParameterSetProxy
{
public void Dispose() => _Instance.Dispose();
IEnumerator<IRevitParameter> IEnumerable<IRevitParameter>.GetEnumerator() =>
new ParameterSetProxyIterator(_Instance.ForwardIterator());
private readonly struct ParameterSetProxyIterator : IEnumerator<IRevitParameter>
{
private readonly ParameterSetIterator _curveArrayIterator;
public ParameterSetProxyIterator(ParameterSetIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitParameter Current => new ParameterProxy((Parameter)_curveArrayIterator.Current);
}
}
[Proxy(
typeof(Parameter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "IsReadOnly", "StorageType" }
)]
public partial interface IRevitParameterProxy : IRevitParameter;
public partial class ParameterProxy
{
public bool IsReadOnly => _Instance.IsReadOnly;
public IRevitStorageType StorageType => EnumUtility<StorageType, IRevitStorageType>.Convert(_Instance.StorageType);
}
[Proxy(typeof(Definition), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitDefinitionProxy : IRevitDefinition;
public partial class DefinitionProxy
{
public IRevitInternalDefinition? ToInternal()
{
var id = _Instance as InternalDefinition;
if (id is null)
{
return null;
}
return new InternalDefinitionProxy(id);
}
}
[Proxy(
typeof(InternalDefinition),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "ParameterGroup", "Name", "GetGroupTypeId", "BuiltInParameter", "get_ParameterGroup", "set_ParameterGroup" }
)]
public partial interface IRevitInternalDefinitionProxy : IRevitInternalDefinition;
public partial class InternalDefinitionProxy
{
public RevitBuiltInParameter BuiltInParameter =>
EnumUtility<BuiltInParameter, RevitBuiltInParameter>.Convert(_Instance.BuiltInParameter);
}
[Proxy(typeof(PolyLine), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitPolyLineProxy : IRevitPolyLine;
[Proxy(typeof(Point), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitPointProxy : IRevitPoint;
[Proxy(typeof(Plane), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitPlaneProxy : IRevitPlane;
public partial class PlaneProxy
{
public void Dispose() => _Instance.Dispose();
}
[Proxy(typeof(Arc), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitArcProxy : IRevitArc;
[Proxy(
typeof(BoundingBoxXYZ),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "BoundEnabled", "MaxEnabled", "MinEnabled", "Bounds" }
)]
public partial interface IRevitBoundingBoxXYZProxy : IRevitBoundingBoxXYZ;
[Proxy(typeof(Line), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitLineProxy : IRevitLine;
[Proxy(
typeof(Mesh),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Transformed", "Triangle" }
)]
public partial interface IRevitMeshProxy : IRevitMesh;
public partial class MeshProxy
{
public IRevitMeshTriangle GetTriangle(int index) => new MeshTriangleProxy(_Instance.get_Triangle(index));
public IRevitMesh GetTransformed(IRevitTransform inverseTransform) =>
new MeshProxy(_Instance.get_Transformed(((TransformProxy)inverseTransform)._Instance));
}
[Proxy(typeof(Material), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitMaterialProxy : IRevitMaterial;
[Proxy(
typeof(MeshTriangle),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Vertex", "Index" }
)]
public partial interface IRevitMeshTriangleProxy : IRevitMeshTriangle;
public partial class MeshTriangleProxy
{
public uint GetIndex(int index) => _Instance.get_Index(index);
}
[Proxy(typeof(NurbSpline), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitNurbSplineProxy : IRevitNurbSpline;
public partial class NurbSplineProxy
{
public bool IsRational => _Instance.isRational;
}
[Proxy(
typeof(HermiteSpline),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitHermiteSplineProxy : IRevitHermiteSpline;
[Proxy(
typeof(PointCloudInstance),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitPointCloudInstanceProxy : IRevitPointCloudInstance;
[Proxy(typeof(Instance), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitInstanceProxy : IRevitInstance;
[Proxy(typeof(Level), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitLevelProxy : IRevitLevel;
[Proxy(
typeof(FamilyInstance),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "ToRoom", "FromRoom", "Space", "Room", "StructuralType", "Location" }
)]
public partial interface IRevitFamilyInstanceProxy : IRevitFamilyInstance;
public partial class FamilyInstanceProxy
{
public RevitStructuralType StructuralType =>
EnumUtility<Autodesk.Revit.DB.Structure.StructuralType, RevitStructuralType>.Convert(_Instance.StructuralType);
}
[Proxy(typeof(Solid), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitSolidProxy : IRevitSolid;
[Proxy(
typeof(Group),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Location" }
)]
public partial interface IRevitGroupProxy : IRevitGroup;
[Proxy(
typeof(GeometryObject),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Equals" }
)]
public partial interface IRevitGeometryObjectProxy : IRevitGeometryObject;
[Proxy(
typeof(Options),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "DetailLevel" }
)]
public partial interface IRevitOptionsProxy : IRevitOptions;
public partial class OptionsProxy
{
public RevitViewDetailLevel DetailLevel =>
EnumUtility<ViewDetailLevel, RevitViewDetailLevel>.Convert(_Instance.DetailLevel);
}
[Proxy(
typeof(Face),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Period", "IsCyclic" }
)]
public partial interface IRevitFaceProxy : IRevitFace;
[Proxy(
typeof(FaceArray),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Item", "get_Item", "set_Item" }
)]
public partial interface IRevitFaceArrayProxy : IRevitFaceArray;
public partial class FaceArrayProxy
{
public int Count => _Instance.Size;
public IRevitFace this[int index] => new FaceProxy(_Instance.get_Item(index));
IEnumerator<IRevitFace> IEnumerable<IRevitFace>.GetEnumerator() =>
new ParameterSetProxyIterator(_Instance.ForwardIterator());
private readonly struct ParameterSetProxyIterator : IEnumerator<IRevitFace>
{
private readonly FaceArrayIterator _curveArrayIterator;
public ParameterSetProxyIterator(FaceArrayIterator curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitFace Current => new FaceProxy((Face)_curveArrayIterator.Current);
}
}
[Proxy(
typeof(GeometryElement),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetEnumerator" }
)]
public partial interface IRevitGeometryElementProxy : IRevitGeometryElement;
public partial class GeometryElementProxy
{
IEnumerator IEnumerable.GetEnumerator() => new GeometryElementProxyIterator(_Instance.GetEnumerator());
IEnumerator<IRevitGeometryObject> IEnumerable<IRevitGeometryObject>.GetEnumerator() =>
new GeometryElementProxyIterator(_Instance.GetEnumerator());
private readonly struct GeometryElementProxyIterator : IEnumerator<IRevitGeometryObject>
{
private readonly IEnumerator<GeometryObject> _curveArrayIterator;
public GeometryElementProxyIterator(IEnumerator<GeometryObject> curveArrayIterator)
{
_curveArrayIterator = curveArrayIterator;
}
public void Dispose() => _curveArrayIterator.Dispose();
public bool MoveNext() => _curveArrayIterator.MoveNext();
public void Reset() => _curveArrayIterator.Reset();
object IEnumerator.Current => Current;
public IRevitGeometryObject Current => new GeometryObjectProxy((GeometryObject)_curveArrayIterator.Current);
}
}
[Proxy(
typeof(GeometryInstance),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitGeometryInstanceProxy : IRevitGeometryInstance;
[Proxy(
typeof(GraphicsStyle),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitGraphicsStyleProxy : IRevitGraphicsStyle;
[Proxy(
typeof(BoundarySegment),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitBoundarySegmentProxy : IRevitBoundarySegment;
[Proxy(typeof(Color), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitColorProxy : IRevitColor;
[Proxy(typeof(Ceiling), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitCeilingProxy : IRevitCeiling;
[Proxy(
typeof(CeilingAndFloor),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitCeilingAndFloorProxy : IRevitCeilingAndFloor;
[Proxy(typeof(Sketch), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitSketchProxy : IRevitSketch;
[Proxy(typeof(SketchBase), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitSketchBaseProxy : IRevitSketchBase;
[Proxy(typeof(DirectShape), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitDirectShapeProxy : IRevitDirectShape;
[Proxy(
typeof(ExtrusionRoof),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitExtrusionRoofProxy : IRevitExtrusionRoof;
[Proxy(typeof(RoofBase), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitRoofBaseProxy : IRevitRoofBase;
[Proxy(typeof(SketchPlane), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitSketchPlaneProxy : IRevitSketchPlane;
[Proxy(typeof(Floor), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitFloorProxy : IRevitFloor;
[Proxy(typeof(ModelLine), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitModelLineProxy : IRevitModelLine;
[Proxy(
typeof(FootPrintRoof),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "Overhang", "ExtendIntoWall", "Offset", "SlopeAngle", "DefinesSlope" }
)]
public partial interface IRevitFootPrintRoofProxy : IRevitFootPrintRoof;
[Proxy(typeof(Room), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRevitRoomProxy : IRevitRoom;
[Proxy(
typeof(TopographySurface),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitTopographySurfaceProxy : IRevitTopographySurface;
[Proxy(
typeof(SpatialElement),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetBoundarySegments", "Location" }
)]
public partial interface IRevitSpatialElementProxy : IRevitSpatialElement;
public partial class SpatialElementProxy
{
public IEnumerable<IEnumerable<IRevitBoundarySegment>> GetBoundarySegments()
{
var segments = _Instance.GetBoundarySegments(new SpatialElementBoundaryOptions());
foreach (var seg in segments)
{
yield return GetSegments(seg);
}
}
private static IEnumerable<IRevitBoundarySegment> GetSegments(IList<BoundarySegment> segments) =>
segments.Select(seg => new BoundarySegmentProxy(seg));
}
[Proxy(
typeof(Panel),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface,
new[] { "GetRefGridLines" }
)]
public partial interface IRevitPanelProxy : IRevitPanel;
@@ -0,0 +1,109 @@
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.PointClouds;
using Speckle.ProxyGenerator;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
public class RevitFilterFactory : IRevitFilterFactory
{
public IRevitElementIsElementTypeFilter CreateElementIsElementTypeFilter(bool inverted) =>
new ElementIsElementTypeFilterProxy(new ElementIsElementTypeFilter());
public IRevitLogicalAndFilterFilter CreateLogicalAndFilter(params IRevitElementFilter[] filters) =>
new LogicalAndFilterProxy(
new LogicalAndFilter(filters.Cast<ElementFilterProxy>().Select(x => x._Instance).ToList())
);
public IRevitElementMulticategoryFilter CreateElementMulticategoryFilter(
ICollection<RevitBuiltInCategory> categories,
bool inverted
) =>
new ElementMulticategoryFilterProxy(
instance: new ElementMulticategoryFilter(
categories.Select(EnumUtility<RevitBuiltInCategory, BuiltInCategory>.Convert).ToArray(),
inverted
)
);
public IRevitFilteredElementCollector CreateFilteredElementCollector(
IRevitDocument document,
params IRevitElementId[] elementIds
)
{
if (elementIds.Any())
{
return new FilteredElementCollectorProxy(
new FilteredElementCollector(
((DocumentProxy)document)._Instance,
elementIds.Cast<ElementIdProxy>().Select(x => x._Instance).ToList()
)
);
}
return new FilteredElementCollectorProxy(new FilteredElementCollector(((DocumentProxy)document)._Instance));
}
public IRevitPointCloudFilter CreateMultiPlaneFilter(params IRevitPlane[] planes) =>
new PointCloudFilterProxy(
PointCloudFilterFactory.CreateMultiPlaneFilter(planes.Cast<PlaneProxy>().Select(x => x._Instance).ToList())
);
public IRevitElementCategoryFilter CreateElementCategoryFilter(RevitBuiltInCategory category) =>
new ElementCategoryFilterProxy(
new ElementCategoryFilter(EnumUtility<RevitBuiltInCategory, BuiltInCategory>.Convert(category))
);
}
[Proxy(
typeof(PointCloudFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitPointCloudFilterProxy : IRevitPointCloudFilter;
[Proxy(
typeof(ElementFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitElementFilterProxy : IRevitElementFilter;
[Proxy(
typeof(ElementCategoryFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitElementCategoryFilterProxy : IRevitElementCategoryFilter;
[Proxy(
typeof(ElementIsElementTypeFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitElementIsElementTypeFilterProxy : IRevitElementIsElementTypeFilter;
[Proxy(
typeof(ElementMulticategoryFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitElementMulticategoryFilterProxy : IRevitElementMulticategoryFilter;
[Proxy(
typeof(LogicalAndFilter),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitLogicalAndFilterProxy : IRevitLogicalAndFilterFilter;
[Proxy(
typeof(FilteredElementCollector),
ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface
)]
public partial interface IRevitFilteredElementCollectorProxy : IRevitFilteredElementCollector;
public partial class FilteredElementCollectorProxy
{
public IEnumerable<T> OfClass<T>(IProxyMap proxyMap) =>
_Instance
.OfClass(
proxyMap.UnmapType(typeof(T))
?? throw new InvalidOperationException($"Could not unmap type: {typeof(T).FullName}")
)
.Select(x => proxyMap.CreateProxy(typeof(T), x))
.Cast<T>();
}
+97
View File
@@ -0,0 +1,97 @@
using Autodesk.Revit.DB;
using Mapster.Utils;
using Speckle.Revit.Interfaces;
namespace Speckle.Revit.Api;
public class RevitUnitUtils : IRevitUnitUtils
{
public double ConvertFromInternalUnits(double value, IRevitForgeTypeId forgeTypeId) =>
UnitUtils.ConvertFromInternalUnits(value, ((ForgeTypeIdProxy)forgeTypeId)._Instance);
public IRevitForgeTypeId Length => new ForgeTypeIdProxy(SpecTypeId.Length);
public IRevitForgeTypeId Millimeters => new ForgeTypeIdProxy(UnitTypeId.Millimeters);
public IRevitForgeTypeId Centimeters => new ForgeTypeIdProxy(UnitTypeId.Centimeters);
public IRevitForgeTypeId Meters => new ForgeTypeIdProxy(UnitTypeId.Meters);
public IRevitForgeTypeId MetersCentimeters => new ForgeTypeIdProxy(UnitTypeId.MetersCentimeters);
public IRevitForgeTypeId Inches => new ForgeTypeIdProxy(UnitTypeId.Inches);
public IRevitForgeTypeId FractionalInches => new ForgeTypeIdProxy(UnitTypeId.FractionalInches);
public IRevitForgeTypeId Feet => new ForgeTypeIdProxy(UnitTypeId.Feet);
public IRevitForgeTypeId FeetFractionalInches => new ForgeTypeIdProxy(UnitTypeId.FeetFractionalInches);
}
public class RevitTransformUtils : IRevitTransformUtils
{
public IRevitTransform Identity => new TransformProxy(Transform.Identity);
public IRevitTransform CreateTranslation(IRevitXYZ vector) =>
new TransformProxy(Transform.CreateTranslation(((XYZProxy)vector)._Instance));
public IRevitTransform CreateRotation(IRevitXYZ axis, double angle) =>
new TransformProxy(Transform.CreateRotation(((XYZProxy)axis)._Instance, angle));
}
public class RevitXYZUtils : IRevitXYZUtils
{
public IRevitXYZ Zero => new XYZProxy(XYZ.Zero);
public IRevitXYZ BasisX => new XYZProxy(XYZ.BasisX);
public IRevitXYZ BasisY => new XYZProxy(XYZ.BasisY);
public IRevitXYZ BasisZ => new XYZProxy(XYZ.BasisZ);
}
public class RevitElementIdUtils : IRevitElementIdUtils
{
public IRevitElementId InvalidElementId => new ElementIdProxy(ElementId.InvalidElementId);
}
public class RevitPlaneUtils : IRevitPlaneUtils
{
public IRevitPlane CreateByOriginAndBasis(IRevitXYZ center, IRevitXYZ xDirection, IRevitXYZ yDirection) =>
new PlaneProxy(
Plane.CreateByOriginAndBasis(
((XYZProxy)center)._Instance,
((XYZProxy)xDirection)._Instance,
((XYZProxy)yDirection)._Instance
)
);
public IRevitPlane CreateByNormalAndOrigin(IRevitXYZ normal, IRevitXYZ center) =>
new PlaneProxy(Plane.CreateByNormalAndOrigin(((XYZProxy)normal)._Instance, ((XYZProxy)center)._Instance));
}
public class RevitNurbSplineUtils : IRevitNurbSplineUtils
{
public IRevitNurbSpline Create(IRevitHermiteSpline hermiteSpline) =>
new NurbSplineProxy(NurbSpline.Create(((HermiteSplineProxy)hermiteSpline)._Instance));
}
public class RevitFormatOptionsUtils : IRevitFormatOptionsUtils
{
public bool CanHaveSymbol(IRevitForgeTypeId forgeTypeId) =>
FormatOptions.CanHaveSymbol(((ForgeTypeIdProxy)forgeTypeId)._Instance);
public IList<IRevitForgeTypeId> GetValidSymbols(IRevitForgeTypeId forgeTypeId) =>
FormatOptions
.GetValidSymbols(((ForgeTypeIdProxy)forgeTypeId)._Instance)
.Select(x => new ForgeTypeIdProxy(x))
.ToList<IRevitForgeTypeId>();
public string GetLabelForSymbol(IRevitForgeTypeId symbolId) =>
LabelUtils.GetLabelForSymbol(((ForgeTypeIdProxy)symbolId)._Instance);
}
public class RevitSolidUtils : IRevitSolidUtils
{
public IRevitSolid CreateTransformed(IRevitSolid solid, IRevitTransform inverseTransform) =>
new SolidProxy(
SolidUtils.CreateTransformed(((SolidProxy)solid)._Instance, ((TransformProxy)inverseTransform)._Instance)
);
}
public class RevitOptionsFactory : IRevitOptionsFactory
{
public IRevitOptions Create(RevitViewDetailLevel viewDetailLevel) =>
new OptionsProxy(
new Options() { DetailLevel = EnumUtility<RevitViewDetailLevel, ViewDetailLevel>.Convert(viewDetailLevel) }
);
}
@@ -3,10 +3,10 @@
<PropertyGroup>
<MSBuildAllProjects Condition="'$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' &lt; '16.0'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>9655be78-8070-4b8f-b0dc-68bb6150b61e</SharedGUID>
<SharedGUID>9655be78-8070-4b9f-b0dc-68bb6150b52d</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>Speckle.Shared</Import_RootNamespace>
<Import_RootNamespace>Speckle.Revit.Api</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)**\*.cs" />
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6}</ProjectGuid>
<ProjectGuid>{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7}</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="Speckle.Shared.projitems" Label="Shared" />
<Import Project="Speckle.Revit.Api.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>
</Project>
@@ -0,0 +1,41 @@
using System.Collections.Concurrent;
namespace Speckle.Revit.Interfaces
{
public static class EnumUtility<TSource, TDestination>
where TSource : struct, Enum
where TDestination : struct, Enum
{
private static readonly ConcurrentDictionary<TSource, TDestination> _destinations = new();
static EnumUtility()
{
var sources = ((TSource[])Enum.GetValues(typeof(TSource))).Select(x => (x.ToString(), x));
var destinations = Enum.GetNames(typeof(TDestination))
.Select(x => (x, (TDestination)Enum.Parse(typeof(TDestination), x.ToString())))
.ToList();
foreach (var (name, val) in sources)
{
var d = destinations.Where(x => x.Item1 == name).ToList();
if (d.Any())
{
foreach (var v in d)
{
destinations.Remove(v);
}
_destinations.TryAdd(val, d.Single().Item2);
}
}
}
public static TDestination Convert(TSource source)
{
if (_destinations.TryGetValue(source, out var destination))
{
return destination;
}
throw new InvalidOperationException($"{source} does not exist in destination enum: {typeof(TDestination)}");
}
}
}
@@ -0,0 +1,7 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitCategory : IRevitObject
{
string Name { get; }
IRevitElementId Id { get; }
}
@@ -0,0 +1,9 @@
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitCurtainGrid : IRevitObject
{
ICollection<IRevitElementId> GetMullionIds();
ICollection<IRevitElementId> GetPanelIds();
}
@@ -0,0 +1,130 @@
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitCurve : IRevitGeometryObject
{
IRevitXYZ GetEndPoint(int index);
double Length { get; }
IRevitXYZ Evaluate(double parameter, bool normalized);
double GetEndParameter(int index);
bool IsBound { get; }
IList<IRevitXYZ> Tessellate();
IRevitLine? ToLine();
IRevitArc? ToArc();
IRevitEllipse? ToEllipse();
IRevitNurbSpline? ToNurbSpline();
IRevitHermiteSpline? ToHermiteSpline();
}
public interface IRevitCloudPoint
{
float X { get; }
float Y { get; }
float Z { get; }
int Color { get; }
IRevitXYZ ToXYZ();
}
public interface IRevitCloudPointList : IEnumerable<IRevitCloudPoint>;
public interface IRevitPointCloudInstance : IRevitInstance
{
IRevitCloudPointList GetPoints(IRevitPointCloudFilter filter, double averageDistance, int numPoints);
}
public interface IRevitInstance : IRevitElement
{
IRevitTransform GetTransform();
}
public interface IRevitCurveArray : IReadOnlyList<IRevitCurve>;
public interface IRevitCurveArrArray : IReadOnlyList<IRevitCurveArray>;
public interface IRevitEllipse : IRevitCurve
{
IRevitXYZ Center { get; }
IRevitXYZ XDirection { get; }
IRevitXYZ YDirection { get; }
double RadiusX { get; }
double RadiusY { get; }
}
public interface IRevitLevel : IRevitDatumPlane
{
double Elevation { get; }
}
public interface IRevitDatumPlane : IRevitElement;
public interface IRevitFamilyInstance : IRevitInstance
{
IRevitFamilySymbol Symbol { get; }
bool FacingFlipped { get; }
bool HandFlipped { get; }
bool IsSlantedColumn { get; }
RevitStructuralType StructuralType { get; }
}
public enum RevitStructuralType
{
NonStructural,
Beam,
Brace,
Column,
Footing,
UnknownFraming,
}
public interface IRevitOptionsFactory
{
IRevitOptions Create(RevitViewDetailLevel viewDetailLevel);
}
public enum RevitViewDetailLevel
{
Undefined,
Coarse,
Medium,
Fine,
}
public interface IRevitOptions
{
RevitViewDetailLevel DetailLevel { get; }
bool ComputeReferences { get; set; }
}
public interface IRevitGroup : IRevitElement
{
IList<IRevitElementId> GetMemberIds();
}
public interface IRevitSolid : IRevitGeometryObject
{
IRevitFaceArray Faces { get; }
double SurfaceArea { get; }
}
public interface IRevitFace
{
IRevitMesh Triangulate();
IRevitElementId MaterialElementId { get; }
}
public interface IRevitFaceArray : IReadOnlyList<IRevitFace>;
public interface IRevitGeometryElement : IRevitGeometryObject, IEnumerable<IRevitGeometryObject>;
public interface IRevitFloor : IRevitCeilingAndFloor
{
IRevitElementId SketchId { get; }
}
public interface IRevitModelLine : IRevitModelCurve;
public interface IRevitFootPrintRoof : IRevitRoofBase
{
IRevitModelCurveArrArray GetProfiles();
}
@@ -0,0 +1,7 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitCurveElement : IRevitElement
{
IRevitCurve GeometryCurve { get; }
IRevitSketchPlane SketchPlane { get; }
}
@@ -0,0 +1,12 @@
#pragma warning disable CA1040
namespace Speckle.Revit.Interfaces;
public interface IRevitDocument : IRevitObject
{
string PathName { get; }
bool IsFamilyDocument { get; }
IRevitUnits GetUnits();
IRevitElement GetElement(IRevitElementId elementId);
}
@@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitElement : IRevitObject
{
IList<IRevitElementId> GetDependentElements(IRevitElementFilter filter);
IRevitElementId Id { get; }
string UniqueId { get; }
IRevitElementId LevelId { get; }
IRevitCategory Category { get; }
IRevitDocument Document { get; }
IRevitElementId GetTypeId();
string Name { get; }
IRevitBoundingBoxXYZ GetBoundingBox();
IRevitFamilySymbol? ToFamilySymbol();
IRevitMaterial? ToMaterial();
IRevitHostObject? ToHostObject();
IRevitGroup? ToGroup();
IRevitGraphicsStyle? ToGraphicsStyle();
IRevitElementType? ToType();
IRevitSketch? ToSketch();
IRevitFloor? ToFloor();
IRevitModelLine? ToModelLine();
IRevitLevel? ToLevel();
IRevitLocation Location { get; }
IRevitLocationPoint? GetLocationAsLocationPoint();
IRevitLocationCurve? GetLocationAsLocationCurve();
IRevitParameterSet Parameters { get; }
IRevitParameter? GetParameter(RevitBuiltInParameter parameter);
IRevitGeometryElement GetGeometry(IRevitOptions options);
}
public interface IRevitParameterSet : IEnumerable<IRevitParameter>, IDisposable;
public interface IRevitElementType
{
string Name { get; }
string FamilyName { get; }
}
public interface IRevitFamilySymbol : IRevitElementType;
public interface IRevitBasePoint : IRevitElement
{
bool IsShared { get; }
IRevitXYZ Position { get; }
}
public interface IRevitParameter
{
bool IsReadOnly { get; }
bool HasValue { get; }
bool IsShared { get; }
Guid GUID { get; }
string? AsString();
int AsInteger();
double AsDouble();
IRevitElementId? AsElementId();
IRevitStorageType StorageType { get; }
IRevitForgeTypeId GetUnitTypeId();
IRevitDefinition Definition { get; }
}
public interface IRevitDefinition
{
IRevitInternalDefinition? ToInternal();
string Name { get; }
IRevitForgeTypeId GetGroupTypeId();
IRevitForgeTypeId GetDataType();
}
public interface IRevitInternalDefinition : IRevitDefinition
{
RevitBuiltInParameter BuiltInParameter { get; }
}
public enum IRevitStorageType
{
None,
Integer,
Double,
String,
ElementId,
}
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitElementFilter : IRevitObject;
@@ -0,0 +1,6 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitElementId : IRevitObject
{
int IntegerValue { get; }
}
@@ -0,0 +1,9 @@
using System;
namespace Speckle.Revit.Interfaces;
public interface IRevitElementIsElementTypeFilter : IRevitElementFilter;
public interface IRevitPointCloudFilter : IRevitElementFilter;
public interface IRevitElementCategoryFilter : IRevitElementFilter, IDisposable;
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitElementMulticategoryFilter : IRevitElementFilter;
@@ -0,0 +1,43 @@
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
#pragma warning disable CA1040
public interface IRevitFilterFactory
{
IRevitElementIsElementTypeFilter CreateElementIsElementTypeFilter(bool inverted);
IRevitElementMulticategoryFilter CreateElementMulticategoryFilter(
ICollection<RevitBuiltInCategory> categories,
bool inverted
);
IRevitLogicalAndFilterFilter CreateLogicalAndFilter(params IRevitElementFilter[] filters);
IRevitFilteredElementCollector CreateFilteredElementCollector(
IRevitDocument document,
params IRevitElementId[] elementIds
);
IRevitPointCloudFilter CreateMultiPlaneFilter(params IRevitPlane[] planes);
IRevitElementCategoryFilter CreateElementCategoryFilter(RevitBuiltInCategory category);
}
public interface IProxyMap
{
Type? GetMappedType(Type type);
Type? UnmapType(Type type);
object CreateProxy(Type type, object toWrap);
}
// ghetto default interface implementation :(
public static class ProxyMapExtensions
{
public static (Type, object)? WrapIfExists(this IProxyMap proxyMap, Type target, object toWrap)
{
var proxyType = proxyMap.GetMappedType(target);
if (proxyType is not null)
{
return (proxyType, proxyMap.CreateProxy(proxyType, toWrap));
}
return null;
}
}
@@ -0,0 +1,6 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitFilteredElementCollector : IRevitElementFilter
{
IEnumerable<T> OfClass<T>(IProxyMap proxyMap);
}
@@ -0,0 +1,7 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitForgeTypeId : IRevitObject
{
string TypeId { get; }
bool Empty();
}
@@ -0,0 +1,20 @@
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitFormatOptions : IRevitObject
{
IRevitForgeTypeId GetUnitTypeId();
}
public interface IRevitFormatOptionsUtils
{
bool CanHaveSymbol(IRevitForgeTypeId forgeTypeId);
IList<IRevitForgeTypeId> GetValidSymbols(IRevitForgeTypeId forgeTypeId);
string GetLabelForSymbol(IRevitForgeTypeId symbolId);
}
public interface IRevitSolidUtils
{
IRevitSolid CreateTransformed(IRevitSolid solid, IRevitTransform inverseTransform);
}
@@ -0,0 +1,11 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitHostObject : IRevitElement
{
IList<IRevitElementId> FindInserts(
bool addRectOpenings,
bool includeShadows,
bool includeEmbeddedWalls,
bool includeSharedEmbeddedInserts
);
}
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitLocation : IRevitObject;
@@ -0,0 +1,145 @@
using System;
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitLocationCurve : IRevitLocation
{
IRevitCurve Curve { get; }
}
public interface IRevitPolyLine : IRevitGeometryObject
{
IList<IRevitXYZ> GetCoordinates();
}
public interface IRevitGeometryObject : IRevitObject
{
IRevitElementId GraphicsStyleId { get; }
}
public interface IRevitPoint : IRevitObject
{
IRevitXYZ Coord { get; }
}
public interface IRevitPlane : IRevitSurface
{
IRevitXYZ Origin { get; }
IRevitXYZ Normal { get; }
IRevitXYZ XVec { get; }
IRevitXYZ YVec { get; }
}
public interface IRevitSurface : IRevitObject, IDisposable;
public interface IRevitLine : IRevitCurve;
public interface IRevitArc : IRevitCurve
{
IRevitXYZ Center { get; }
IRevitXYZ XDirection { get; }
IRevitXYZ YDirection { get; }
double Radius { get; }
IRevitXYZ Normal { get; }
bool IsClosed { get; }
}
public interface IRevitMesh : IRevitGeometryObject
{
IList<IRevitXYZ> Vertices { get; }
IRevitElementId MaterialElementId { get; }
int NumTriangles { get; }
IRevitMeshTriangle GetTriangle(int index);
IRevitMesh GetTransformed(IRevitTransform transform);
}
public interface IRevitMaterial : IRevitElement
{
int Transparency { get; }
IRevitColor Color { get; }
}
public interface IRevitColor
{
byte Red { get; }
byte Green { get; }
byte Blue { get; }
}
public interface IRevitMeshTriangle
{
uint GetIndex(int idx);
}
public interface IRevitHermiteSpline : IRevitCurve;
public interface IRevitNurbSpline : IRevitCurve
{
IList<IRevitXYZ> CtrlPoints { get; }
IRevitDoubleArray Weights { get; }
IRevitDoubleArray Knots { get; }
int Degree { get; }
bool IsRational { get; }
bool IsClosed { get; }
}
public interface IRevitDoubleArray : IReadOnlyList<double>;
public interface IRevitGeometryInstance : IRevitGeometryObject
{
IRevitGeometryElement GetSymbolGeometry();
IRevitGeometryElement GetInstanceGeometry();
}
public interface IRevitGraphicsStyle : IRevitElement
{
IRevitCategory GraphicsStyleCategory { get; }
}
public interface IRevitBoundarySegment : IRevitObject
{
IRevitCurve GetCurve();
}
public interface IRevitCeiling : IRevitCeilingAndFloor
{
IRevitElementId SketchId { get; }
}
public interface IRevitCeilingAndFloor : IRevitHostObject;
public interface IRevitSketch : IRevitSketchBase
{
IRevitCurveArrArray Profile { get; }
IList<IRevitElementId> GetAllElements();
}
public interface IRevitDirectShape : IRevitElement;
public interface IRevitExtrusionRoof : IRevitRoofBase
{
IRevitModelCurveArray GetProfile();
}
public interface IRevitSketchBase : IRevitElement;
public interface IRevitRoofBase : IRevitHostObject;
public interface IRevitSketchPlane : IRevitElement
{
IRevitPlane GetPlane();
}
public interface IRevitRoom : IRevitSpatialElement;
public interface IRevitSpatialElement : IRevitElement
{
IEnumerable<IEnumerable<IRevitBoundarySegment>> GetBoundarySegments();
string Number { get; }
IRevitLevel Level { get; }
}
public interface IRevitTopographySurface : IRevitElement;
@@ -0,0 +1,7 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitLocationPoint : IRevitLocation
{
IRevitXYZ Point { get; }
double Rotation { get; }
}
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitLogicalAndFilterFilter : IRevitElementFilter;
@@ -0,0 +1,7 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitModelCurve : IRevitCurveElement
{
IRevitGraphicsStyle Subcategory { get; }
IRevitElement LineStyle { get; }
}
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitModelCurveArrArray : IReadOnlyList<IRevitModelCurveArray>;
@@ -0,0 +1,3 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitModelCurveArray : IReadOnlyList<IRevitModelCurve>;
@@ -0,0 +1,6 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitNurbSplineUtils
{
IRevitNurbSpline Create(IRevitHermiteSpline hermiteSpline);
}
@@ -0,0 +1,5 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitObject;
public interface IRevitPanel : IRevitFamilyInstance;
@@ -0,0 +1,19 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitTransform : IRevitObject, IDisposable
{
IRevitXYZ OfPoint(IRevitXYZ inbound);
IRevitXYZ OfVector(IRevitXYZ inbound);
IRevitTransform Multiply(IRevitTransform right);
IRevitXYZ Origin { get; }
IRevitXYZ BasisX { get; }
IRevitXYZ BasisY { get; }
IRevitTransform Inverse { get; }
}
public interface IRevitTransformUtils
{
IRevitTransform Identity { get; }
IRevitTransform CreateTranslation(IRevitXYZ vector);
IRevitTransform CreateRotation(IRevitXYZ axis, double angle);
}
@@ -0,0 +1,21 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitUnitUtils
{
double ConvertFromInternalUnits(double value, IRevitForgeTypeId forgeTypeId);
IRevitForgeTypeId Length { get; }
IRevitForgeTypeId Millimeters { get; }
IRevitForgeTypeId Centimeters { get; }
IRevitForgeTypeId Meters { get; }
IRevitForgeTypeId MetersCentimeters { get; }
IRevitForgeTypeId Inches { get; }
IRevitForgeTypeId FractionalInches { get; }
IRevitForgeTypeId Feet { get; }
IRevitForgeTypeId FeetFractionalInches { get; }
}
public interface IRevitPlaneUtils
{
IRevitPlane CreateByOriginAndBasis(IRevitXYZ center, IRevitXYZ xDirection, IRevitXYZ yDirection);
IRevitPlane CreateByNormalAndOrigin(IRevitXYZ normal, IRevitXYZ center);
}
@@ -0,0 +1,6 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitUnits : IRevitObject
{
IRevitFormatOptions GetFormatOptions(IRevitForgeTypeId length);
}
@@ -0,0 +1,15 @@
using System.Collections.Generic;
namespace Speckle.Revit.Interfaces;
public interface IRevitWall : IRevitHostObject
{
IRevitCurtainGrid CurtainGrid { get; }
bool IsStackedWall { get; }
IList<IRevitElementId> GetStackedWallMemberIds();
IRevitWallType WallType { get; }
bool Flipped { get; }
IRevitElementId SketchId { get; }
}
public interface IRevitWallType : IRevitElementType;
@@ -0,0 +1,39 @@
namespace Speckle.Revit.Interfaces;
public interface IRevitXYZ : IRevitObject
{
double Z { get; }
double Y { get; }
double X { get; }
double DistanceTo(IRevitXYZ source);
IRevitXYZ Multiply(double value);
IRevitXYZ Divide(double value);
IRevitXYZ Add(IRevitXYZ source);
IRevitXYZ Subtract(IRevitXYZ source);
IRevitXYZ Normalize();
double AngleOnPlaneTo(IRevitXYZ right, IRevitXYZ normal);
IRevitXYZ Negate();
}
public interface IRevitBoundingBoxXYZ
{
IRevitXYZ Min { get; }
IRevitXYZ Max { get; }
IRevitTransform Transform { get; }
}
public interface IRevitXYZUtils
{
IRevitXYZ Zero { get; }
IRevitXYZ BasisX { get; }
IRevitXYZ BasisY { get; }
IRevitXYZ BasisZ { get; }
}
public interface IRevitElementIdUtils
{
IRevitElementId InvalidElementId { get; }
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects Condition="'$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' &lt; '16.0'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>9655be78-8070-4b9f-b0dc-68bb6150b52e</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>Speckle.Revit.Interfaces</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)**\*.cs" />
</ItemGroup>
</Project>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="Speckle.Revit.Interfaces.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>
+59 -50
View File
@@ -1,5 +1,10 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Revit", "Revit", "{8F540B7F-7548-46E9-BDEC-4DAB99367908}"
ProjectSection(SolutionItems) = preProject
Revit\Directory.Build.props = Revit\Directory.Build.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{7A91F6BF-EA8A-428E-BB97-B6C448C247EF}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
@@ -9,6 +14,28 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{7A91F6
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Api", "Revit\Revit2023\Speckle.Revit2023.Api\Speckle.Revit2023.Api.csproj", "{BE42055B-1D53-49AC-8B76-B55871E24E8B}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Interfaces", "Revit\Speckle.Revit.Interfaces\Speckle.Revit.Interfaces.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Revit.Api", "Revit\Speckle.Revit.Api\Speckle.Revit.Api.shproj", "{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Interfaces", "Revit\Revit2023\Speckle.Revit2023.Interfaces\Speckle.Revit2023.Interfaces.csproj", "{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2023", "2023", "{CB5177F3-6FA5-4351-8BF1-3F6F2758096D}"
ProjectSection(SolutionItems) = preProject
Revit\Revit2023\Directory.Packages.props = Revit\Revit2023\Directory.Packages.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2024", "2024", "{8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}"
ProjectSection(SolutionItems) = preProject
Revit\Revit2024\Directory.Packages.props = Revit\Revit2024\Directory.Packages.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2024.Interfaces", "Revit\Revit2024\Speckle.Revit2024.Interfaces\Speckle.Revit2024.Interfaces.csproj", "{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2024.Api", "Revit\Revit2024\Speckle.Revit2024.Api\Speckle.Revit2024.Api.csproj", "{917D7C89-FA2D-4A26-906B-E18317C49734}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build", "Build\Build.csproj", "{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{42C36267-88A8-4F94-9E62-5D43A02D033C}"
@@ -17,25 +44,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{42C36267
.github\workflows\main.yml = .github\workflows\main.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{3B0D8F6E-C701-446E-BAE3-B6FDF1812901}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Tests", "Speckle.Tests\Speckle.Tests.csproj", "{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Speckle.Shared", "Speckle.Shared\Speckle.Shared.shproj", "{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Fakes.Generator", "Speckle.Revit2023.Fakes.Generator\Speckle.Revit2023.Fakes.Generator.csproj", "{D25C688F-1673-4AEB-8186-6105C8CB679A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Revit", "Revit", "{BD68BFA8-3EC7-4689-987E-6422A37CF3B0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2023.Fakes", "Speckle.Revit2023.Fakes\Speckle.Revit2023.Fakes.csproj", "{4B16340A-C493-41AB-85E8-E32C92533118}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Rhino7.Fakes.Generator", "Speckle.Rhino7.Fakes.Generator\Speckle.Rhino7.Fakes.Generator.csproj", "{414C51A1-6237-43BB-A59A-E9879880EF73}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Rhino", "Rhino", "{F2F213A8-6D57-492F-BA11-C9F26057B1DA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Rhino7.Fakes", "Speckle.Rhino7.Fakes\Speckle.Rhino7.Fakes.csproj", "{1F2F89EE-2032-4350-BFC9-6B74D477DE95}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2024.Fakes", "Speckle.Revit2024.Fakes\Speckle.Revit2024.Fakes.csproj", "{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speckle.Revit2024.Fakes.Generator", "Speckle.Revit2024.Fakes.Generator\Speckle.Revit2024.Fakes.Generator.csproj", "{F97FB46C-223C-4818-8A5A-330E897F4FC0}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1A746BD2-E68A-4877-9922-3549F6C00EDF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -43,43 +54,41 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BE42055B-1D53-49AC-8B76-B55871E24E8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE42055B-1D53-49AC-8B76-B55871E24E8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE42055B-1D53-49AC-8B76-B55871E24E8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE42055B-1D53-49AC-8B76-B55871E24E8B}.Release|Any CPU.Build.0 = Release|Any CPU
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6}.Release|Any CPU.Build.0 = Release|Any CPU
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153}.Release|Any CPU.Build.0 = Release|Any CPU
{917D7C89-FA2D-4A26-906B-E18317C49734}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{917D7C89-FA2D-4A26-906B-E18317C49734}.Debug|Any CPU.Build.0 = Debug|Any CPU
{917D7C89-FA2D-4A26-906B-E18317C49734}.Release|Any CPU.ActiveCfg = Release|Any CPU
{917D7C89-FA2D-4A26-906B-E18317C49734}.Release|Any CPU.Build.0 = Release|Any CPU
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B}.Release|Any CPU.Build.0 = Release|Any CPU
{D25C688F-1673-4AEB-8186-6105C8CB679A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D25C688F-1673-4AEB-8186-6105C8CB679A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D25C688F-1673-4AEB-8186-6105C8CB679A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D25C688F-1673-4AEB-8186-6105C8CB679A}.Release|Any CPU.Build.0 = Release|Any CPU
{4B16340A-C493-41AB-85E8-E32C92533118}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B16340A-C493-41AB-85E8-E32C92533118}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B16340A-C493-41AB-85E8-E32C92533118}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4B16340A-C493-41AB-85E8-E32C92533118}.Release|Any CPU.Build.0 = Release|Any CPU
{414C51A1-6237-43BB-A59A-E9879880EF73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{414C51A1-6237-43BB-A59A-E9879880EF73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{414C51A1-6237-43BB-A59A-E9879880EF73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{414C51A1-6237-43BB-A59A-E9879880EF73}.Release|Any CPU.Build.0 = Release|Any CPU
{1F2F89EE-2032-4350-BFC9-6B74D477DE95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F2F89EE-2032-4350-BFC9-6B74D477DE95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F2F89EE-2032-4350-BFC9-6B74D477DE95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F2F89EE-2032-4350-BFC9-6B74D477DE95}.Release|Any CPU.Build.0 = Release|Any CPU
{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A}.Release|Any CPU.Build.0 = Release|Any CPU
{F97FB46C-223C-4818-8A5A-330E897F4FC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F97FB46C-223C-4818-8A5A-330E897F4FC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F97FB46C-223C-4818-8A5A-330E897F4FC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F97FB46C-223C-4818-8A5A-330E897F4FC0}.Release|Any CPU.Build.0 = Release|Any CPU
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{CB5177F3-6FA5-4351-8BF1-3F6F2758096D} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
{BE42055B-1D53-49AC-8B76-B55871E24E8B} = {CB5177F3-6FA5-4351-8BF1-3F6F2758096D}
{F6943FEF-C6AD-4374-9729-CCB79F9BD6C6} = {CB5177F3-6FA5-4351-8BF1-3F6F2758096D}
{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED7} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
{E1C43415-3200-45F4-8BF9-A4DD7D7F2ED6} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
{8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9} = {8F540B7F-7548-46E9-BDEC-4DAB99367908}
{E5BCFB04-C8E2-4F34-8E12-E4E6CB908153} = {8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}
{917D7C89-FA2D-4A26-906B-E18317C49734} = {8B47C7AE-9C8C-47D5-A3C5-ACEFCF54E3B9}
{00F3BEC6-614D-4AEE-923A-0E2DF40FDE6B} = {42C36267-88A8-4F94-9E62-5D43A02D033C}
{E1C43415-3000-45F4-8BF9-B4DD7D7F2ED6} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
{D25C688F-1673-4AEB-8186-6105C8CB679A} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
{4B16340A-C493-41AB-85E8-E32C92533118} = {BD68BFA8-3EC7-4689-987E-6422A37CF3B0}
{414C51A1-6237-43BB-A59A-E9879880EF73} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
{1F2F89EE-2032-4350-BFC9-6B74D477DE95} = {F2F213A8-6D57-492F-BA11-C9F26057B1DA}
{A73658B1-0C37-4EAD-AAF8-8FECD2EEFC9A} = {BD68BFA8-3EC7-4689-987E-6422A37CF3B0}
{F97FB46C-223C-4818-8A5A-330E897F4FC0} = {3B0D8F6E-C701-446E-BAE3-B6FDF1812901}
{D909A986-7D4F-45A6-B0A2-D69D4CEF86C5} = {1A746BD2-E68A-4877-9922-3549F6C00EDF}
EndGlobalSection
EndGlobal
@@ -1,47 +0,0 @@
using System.Reflection;
using Speckle.Shared;
var asm = Assembly.GetEntryAssembly();
Assembly GetAssembly(string name)
{
var path = Path.Combine(Path.GetDirectoryName(asm.Location), name);
return Assembly.ReflectionOnlyLoadFrom(path);
}
Generator generator =
new(
"Speckle.Revit2023.Fakes",
[GetAssembly("RevitAPI.dll"), GetAssembly("RevitAPIUI.dll")],
[
"Autodesk.Revit.DB",
"Autodesk.Revit.DB.Architecture",
"Autodesk.Revit.ApplicationServices",
"Autodesk.Revit.Creation",
"Autodesk.Revit.UI",
"Autodesk.Revit.DB.ExtensibleStorage",
"Autodesk.Revit.DB.ExternalService",
"Autodesk.Revit.DB.Structure",
"Autodesk.Revit.DB.Electrical",
"Autodesk.Revit.DB.Plumbing",
"Autodesk.Revit.DB.Fabrication",
"Autodesk.Revit.DB.Mechanical",
"Autodesk.Revit.DB.Analysis",
"Autodesk.Revit.DB.PointClouds",
"Autodesk.Revit.Exceptions"
],
[
new("WallSweepInfo", []),
new("ToggleButtonData", []),
new("RadioButtonGroup", []),
new("PanelScheduleTemplate", [new("IsValidType")]),
new("FabricReinSpanSymbol", [new("Create")]),
new("PathReinSpanSymbol", [new("Create")]),
new("RebarSystemSpanSymbol", [new("Create")]),
new("ProjectInfo", [new("Name")]),
new("Dimension", [new("Name")]),
new("ReferencePlane", [new("Name")]),
new("ImageView", [new("Create")])
],
GeneratorOptions.ExplicitProperties
);
generator.Generate();
@@ -1,11 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<Import Project="..\Speckle.Shared\Speckle.Shared.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="Speckle.Revit.API" VersionOverride="2023.0.0" />
</ItemGroup>
</Project>
@@ -1,102 +0,0 @@
using System.Collections;
using System.Collections.Generic;
namespace Autodesk.Revit.DB.Plumbing
{
public partial class FluidTemperatureSetIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class FluidType
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
}
namespace Autodesk.Revit.DB.Electrical
{
public partial class CableTraySizeIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class CableTraySizes
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ConduitSizeIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ConduitSizes
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ConduitSizeSettingIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ConduitSizeSettings
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
}
namespace Autodesk.Revit.DB.Mechanical
{
public partial class DuctSizeIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class DuctSizes
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class DuctSizeSettingIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class DuctSizeSettings
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
}
namespace Autodesk.Revit.DB.Structure
{
public partial class RebarContainer
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class RebarContainerIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
}
namespace Autodesk.Revit.DB.PointClouds
{
public partial class PointCollection
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class PointIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class CloudPoint
{
public static implicit operator XYZ(CloudPoint cp) => new(cp.X, cp.Y, cp.Z);
}
}
-134
View File
@@ -1,134 +0,0 @@
using System.Collections;
using System.Collections.Generic;
namespace Autodesk.Revit.DB;
public partial class Definitions
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class CurveLoop
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportFontTable
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportPatternTable
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportLineweightTableIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ExportPatternTableIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ExportFontTableIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class CurveLoopIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ExportLayerTableIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class ExportLinetypeTableIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class GeometryElement
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportLinetypeTable
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportLineweightTable
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ExportLayerTable
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class SolidCurveIntersection
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class KeyBasedTreeEntries
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class FilteredElementCollector
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class FilteredWorksetCollector
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class DefinitionGroups
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ComponentRepeater
{
IEnumerator IEnumerable.GetEnumerator() => throw new System.NotImplementedException();
}
public partial class ComponentRepeaterIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class KeyBasedTreeEntriesIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class FilteredElementIdIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class FilteredElementIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class FilteredWorksetIdIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
public partial class FilteredWorksetIterator
{
object IEnumerator.Current => throw new System.NotImplementedException();
}
@@ -1,9 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>true</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" />
</ItemGroup>
</Project>
@@ -1,336 +0,0 @@
namespace Autodesk.Revit.ApplicationServices;
public partial class Application : System.IDisposable
{
public Application() { }
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document NewProjectDocument(Autodesk.Revit.DB.UnitSystem unitSystem) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document NewProjectDocument(System.String templateFileName) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document NewProjectTemplateDocument(System.String templateFilename) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document NewFamilyDocument(System.String templateFileName) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document OpenBuildingComponentDocument(System.String fileName) =>
throw new System.NotImplementedException();
public virtual void ExtractPartAtomFromFamilyFile(System.String familyFilePath, System.String xmlFilePath) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DefinitionFile OpenSharedParameterFile() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document OpenIFCDocument(System.String fileName) =>
throw new System.NotImplementedException();
public static void RegisterFailuresProcessor(Autodesk.Revit.DB.IFailuresProcessor processor) =>
throw new System.NotImplementedException();
public static Autodesk.Revit.DB.FailureDefinitionRegistry GetFailureDefinitionRegistry() =>
throw new System.NotImplementedException();
public virtual void WriteJournalComment(System.String comment, System.Boolean timeStamp) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsJournalPlaying() => throw new System.NotImplementedException();
public virtual System.Collections.Generic.IList<System.String> GetSystemsAnalysisWorkflowNames() =>
throw new System.NotImplementedException();
public virtual System.Collections.Generic.IDictionary<System.String, System.String> GetSystemsAnalysisWorkflows() =>
throw new System.NotImplementedException();
public virtual void SetSystemsAnalysisWorkflows(
System.Collections.Generic.IDictionary<System.String, System.String> paths
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.IDictionary<System.String, System.String> GetLibraryPaths() =>
throw new System.NotImplementedException();
public virtual void SetLibraryPaths(System.Collections.Generic.IDictionary<System.String, System.String> paths) =>
throw new System.NotImplementedException();
public virtual void PurgeReleasedAPIObjects() => throw new System.NotImplementedException();
public virtual void CopyModel(
Autodesk.Revit.DB.ModelPath sourceModelPath,
System.String destFilePath,
System.Boolean overwrite
) => throw new System.NotImplementedException();
public virtual System.Guid GetWorksharingCentralGUID(Autodesk.Revit.DB.ServerPath serverModelPath) =>
throw new System.NotImplementedException();
public virtual System.Collections.Generic.IList<System.String> GetRevitServerNetworkHosts() =>
throw new System.NotImplementedException();
public static System.Boolean IsValidThickness(System.Double thickness) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document OpenDocumentFile(System.String fileName) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document OpenDocumentFile(
Autodesk.Revit.DB.ModelPath modelPath,
Autodesk.Revit.DB.OpenOptions openOptions,
Autodesk.Revit.DB.IOpenFromCloudCallback openFromCloudCallback
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Document OpenDocumentFile(
Autodesk.Revit.DB.ModelPath modelPath,
Autodesk.Revit.DB.OpenOptions openOptions
) => throw new System.NotImplementedException();
public virtual void UpdateRenderAppearanceLibrary() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Boolean AllowNavigationDuringRedraw
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String LoginUserId
{
get => throw new System.NotImplementedException();
}
public static System.Boolean IsLoggedIn
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.Color BackgroundColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String CurrentUsersAddinsDataFolderPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentUsersDataFolderPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String AllUsersAddinsLocation
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentUserAddinsLocation
{
get => throw new System.NotImplementedException();
}
public static System.Double MinimumThickness
{
get => throw new System.NotImplementedException();
}
public virtual System.Double ShortCurveTolerance
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentRevitServerAccelerator
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsInfrastructureEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsRouteAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsPipingAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsElectricalAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsMechanicalAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsPipingEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsElectricalEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsMechanicalEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsStructuralAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsEnergyAnalysisEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsMassingEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsSystemsEnabled
{
get => throw new System.NotImplementedException();
}
public virtual System.Boolean IsStructureEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean IsArchitectureEnabled
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Double AngleTolerance
{
get => throw new System.NotImplementedException();
}
public virtual System.Double VertexTolerance
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.ViewDiscipline DefaultViewDiscipline
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalWarningHangerDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalOpenEndsAreaBasedLoadBoundaryDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalWarningElectricalDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalWarningCableTrayConduitDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalWarningPipeDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGraphicalWarningDuctDisconnects
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String ImportIFCCategoryTable
{
get => throw new System.NotImplementedException();
}
public virtual System.String ExportIFCCategoryTable
{
get => throw new System.NotImplementedException();
}
public virtual System.String DefaultIFCProjectTemplate
{
get => throw new System.NotImplementedException();
}
public virtual System.String DefaultProjectTemplate
{
get => throw new System.NotImplementedException();
}
public virtual System.String SystemsAnalysisWorkfilesRootPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String PointCloudsRootPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String FamilyTemplatePath
{
get => throw new System.NotImplementedException();
}
public virtual System.String SubVersionNumber
{
get => throw new System.NotImplementedException();
}
public virtual System.String Username
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.AddInId ActiveAddInId
{
get => throw new System.NotImplementedException();
}
public virtual System.String SharedParametersFilename
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.ApplicationServices.ProductType Product
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.ApplicationServices.LanguageType Language
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.CitySet Cities
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionBuild
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionNumber
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionName
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.Creation.Application Create
{
get => throw new System.NotImplementedException();
}
public virtual System.String RecordingJournalFilename
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.DocumentSet Documents
{
get => throw new System.NotImplementedException();
}
}
@@ -1,92 +0,0 @@
namespace Autodesk.Revit.ApplicationServices;
public partial class ControlledApplication
{
public ControlledApplication() { }
public static Autodesk.Revit.DB.FailureDefinitionRegistry GetFailureDefinitionRegistry() =>
throw new System.NotImplementedException();
public static void RegisterFailuresProcessor(Autodesk.Revit.DB.IFailuresProcessor processor) =>
throw new System.NotImplementedException();
public virtual void WriteJournalComment(System.String comment, System.Boolean timeStamp) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsJournalPlaying() => throw new System.NotImplementedException();
public virtual System.Collections.Generic.IDictionary<System.String, System.String> GetLibraryPaths() =>
throw new System.NotImplementedException();
public virtual void SetLibraryPaths(System.Collections.Generic.IDictionary<System.String, System.String> paths) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DefinitionFile OpenSharedParameterFile() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.AddInId ActiveAddInId
{
get => throw new System.NotImplementedException();
}
public virtual System.String SharedParametersFilename
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.ApplicationServices.ProductType Product
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.ApplicationServices.LanguageType Language
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.CitySet Cities
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionBuild
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionNumber
{
get => throw new System.NotImplementedException();
}
public virtual System.String VersionName
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.Creation.Application Create
{
get => throw new System.NotImplementedException();
}
public virtual System.String SubVersionNumber
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentUsersAddinsDataFolderPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentUsersDataFolderPath
{
get => throw new System.NotImplementedException();
}
public virtual System.String AllUsersAddinsLocation
{
get => throw new System.NotImplementedException();
}
public virtual System.String CurrentUserAddinsLocation
{
get => throw new System.NotImplementedException();
}
public virtual System.String RecordingJournalFilename
{
get => throw new System.NotImplementedException();
}
public virtual System.Boolean IsLateAddinLoading
{
get => throw new System.NotImplementedException();
}
}
@@ -1,22 +0,0 @@
namespace Autodesk.Revit.ApplicationServices;
public enum LanguageType
{
Unknown,
English_USA,
German,
Spanish,
French,
Italian,
Dutch,
Chinese_Simplified,
Chinese_Traditional,
Japanese,
Korean,
Russian,
Czech,
Polish,
Hungarian,
Brazilian_Portuguese,
English_GB,
}
@@ -1,11 +0,0 @@
namespace Autodesk.Revit.ApplicationServices;
public enum ProductType
{
Architecture,
Structure,
MEP,
Revit,
LT,
Unknown,
}
@@ -1,202 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class Application : Autodesk.Revit.DB.APIObject
{
public Application() { }
public virtual Autodesk.Revit.DB.CategorySet NewCategorySet() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.InstanceBinding NewInstanceBinding(Autodesk.Revit.DB.CategorySet categorySet) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.InstanceBinding NewInstanceBinding() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.TypeBinding NewTypeBinding(Autodesk.Revit.DB.CategorySet categorySet) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.TypeBinding NewTypeBinding() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ElementSet NewElementSet() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Options NewGeometryOptions() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CurveArray NewCurveArray() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CurveArrArray NewCurveArrArray() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.VertexIndexPair NewVertexIndexPair(System.Int32 iTop, System.Int32 iBottom) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.VertexIndexPairArray NewVertexIndexPairArray() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CombinableElementArray NewCombinableElementArray() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Color NewColor() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ProjectPosition NewProjectPosition(
System.Double ew,
System.Double ns,
System.Double elevation,
System.Double angle
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.BoundingBoxXYZ NewBoundingBoxXYZ() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.BoundingBoxUV NewBoundingBoxUV(
System.Double min_u,
System.Double min_v,
System.Double max_u,
System.Double max_v
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.BoundingBoxUV NewBoundingBoxUV() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.XYZ NewXYZ(Autodesk.Revit.DB.XYZ xyz) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.XYZ NewXYZ(System.Double x, System.Double y, System.Double z) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.XYZ NewXYZ() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.UV NewUV(Autodesk.Revit.DB.UV uv) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.UV NewUV(System.Double u, System.Double v) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.UV NewUV() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DWFExportOptions NewDWFExportOptions() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DWFXExportOptions NewDWFXExportOptions() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FBXExportOptions NewFBXExportOptions() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.GBXMLImportOptions NewGBXMLImportOptions() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DoubleArray NewDoubleArray() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferenceArray NewReferenceArray() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FaceArray NewFaceArray() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.IntersectionResultArray NewIntersectionResultArray() =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ViewSet NewViewSet() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.SpaceSet NewSpaceSet() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.FamilySymbol symbol,
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> adaptivePoints
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.Line position,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.Curve curve,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.FamilyInstanceCreationData NewFamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.Creation.AreaCreationData NewAreaCreationData(
Autodesk.Revit.DB.ViewPlan areaView,
Autodesk.Revit.DB.UV point
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ElementId NewElementId() => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CurveLoopsProfile NewCurveLoopsProfile(Autodesk.Revit.DB.CurveArrArray curveLoops) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilySymbolProfile NewFamilySymbolProfile(
Autodesk.Revit.DB.FamilySymbol familySymbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointOnEdge NewPointOnEdge(
Autodesk.Revit.DB.Reference edgeReference,
Autodesk.Revit.DB.PointLocationOnCurve locationOnCurve
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointOnPlane NewPointOnPlane(
Autodesk.Revit.DB.Reference planeReference,
Autodesk.Revit.DB.UV position,
Autodesk.Revit.DB.UV xvec,
System.Double offset
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointOnFace NewPointOnFace(
Autodesk.Revit.DB.Reference faceReference,
Autodesk.Revit.DB.UV uv
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointOnEdgeEdgeIntersection NewPointOnEdgeEdgeIntersection(
Autodesk.Revit.DB.Reference edgeReference1,
Autodesk.Revit.DB.Reference edgeReference2
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointOnEdgeFaceIntersection NewPointOnEdgeFaceIntersection(
Autodesk.Revit.DB.Reference edgeReference,
Autodesk.Revit.DB.Reference faceReference,
System.Boolean orientWithEdge
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.PointRelativeToPoint NewPointRelativeToPoint(
Autodesk.Revit.DB.Reference hostPointReference
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePointArray NewReferencePointArray() =>
throw new System.NotImplementedException();
}
@@ -1,17 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class AreaCreationData
{
public AreaCreationData() { }
public AreaCreationData(System.Object proxy) => throw new System.NotImplementedException();
public AreaCreationData(Autodesk.Revit.DB.ViewPlan areaView, Autodesk.Revit.DB.UV point) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.UV TagPoint
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,367 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class Document : Autodesk.Revit.Creation.ItemFactoryBase
{
public Document() { }
public virtual Autodesk.Revit.DB.SpotDimension NewSpotCoordinate(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.XYZ origin,
Autodesk.Revit.DB.XYZ bend,
Autodesk.Revit.DB.XYZ end,
Autodesk.Revit.DB.XYZ refPt,
System.Boolean hasLeader
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SpotDimension NewSpotElevation(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.XYZ origin,
Autodesk.Revit.DB.XYZ bend,
Autodesk.Revit.DB.XYZ end,
Autodesk.Revit.DB.XYZ refPt,
System.Boolean hasLeader
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Room NewRoom(
Autodesk.Revit.DB.Architecture.Room room,
Autodesk.Revit.DB.PlanCircuit circuit
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Room NewRoom(Autodesk.Revit.DB.Phase phase) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Room NewRoom(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.UV point
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewRooms2(
Autodesk.Revit.DB.Phase phase,
System.Int32 count
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewRooms2(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Phase phase
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewRooms2(
Autodesk.Revit.DB.Level level
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.RoomTag NewRoomTag(
Autodesk.Revit.DB.LinkElementId roomId,
Autodesk.Revit.DB.UV point,
Autodesk.Revit.DB.ElementId viewId
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Structure.BoundaryConditions NewPointBoundaryConditions(
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Translation,
System.Double X_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Translation,
System.Double Y_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Translation,
System.Double Z_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Rotation,
System.Double X_RotationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Rotation,
System.Double Y_RotationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Rotation,
System.Double Z_RotationSpringModulus
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Structure.BoundaryConditions NewLineBoundaryConditions(
Autodesk.Revit.DB.Element hostElement,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Translation,
System.Double X_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Translation,
System.Double Y_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Translation,
System.Double Z_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Rotation,
System.Double X_RotationSpringModulus
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Structure.BoundaryConditions NewLineBoundaryConditions(
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Translation,
System.Double X_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Translation,
System.Double Y_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Translation,
System.Double Z_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Rotation,
System.Double X_RotationSpringModulus
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Structure.BoundaryConditions NewAreaBoundaryConditions(
Autodesk.Revit.DB.Element hostElement,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Translation,
System.Double X_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Translation,
System.Double Y_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Translation,
System.Double Z_TranslationSpringModulus
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Structure.BoundaryConditions NewAreaBoundaryConditions(
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.Structure.TranslationRotationValue X_Translation,
System.Double X_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Y_Translation,
System.Double Y_TranslationSpringModulus,
Autodesk.Revit.DB.Structure.TranslationRotationValue Z_Translation,
System.Double Z_TranslationSpringModulus
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Opening NewOpening(
Autodesk.Revit.DB.Element hostElement,
Autodesk.Revit.DB.CurveArray profile,
System.Boolean bPerpendicularFace
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Opening NewOpening(
Autodesk.Revit.DB.Wall wall,
Autodesk.Revit.DB.XYZ pntStart,
Autodesk.Revit.DB.XYZ pntEnd
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Opening NewOpening(
Autodesk.Revit.DB.Level bottomLevel,
Autodesk.Revit.DB.Level topLevel,
Autodesk.Revit.DB.CurveArray profile
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Opening NewOpening(
Autodesk.Revit.DB.Element famInstElement,
Autodesk.Revit.DB.CurveArray profile,
Autodesk.Revit.Creation.eRefFace iFace
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelCurve NewAreaBoundaryLine(
Autodesk.Revit.DB.SketchPlane sketchPlane,
Autodesk.Revit.DB.Curve geometryCurve,
Autodesk.Revit.DB.ViewPlan areaView
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.AreaTag NewAreaTag(
Autodesk.Revit.DB.ViewPlan areaView,
Autodesk.Revit.DB.Area room,
Autodesk.Revit.DB.UV point
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Area NewArea(Autodesk.Revit.DB.ViewPlan areaView, Autodesk.Revit.DB.UV point) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ElementSet NewAreas(
System.Collections.Generic.List<Autodesk.Revit.Creation.AreaCreationData> dataList
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FootPrintRoof NewFootPrintRoof(
Autodesk.Revit.DB.CurveArray footPrint,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.RoofType roofType,
out Autodesk.Revit.DB.ModelCurveArray footPrintToModelCurvesMapping
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ExtrusionRoof NewExtrusionRoof(
Autodesk.Revit.DB.CurveArray profile,
Autodesk.Revit.DB.ReferencePlane refPlane,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.RoofType roofType,
System.Double extrusionStart,
System.Double extrusionEnd
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.MechanicalSystem NewMechanicalSystem(
Autodesk.Revit.DB.Connector baseEquipmentConnector,
Autodesk.Revit.DB.ConnectorSet connectors,
Autodesk.Revit.DB.Mechanical.DuctSystemType ductSystemType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Plumbing.PipingSystem NewPipingSystem(
Autodesk.Revit.DB.Connector baseEquipmentConnector,
Autodesk.Revit.DB.ConnectorSet connectors,
Autodesk.Revit.DB.Plumbing.PipeSystemType pipingSystemType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.Space NewSpace(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Phase phase,
Autodesk.Revit.DB.UV point
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.Space NewSpace(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.UV point
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.Space NewSpace(Autodesk.Revit.DB.Phase phase) =>
throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewSpaces2(
Autodesk.Revit.DB.Phase phase,
System.Int32 count
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewSpaces2(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Phase phase,
Autodesk.Revit.DB.View view
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.SpaceTag NewSpaceTag(
Autodesk.Revit.DB.Mechanical.Space space,
Autodesk.Revit.DB.UV point,
Autodesk.Revit.DB.View view
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelCurveArray NewSpaceBoundaryLines(
Autodesk.Revit.DB.SketchPlane sketchPlane,
Autodesk.Revit.DB.CurveArray curves,
Autodesk.Revit.DB.View view
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelCurveArray NewRoomBoundaryLines(
Autodesk.Revit.DB.SketchPlane sketchPlane,
Autodesk.Revit.DB.CurveArray curves,
Autodesk.Revit.DB.View view
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.Zone NewZone(
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Phase phase
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewCurtainSystem2(
Autodesk.Revit.DB.ReferenceArray faces,
Autodesk.Revit.DB.CurtainSystemType curtainSystemType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CurtainSystem NewCurtainSystem(
Autodesk.Revit.DB.FaceArray faces,
Autodesk.Revit.DB.CurtainSystemType curtainSystemType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SlabEdge NewSlabEdge(
Autodesk.Revit.DB.SlabEdgeType SlabEdgeType,
Autodesk.Revit.DB.Reference reference
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SlabEdge NewSlabEdge(
Autodesk.Revit.DB.SlabEdgeType SlabEdgeType,
Autodesk.Revit.DB.ReferenceArray references
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Gutter NewGutter(
Autodesk.Revit.DB.Architecture.GutterType GutterType,
Autodesk.Revit.DB.Reference reference
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Gutter NewGutter(
Autodesk.Revit.DB.Architecture.GutterType GutterType,
Autodesk.Revit.DB.ReferenceArray references
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Fascia NewFascia(
Autodesk.Revit.DB.Architecture.FasciaType FasciaType,
Autodesk.Revit.DB.Reference reference
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Architecture.Fascia NewFascia(
Autodesk.Revit.DB.Architecture.FasciaType FasciaType,
Autodesk.Revit.DB.ReferenceArray references
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Curve curve,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.FlexDuct NewFlexDuct(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2,
Autodesk.Revit.DB.Mechanical.FlexDuctType ductType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.FlexDuct NewFlexDuct(
Autodesk.Revit.DB.Connector connector,
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> points,
Autodesk.Revit.DB.Mechanical.FlexDuctType ductType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Mechanical.FlexDuct NewFlexDuct(
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> points,
Autodesk.Revit.DB.Mechanical.FlexDuctType ductType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Plumbing.FlexPipe NewFlexPipe(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2,
Autodesk.Revit.DB.Plumbing.FlexPipeType pipeType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Plumbing.FlexPipe NewFlexPipe(
Autodesk.Revit.DB.Connector connector,
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> points,
Autodesk.Revit.DB.Plumbing.FlexPipeType pipeType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Plumbing.FlexPipe NewFlexPipe(
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> points,
Autodesk.Revit.DB.Plumbing.FlexPipeType pipeType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewElbowFitting(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewTeeFitting(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2,
Autodesk.Revit.DB.Connector connector3
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewTransitionFitting(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewCrossFitting(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2,
Autodesk.Revit.DB.Connector connector3,
Autodesk.Revit.DB.Connector connector4
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewUnionFitting(
Autodesk.Revit.DB.Connector connector1,
Autodesk.Revit.DB.Connector connector2
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewTakeoffFitting(
Autodesk.Revit.DB.Connector connector,
Autodesk.Revit.DB.MEPCurve curve
) => throw new System.NotImplementedException();
}
@@ -1,80 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class FamilyInstanceCreationData
{
public FamilyInstanceCreationData() { }
public FamilyInstanceCreationData(System.Object proxy) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.FamilySymbol symbol,
System.Collections.Generic.IList<Autodesk.Revit.DB.XYZ> adaptivePoints
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.Line position,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.Curve curve,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Level level,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public FamilyInstanceCreationData(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual System.Double RotateAngle
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Line Axis
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,198 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class FamilyItemFactory : Autodesk.Revit.Creation.ItemFactoryBase
{
public FamilyItemFactory() { }
public virtual Autodesk.Revit.DB.Extrusion NewExtrusion(
System.Boolean isSolid,
Autodesk.Revit.DB.CurveArrArray profile,
Autodesk.Revit.DB.SketchPlane sketchPlane,
System.Double end
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Blend NewBlend(
System.Boolean isSolid,
Autodesk.Revit.DB.CurveArray profile1,
Autodesk.Revit.DB.CurveArray profile2,
Autodesk.Revit.DB.SketchPlane sketchPlane
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Revolution NewRevolution(
System.Boolean isSolid,
Autodesk.Revit.DB.CurveArrArray profile,
Autodesk.Revit.DB.SketchPlane sketchPlane,
Autodesk.Revit.DB.Line axis,
System.Double startAngle,
System.Double endAngle
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Sweep NewSweep(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArray path,
Autodesk.Revit.DB.SweepProfile profile,
System.Int32 profileLocationCurveIndex,
Autodesk.Revit.DB.ProfilePlaneLocation profilePlaneLocation
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Sweep NewSweep(
System.Boolean isSolid,
Autodesk.Revit.DB.CurveArray path,
Autodesk.Revit.DB.SketchPlane pathPlane,
Autodesk.Revit.DB.SweepProfile profile,
System.Int32 profileLocationCurveIndex,
Autodesk.Revit.DB.ProfilePlaneLocation profilePlaneLocation
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SweptBlend NewSweptBlend(
System.Boolean isSolid,
Autodesk.Revit.DB.Reference path,
Autodesk.Revit.DB.SweepProfile bottomProfile,
Autodesk.Revit.DB.SweepProfile topProfile
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SweptBlend NewSweptBlend(
System.Boolean isSolid,
Autodesk.Revit.DB.Curve path,
Autodesk.Revit.DB.SketchPlane pathPlane,
Autodesk.Revit.DB.SweepProfile bottomProfile,
Autodesk.Revit.DB.SweepProfile topProfile
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Form NewLoftForm(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArrayArray profiles
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Form NewExtrusionForm(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArray profile,
Autodesk.Revit.DB.XYZ direction
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Form NewSweptBlendForm(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArray path,
Autodesk.Revit.DB.ReferenceArrayArray profiles
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FormArray NewRevolveForms(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArray profile,
Autodesk.Revit.DB.Reference axis,
System.Double startAngle,
System.Double endAngle
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Form NewFormByCap(
System.Boolean isSolid,
Autodesk.Revit.DB.ReferenceArray profile
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Form NewFormByThickenSingleSurface(
System.Boolean isSolid,
Autodesk.Revit.DB.Form singleSurfaceForm,
Autodesk.Revit.DB.XYZ thickenDir
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewLinearDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Line line,
Autodesk.Revit.DB.ReferenceArray references,
Autodesk.Revit.DB.DimensionType dimensionType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewLinearDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Line line,
Autodesk.Revit.DB.ReferenceArray references
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewAngularDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Arc arc,
Autodesk.Revit.DB.Reference firstRef,
Autodesk.Revit.DB.Reference secondRef,
Autodesk.Revit.DB.DimensionType dimensionType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewAngularDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Arc arc,
Autodesk.Revit.DB.Reference firstRef,
Autodesk.Revit.DB.Reference secondRef
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewArcLengthDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Arc arc,
Autodesk.Revit.DB.Reference arcRef,
Autodesk.Revit.DB.Reference firstRef,
Autodesk.Revit.DB.Reference secondRef,
Autodesk.Revit.DB.DimensionType dimensionType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewArcLengthDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Arc arc,
Autodesk.Revit.DB.Reference arcRef,
Autodesk.Revit.DB.Reference firstRef,
Autodesk.Revit.DB.Reference secondRef
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewRadialDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference arcRef,
Autodesk.Revit.DB.XYZ origin,
Autodesk.Revit.DB.DimensionType dimensionType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewRadialDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference arcRef,
Autodesk.Revit.DB.XYZ origin
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewDiameterDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference arcRef,
Autodesk.Revit.DB.XYZ origin
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Opening NewOpening(
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.CurveArray profile
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelText NewModelText(
System.String text,
Autodesk.Revit.DB.ModelTextType modelTextType,
Autodesk.Revit.DB.SketchPlane sketchPlane,
Autodesk.Revit.DB.XYZ position,
Autodesk.Revit.DB.HorizontalAlign horizontalAlign,
System.Double depth
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Control NewControl(
Autodesk.Revit.DB.ControlShape controlShape,
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.XYZ origin
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.SymbolicCurve NewSymbolicCurve(
Autodesk.Revit.DB.Curve curve,
Autodesk.Revit.DB.SketchPlane sketchPlane
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePoint NewReferencePoint(Autodesk.Revit.DB.PointElementReference A_0) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePoint NewReferencePoint(Autodesk.Revit.DB.Transform A_0) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePoint NewReferencePoint(Autodesk.Revit.DB.XYZ A_0) =>
throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.CurveByPoints NewCurveByPoints(Autodesk.Revit.DB.ReferencePointArray points) =>
throw new System.NotImplementedException();
}
@@ -1,131 +0,0 @@
namespace Autodesk.Revit.Creation;
public partial class ItemFactoryBase : Autodesk.Revit.DB.APIObject
{
public ItemFactoryBase() { }
public virtual Autodesk.Revit.DB.DetailCurve NewDetailCurve(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Curve geometryCurve
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.DetailCurveArray NewDetailCurveArray(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.CurveArray geometryCurveArray
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Line line,
Autodesk.Revit.DB.ReferenceArray references,
Autodesk.Revit.DB.DimensionType dimensionType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewDimension(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Line line,
Autodesk.Revit.DB.ReferenceArray references
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Line line,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.View specView
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ origin,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.View specView
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.Line position,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Reference reference,
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.Line position,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.Face face,
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.FamilySymbol symbol
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.FamilyInstance NewFamilyInstance(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.FamilySymbol symbol,
Autodesk.Revit.DB.XYZ referenceDirection,
Autodesk.Revit.DB.Element host,
Autodesk.Revit.DB.Structure.StructuralType structuralType
) => throw new System.NotImplementedException();
public virtual System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> NewFamilyInstances2(
System.Collections.Generic.List<Autodesk.Revit.Creation.FamilyInstanceCreationData> dataList
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Group NewGroup(
System.Collections.Generic.ICollection<Autodesk.Revit.DB.ElementId> elementIds
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelCurve NewModelCurve(
Autodesk.Revit.DB.Curve geometryCurve,
Autodesk.Revit.DB.SketchPlane sketchPlane
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ModelCurveArray NewModelCurveArray(
Autodesk.Revit.DB.CurveArray geometryCurveArray,
Autodesk.Revit.DB.SketchPlane sketchPlane
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePlane NewReferencePlane(
Autodesk.Revit.DB.XYZ bubbleEnd,
Autodesk.Revit.DB.XYZ freeEnd,
Autodesk.Revit.DB.XYZ cutVec,
Autodesk.Revit.DB.View pView
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.ReferencePlane NewReferencePlane2(
Autodesk.Revit.DB.XYZ bubbleEnd,
Autodesk.Revit.DB.XYZ freeEnd,
Autodesk.Revit.DB.XYZ thirdPnt,
Autodesk.Revit.DB.View pView
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Group PlaceGroup(
Autodesk.Revit.DB.XYZ location,
Autodesk.Revit.DB.GroupType groupType
) => throw new System.NotImplementedException();
public virtual Autodesk.Revit.DB.Dimension NewAlignment(
Autodesk.Revit.DB.View view,
Autodesk.Revit.DB.Reference reference1,
Autodesk.Revit.DB.Reference reference2
) => throw new System.NotImplementedException();
}
@@ -1,8 +0,0 @@
namespace Autodesk.Revit.Creation;
public enum eRefFace
{
CenterX,
CenterY,
CenterZ,
}
@@ -1,72 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class ACADExportOptions : Autodesk.Revit.DB.BaseExportOptions
{
public ACADExportOptions() { }
public virtual Autodesk.Revit.DB.Color HatchBackgroundColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean UseHatchBackgroundColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ACADVersion FileVersion
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String NonplotSuffix
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean MarkNonplotLayers
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ExportingAreas
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean SharedCoords
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ExportUnit TargetUnit
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ACAObjectPreference ACAPreference
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.SolidGeometry ExportOfSolids
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.TextTreatment TextTreatment
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String LinetypesFileName
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.LineScaling LineScaling
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,10 +0,0 @@
namespace Autodesk.Revit.DB;
public enum ACADVersion
{
Default,
R2007,
R2010,
R2013,
R2018,
}
@@ -1,7 +0,0 @@
namespace Autodesk.Revit.DB;
public enum ACAObjectPreference
{
Object,
Geometry,
}
@@ -1,13 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class APIObject : System.IDisposable
{
public APIObject() { }
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsReadOnly
{
get => throw new System.NotImplementedException();
}
}
@@ -1,18 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class ATFBaseExportOptions : System.IDisposable
{
public ATFBaseExportOptions() { }
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.ElementId ViewId
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,13 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class ATFTranslationServiceData : Autodesk.Revit.DB.ExternalService.IExternalData, System.IDisposable
{
public ATFTranslationServiceData() { }
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
}
@@ -1,14 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class AXMImportOptions : Autodesk.Revit.DB.BaseImportOptions
{
public AXMImportOptions() { }
public AXMImportOptions(Autodesk.Revit.DB.AXMImportOptions option) => throw new System.NotImplementedException();
public virtual System.Boolean ImportLevels
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,72 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class AdaptiveComponentFamilyUtils
{
public AdaptiveComponentFamilyUtils() { }
public static System.Boolean IsAdaptiveComponentFamily(Autodesk.Revit.DB.Family family) =>
throw new System.NotImplementedException();
public static System.Boolean IsAdaptivePoint(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static System.Boolean IsAdaptivePlacementPoint(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static System.Boolean IsAdaptiveShapeHandlePoint(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static System.Int32 GetNumberOfAdaptivePoints(Autodesk.Revit.DB.Family family) =>
throw new System.NotImplementedException();
public static System.Int32 GetNumberOfPlacementPoints(Autodesk.Revit.DB.Family family) =>
throw new System.NotImplementedException();
public static System.Int32 GetNumberOfShapeHandlePoints(Autodesk.Revit.DB.Family family) =>
throw new System.NotImplementedException();
public static void MakeAdaptivePoint(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId,
Autodesk.Revit.DB.AdaptivePointType type
) => throw new System.NotImplementedException();
public static System.Int32 GetPlacementNumber(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static void SetPlacementNumber(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId,
System.Int32 placementNumber
) => throw new System.NotImplementedException();
public static Autodesk.Revit.DB.AdaptivePointOrientationType GetPointOrientationType(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static void SetPointOrientationType(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId,
Autodesk.Revit.DB.AdaptivePointOrientationType orientationType
) => throw new System.NotImplementedException();
public static Autodesk.Revit.DB.AdaptivePointConstraintType GetPointConstraintType(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId
) => throw new System.NotImplementedException();
public static void SetPointConstraintType(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.ElementId refPointId,
Autodesk.Revit.DB.AdaptivePointConstraintType constraintType
) => throw new System.NotImplementedException();
}
@@ -1,44 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class AdaptiveComponentInstanceUtils
{
public AdaptiveComponentInstanceUtils() { }
public static System.Boolean IsAdaptiveFamilySymbol(Autodesk.Revit.DB.FamilySymbol famSymb) =>
throw new System.NotImplementedException();
public static System.Boolean HasAdaptiveFamilySymbol(Autodesk.Revit.DB.FamilyInstance famInst) =>
throw new System.NotImplementedException();
public static System.Boolean IsAdaptiveComponentInstance(Autodesk.Revit.DB.FamilyInstance famInst) =>
throw new System.NotImplementedException();
public static Autodesk.Revit.DB.FamilyInstance CreateAdaptiveComponentInstance(
Autodesk.Revit.DB.Document doc,
Autodesk.Revit.DB.FamilySymbol famSymb
) => throw new System.NotImplementedException();
public static void MoveAdaptiveComponentInstance(
Autodesk.Revit.DB.FamilyInstance famInst,
Autodesk.Revit.DB.Transform trf,
System.Boolean unHost
) => throw new System.NotImplementedException();
public static System.Collections.Generic.IList<Autodesk.Revit.DB.ElementId> GetInstancePointElementRefIds(
Autodesk.Revit.DB.FamilyInstance famInst
) => throw new System.NotImplementedException();
public static System.Collections.Generic.IList<Autodesk.Revit.DB.ElementId> GetInstancePlacementPointElementRefIds(
Autodesk.Revit.DB.FamilyInstance famInst
) => throw new System.NotImplementedException();
public static System.Collections.Generic.IList<Autodesk.Revit.DB.ElementId> GetInstanceShapeHandlePointElementRefIds(
Autodesk.Revit.DB.FamilyInstance famInst
) => throw new System.NotImplementedException();
public static System.Boolean IsInstanceFlipped(Autodesk.Revit.DB.FamilyInstance famInst) =>
throw new System.NotImplementedException();
public static void SetInstanceFlipped(Autodesk.Revit.DB.FamilyInstance famInst, System.Boolean flip) =>
throw new System.NotImplementedException();
}
@@ -1,12 +0,0 @@
namespace Autodesk.Revit.DB;
public enum AdaptivePointConstraintType
{
None,
Plane_YZ,
Plane_ZX,
Plane_XY,
Axis_X,
Axis_Y,
Axis_Z,
}
@@ -1,11 +0,0 @@
namespace Autodesk.Revit.DB;
public enum AdaptivePointOrientationType
{
ToHost,
ToHostAndLoopSystem,
ToGlobalZthenHost,
ToGlobalXYZ,
ToInstanceZthenHost,
ToInstance,
}
@@ -1,8 +0,0 @@
namespace Autodesk.Revit.DB;
public enum AdaptivePointType
{
ReferencePoint,
PlacementPoint,
ShapeHandlePoint,
}
@@ -1,22 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class AddInId : System.IDisposable
{
public AddInId() { }
public AddInId(System.Guid val) => throw new System.NotImplementedException();
public virtual System.String GetAddInNameFromDocument(Autodesk.Revit.DB.Document aDoc) =>
throw new System.NotImplementedException();
public virtual System.Guid GetGUID() => throw new System.NotImplementedException();
public virtual System.String GetAddInName() => throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
}
@@ -1,8 +0,0 @@
namespace Autodesk.Revit.DB;
public enum AllowedValues
{
NonNegative,
All,
Positive,
}
@@ -1,43 +0,0 @@
namespace Autodesk.Revit.DB;
public partial class AlphanumericRevisionSettings : System.IDisposable
{
public AlphanumericRevisionSettings() { }
public AlphanumericRevisionSettings(
System.Collections.Generic.IList<System.String> sequence,
System.String prefix,
System.String suffix
) => throw new System.NotImplementedException();
public AlphanumericRevisionSettings(Autodesk.Revit.DB.AlphanumericRevisionSettings other) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.AlphanumericRevisionSettings other) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsValid() => throw new System.NotImplementedException();
public virtual System.Collections.Generic.IList<System.String> GetSequence() =>
throw new System.NotImplementedException();
public virtual void SetSequence(System.Collections.Generic.IList<System.String> sequence) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.String Suffix
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.String Prefix
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,8 +0,0 @@
namespace Autodesk.Revit.DB;
public enum AlternateUnits
{
None,
Right,
Below,
}
@@ -1,8 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public enum AllowLargeGeometry
{
DisAllow,
Allow,
Prompt,
}
@@ -1,31 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayColorEntry : System.IDisposable
{
public AnalysisDisplayColorEntry() { }
public AnalysisDisplayColorEntry(Autodesk.Revit.DB.Color color) => throw new System.NotImplementedException();
public AnalysisDisplayColorEntry(Autodesk.Revit.DB.Color color, System.Double value) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayColorEntry other) =>
throw new System.NotImplementedException();
public virtual System.Boolean HasValue() => throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.Color Color
{
get => throw new System.NotImplementedException();
}
public virtual System.Double Value
{
get => throw new System.NotImplementedException();
}
}
@@ -1,47 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayColorSettings : System.IDisposable
{
public AnalysisDisplayColorSettings() { }
public AnalysisDisplayColorSettings(Autodesk.Revit.DB.Analysis.AnalysisDisplayColorSettings other) =>
throw new System.NotImplementedException();
public virtual System.Collections.Generic.IList<Autodesk.Revit.DB.Analysis.AnalysisDisplayColorEntry> GetIntermediateColors() =>
throw new System.NotImplementedException();
public virtual System.Boolean AreIntermediateColorsValid(
System.Collections.Generic.IList<Autodesk.Revit.DB.Analysis.AnalysisDisplayColorEntry> map
) => throw new System.NotImplementedException();
public virtual void SetIntermediateColors(
System.Collections.Generic.IList<Autodesk.Revit.DB.Analysis.AnalysisDisplayColorEntry> map
) => throw new System.NotImplementedException();
public virtual System.Int32 Colors() => throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayColorSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleColorSettingsType ColorSettingsType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Color MinColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Color MaxColor
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,45 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayColoredSurfaceSettings : System.IDisposable
{
public AnalysisDisplayColoredSurfaceSettings() { }
public AnalysisDisplayColoredSurfaceSettings(
Autodesk.Revit.DB.Analysis.AnalysisDisplayColoredSurfaceSettings other
) => throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayColoredSurfaceSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Int32 Transparency
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 GridLineWeight
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Color GridColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowContourLines
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGridLines
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,59 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayDeformedShapeSettings : System.IDisposable
{
public AnalysisDisplayDeformedShapeSettings() { }
public AnalysisDisplayDeformedShapeSettings(Autodesk.Revit.DB.Analysis.AnalysisDisplayDeformedShapeSettings other) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayDeformedShapeSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Int32 Transparency
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 GridLineWeight
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Color GridColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Double Rounding
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleDeformedShapeTextLabelType TextLabelType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ElementId TextTypeId
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowContourLines
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowGridLines
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,54 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayDiagramSettings : System.IDisposable
{
public AnalysisDisplayDiagramSettings() { }
public AnalysisDisplayDiagramSettings(Autodesk.Revit.DB.Analysis.AnalysisDisplayDiagramSettings other) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayDiagramSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Int32 OutlineLineWeight
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Color OutlineColor
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 Transparency
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Double Rounding
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleDiagramTextLabelType TextLabelType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleDiagramFenceType FenceType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ElementId TextTypeId
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,12 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayLegend : Autodesk.Revit.DB.Element
{
public AnalysisDisplayLegend() { }
public virtual System.Double Height
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,79 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayLegendSettings : System.IDisposable
{
public AnalysisDisplayLegendSettings() { }
public AnalysisDisplayLegendSettings(Autodesk.Revit.DB.Analysis.AnalysisDisplayLegendSettings other) =>
throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayLegendSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Double NumberForScale
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 ScaleHeight
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 ColorRangeHeight
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 ColorRangeWidth
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Int32 NumberOfSteps
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Double Rounding
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowDataDescription
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowDataName
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowUnits
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Boolean ShowLegend
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ElementId HeadingTextTypeId
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ElementId TextTypeId
{
get => throw new System.NotImplementedException();
set { }
}
}
@@ -1,45 +0,0 @@
namespace Autodesk.Revit.DB.Analysis;
public partial class AnalysisDisplayMarkersAndTextSettings : System.IDisposable
{
public AnalysisDisplayMarkersAndTextSettings() { }
public AnalysisDisplayMarkersAndTextSettings(
Autodesk.Revit.DB.Analysis.AnalysisDisplayMarkersAndTextSettings other
) => throw new System.NotImplementedException();
public virtual System.Boolean IsEqual(Autodesk.Revit.DB.Analysis.AnalysisDisplayMarkersAndTextSettings other) =>
throw new System.NotImplementedException();
public virtual void Dispose() => throw new System.NotImplementedException();
public virtual System.Boolean IsValidObject
{
get => throw new System.NotImplementedException();
}
public virtual System.Double Rounding
{
get => throw new System.NotImplementedException();
set { }
}
public virtual System.Double MarkerSize
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleMarkerTextLabelType TextLabelType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.Analysis.AnalysisDisplayStyleMarkerType MarkerType
{
get => throw new System.NotImplementedException();
set { }
}
public virtual Autodesk.Revit.DB.ElementId TextTypeId
{
get => throw new System.NotImplementedException();
set { }
}
}

Some files were not shown because too many files have changed in this diff Show More