Skip to content

Commit d51aee1

Browse files
Add input parameters and add ToBeRemoved for PanelToFEMesh that has since been replaced in Structure_Engine
1 parent ff156ec commit d51aee1

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

MidasCivil_Engine/Compute/CombineTextFiles.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ public static partial class Compute
3535
/**** Public Methods ****/
3636
/***************************************************/
3737

38-
[Description("Combines all text files specified by type in to a single MidasCivilText (MCT) to be loaded in to MidasCivil")]
39-
[Input("filePath", "The same filepath used for the adapter (pointing to an mcb file)")]
38+
[Description("Combines all text files specified by type in to a single MidasCivilText (MCT) to be loaded in to MidasCivil.")]
39+
[Input("filePath", "The same filepath used for the adapter (pointing to an mcb file).")]
4040
[Input("types", "BHoM object types to specify the text files to be combined. A null value will combine all text files.")]
41-
[Input("active", "Execute the method")]
41+
[Input("active", "Execute the method.")]
4242
[Output("success", "Was the execution successful?")]
4343

4444
public static bool CombineTextFiles(string filePath, List<Type> types = null, bool active = false)

MidasCivil_Engine/Compute/FEMeshToPanel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
using BH.oM.Geometry;
2727
using System.Collections.Generic;
2828
using System.Linq;
29+
using BH.oM.Base.Attributes;
2930

3031
namespace BH.Engine.Adapters.MidasCivil
3132
{
@@ -35,6 +36,7 @@ public static partial class Compute
3536
/**** Public Methods ****/
3637
/***************************************************/
3738

39+
[ToBeRemoved("4.2","Method was replaced in 4.2 by BH.Engine.Structure.Convert.FEMeshToPanel.")]
3840
public static Panel FEMeshToPanel(FEMesh mesh)
3941
{
4042
List<Polyline> polylines = new List<Polyline>();

MidasCivil_Engine/Create/Metadata.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,18 @@ public static partial class Create
3737
/***************************************************/
3838

3939
[Description("Creates a Metadata object from a variety of inputs.")]
40+
[Input("projectNumber", "Unique number for the project.")]
41+
[Input("projectName", "The name of the project.")]
4042
[Input("location", "Where the project is based.")]
41-
[Input("description", "A short description of the project and model.")]
42-
[Input("discipline", "The discipline responsible for the model.")]
43+
[Input("client", "Unique identifier for the client.")]
44+
[Input("designStage", "The design stage for the project.")]
45+
[Input("projectLead", "The project leader for the project.")]
46+
[Input("revision", "The revision for the model.")]
47+
[Input("author", "The model author/creator.")]
4348
[Input("creationDate", "The creation date of the model inputted as yyyy-MM-dd. This will default to the current date if no date is provided.")]
49+
[Input("email", "Contact email for the project.")]
50+
[Input("description", "Brief description for the project and the model.")]
51+
[Input("discipline", "The discipline responsible for the model.")]
4452
[Input("reviews", "A list of reviews containing reviewers, their comments and the date of review.")]
4553
[Output("A summary of relevant information for the model.")]
4654
public static Metadata Metadata(string projectNumber = "", string projectName = "", string location = "", string client = "",

0 commit comments

Comments
 (0)