Skip to content

Commit

Permalink
More fixes and more namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jul 1, 2024
1 parent 16bf12f commit fa5c2ea
Show file tree
Hide file tree
Showing 778 changed files with 12,376 additions and 708 deletions.
6 changes: 5 additions & 1 deletion Speckle.Revit2023.Fakes.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ Assembly GetAssembly(string name)
Generator generator = new("Speckle.Revit2023.Fakes", [GetAssembly("RevitAPI.dll"),
GetAssembly("RevitAPIUI.dll")],
["Autodesk.Revit.DB", "Autodesk.Revit.DB.Architecture", "Autodesk.Revit.UI", "Autodesk.Revit.DB.ExtensibleStorage",
"Autodesk.Revit.DB.ExternalService"],
"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"],
[
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 ("ImageView", [new ("Create")])]);
generator.Generate();
76 changes: 76 additions & 0 deletions Speckle.Revit2023.Fakes/Enumerables.Plumbing.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
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();
}
}
1 change: 1 addition & 0 deletions Speckle.Revit2023.Fakes/Enumerables.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections;
using System.Collections.Generic;

namespace Autodesk.Revit.DB;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ public partial class AdaptiveComponentInstanceUtils
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 IList<Autodesk.Revit.DB.ElementId> GetInstancePointElementRefIds(Autodesk.Revit.DB.FamilyInstance famInst) => throw new System.NotImplementedException();
public static IList<Autodesk.Revit.DB.ElementId> GetInstancePlacementPointElementRefIds(Autodesk.Revit.DB.FamilyInstance famInst) => throw new System.NotImplementedException();
public static IList<Autodesk.Revit.DB.ElementId> GetInstanceShapeHandlePointElementRefIds(Autodesk.Revit.DB.FamilyInstance famInst) => 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();
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ namespace Autodesk.Revit.DB;

public partial class AlphanumericRevisionSettings : System.IDisposable
{
public AlphanumericRevisionSettings(IList<System.String> sequence,System.String prefix,System.String suffix) => throw new System.NotImplementedException();
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 IList<System.String> GetSequence() => throw new System.NotImplementedException();
public virtual void SetSequence(IList<System.String> sequence) => 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
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Autodesk.Revit.DB.Analysis;

public enum AllowLargeGeometry
{
DisAllow,
Allow,
Prompt,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayColorEntry : System.IDisposable
{
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();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayColorSettings : System.IDisposable
{
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 {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayColoredSurfaceSettings : System.IDisposable
{
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 {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayDeformedShapeSettings : System.IDisposable
{
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 {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayDiagramSettings : System.IDisposable
{
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 {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Autodesk.Revit.DB.Analysis;

public partial class AnalysisDisplayLegend : Autodesk.Revit.DB.Element
{
public virtual System.Double Height
{
get => throw new System.NotImplementedException();
set {}
}
}
Loading

0 comments on commit fa5c2ea

Please sign in to comment.