Class OpenModel
- Namespace
- IdeaRS.OpenModel
- Assembly
- IdeaRS.OpenModel.dll
Open model
public class OpenModel
Inheritance
Inherited Members
Constructors
OpenModel()
Constructor
public OpenModel()
Properties
Anchors3D
List of Anchors 3D
public List<Anchor3D> Anchors3D { get; set; }
Property Value
ArcSegment3D
List of ArcSegment3D
public List<ArcSegment3D> ArcSegment3D { get; set; }
Property Value
Attribute
List of attributes
public List<OpenAttribute> Attribute { get; set; }
Property Value
BasePlates3D
List of Base Plates 3D
public List<BasePlate3D> BasePlates3D { get; set; }
Property Value
Beam
List of Elements 1D
public List<Beam> Beam { get; set; }
Property Value
BoltAssembly
List of BoltAssemblys
public List<BoltAssembly> BoltAssembly { get; set; }
Property Value
CheckMember
List of the Check members
public List<CheckMember> CheckMember { get; set; }
Property Value
CombiInput
List of Combinations
public List<CombiInput> CombiInput { get; set; }
Property Value
ConcreteCheckSection
List of the concrete check section
public List<CheckSection> ConcreteCheckSection { get; set; }
Property Value
ConcreteSetup
Gets or sets the concrete member data
public ConcreteSetup ConcreteSetup { get; set; }
Property Value
ConnectionPoint
List of Connection Points
public List<ConnectionPoint> ConnectionPoint { get; set; }
Property Value
ConnectionSetup
Information about Connection Setup
public ConnectionSetup ConnectionSetup { get; set; }
Property Value
Connections
List of Connection data
public List<ConnectionData> Connections { get; set; }
Property Value
CrossSection
List of CrossSection
public List<CrossSection> CrossSection { get; set; }
Property Value
DappedEnd
List of dapped ends in Detail
public List<DappedEnd> DappedEnd { get; set; }
Property Value
DesignMember
Design Member
public List<DesignMember> DesignMember { get; set; }
Property Value
DetailCombination
List of Combinations
public List<DetailCombination> DetailCombination { get; set; }
Property Value
DetailLoadCase
List of Load cases
public List<DetailLoadCase> DetailLoadCase { get; set; }
Property Value
Element1D
List of Elements 1D
public List<Element1D> Element1D { get; set; }
Property Value
Element2D
List of Elements 2D
public List<Element2D> Element2D { get; set; }
Property Value
HingeElement1D
List of hinge elements 1D
public List<HingeElement1D> HingeElement1D { get; set; }
Property Value
ISDModel
List of Details
public List<ISDModel> ISDModel { get; set; }
Property Value
InitialImperfectionOfPoint
List of InitialmperfectionOfPoint
public List<InitialImperfectionOfPoint> InitialImperfectionOfPoint { get; set; }
Property Value
LineSegment3D
List of LineSegment3D
public List<LineSegment3D> LineSegment3D { get; set; }
Property Value
LineSupportSegment
List of Line support on segment
public List<LineSupportSegment> LineSupportSegment { get; set; }
Property Value
LoadCase
List of Load cases
public List<LoadCase> LoadCase { get; set; }
Property Value
LoadGroup
List of Load groups
public List<LoadGroup> LoadGroup { get; set; }
Property Value
LoadsInPoint
List of point load impulses in this load case
public List<LoadInPoint> LoadsInPoint { get; set; }
Property Value
LoadsOnLine
List of line load impulses in this load case
public List<LoadOnLine> LoadsOnLine { get; set; }
Property Value
LoadsOnSurface
List surafce load in this load case
public List<LoadOnSurface> LoadsOnSurface { get; set; }
Property Value
MatBoltGrade
List of BoltGrades
public List<MaterialBoltGrade> MatBoltGrade { get; set; }
Property Value
MatConcrete
List of MatConcrete
public List<MatConcrete> MatConcrete { get; set; }
Property Value
MatPrestressSteel
List of MatPrestressSteel
public List<MatPrestressSteel> MatPrestressSteel { get; set; }
Property Value
MatReinforcement
List of MatReinforcement
public List<MatReinforcement> MatReinforcement { get; set; }
Property Value
MatSteel
List of MatSteel
public List<MatSteel> MatSteel { get; set; }
Property Value
MatWelding
List of MatWelding
public List<MatWelding> MatWelding { get; set; }
Property Value
Member1D
List of Member 1D
public List<Member1D> Member1D { get; set; }
Property Value
Member2D
List of Member 2D
public List<Member2D> Member2D { get; set; }
Property Value
Opening
List of openings for Detail
public List<Opening> Opening { get; set; }
Property Value
OriginSettings
Information about origin project
public OriginSettings OriginSettings { get; set; }
Property Value
PatchDevice
List of dapped ends in Detail
public List<PatchDevice> PatchDevice { get; set; }
Property Value
Pin
List of Pins
public List<Pin> Pin { get; set; }
Property Value
Point3D
List of Point3D
public List<Point3D> Point3D { get; set; }
Property Value
PointLoadsOnLine
List of point load impulses in this load case
public List<PointLoadOnLine> PointLoadsOnLine { get; set; }
Property Value
PointOnLine3D
List of Point on line 3D
public List<PointOnLine3D> PointOnLine3D { get; set; }
Property Value
PointSupportNode
List of Point support in node
public List<PointSupportNode> PointSupportNode { get; set; }
Property Value
PolyLine3D
List of PolyLine3D
public List<PolyLine3D> PolyLine3D { get; set; }
Property Value
ProjectData
Gets or sets the projet data
public ProjectData ProjectData { get; set; }
Property Value
ProjectDataConcrete
Gets or sets the projet data concrete
public ProjectDataConcrete ProjectDataConcrete { get; set; }
Property Value
RebarGeneral
Gets or sets the rebar General collection
public List<RebarGeneral> RebarGeneral { get; set; }
Property Value
RebarShape
Gets or sets the rebars shapes
public List<RebarShape> RebarShape { get; set; }
Property Value
RebarSingle
Gets or sets the rebar single collection
public List<RebarSingle> RebarSingle { get; set; }
Property Value
RebarStirrups
Gets or sets the rebar group (stirrups) collection
public List<RebarStirrups> RebarStirrups { get; set; }
Property Value
Region3D
List of Region3D
public List<Region3D> Region3D { get; set; }
Property Value
ReinforcedCrossSection
List of Reinforced CrossSection
public List<ReinforcedCrossSection> ReinforcedCrossSection { get; set; }
Property Value
Reinforcement
List of reinforcement in IDEA StatiCa Detail
public List<Reinforcement> Reinforcement { get; set; }
Property Value
ResultClass
Result Class
public List<ResultClass> ResultClass { get; set; }
Property Value
RigidLink
List of Rigid link
public List<RigidLink> RigidLink { get; set; }
Property Value
Settlements
Settlements in this load case
public List<Settlement> Settlements { get; set; }
Property Value
SolidBlocks3D
List of Solid Blocks 3D
public List<SolidBlock3D> SolidBlocks3D { get; set; }
Property Value
Span
public List<Span> Span { get; set; }
Property Value
StrainLoadsOnLine
List of generalized strain load impulses along the line in this load case.
public List<StrainLoadOnLine> StrainLoadsOnLine { get; set; }
Property Value
SubStructure
Design Member
public List<SubStructure> SubStructure { get; set; }
Property Value
SurfaceSupports3D
List of Surface Supports 3D
public List<SurfaceSupport3D> SurfaceSupports3D { get; set; }
Property Value
Taper
public List<Taper> Taper { get; set; }
Property Value
TemperatureLoadsOnLine
List of temperature load in this load case
public List<TemperatureLoadOnLine> TemperatureLoadsOnLine { get; set; }
Property Value
Tendon
Tendon
public List<Tendon> Tendon { get; set; }
Property Value
Version
Data format version
public string Version { get; set; }
Property Value
Wall
List of Elements 2D
public List<Wall> Wall { get; set; }
Property Value
Methods
AddObject(OpenAttribute)
Add new atribute object into collections
public int AddObject(OpenAttribute obj)
Parameters
obj
OpenAttribute-
Added object
Returns
- int
-
Return value 0 - OK, -1 - false
AddObject(OpenElementId)
Add new object into collections
public int AddObject(OpenElementId obj)
Parameters
obj
OpenElementId-
Added object
Returns
- int
-
Return value 0 - OK, -1 - duplicit Id, -10 - the type of object there is not in the data colections
Remarks
If the obj.Id is set to zero or lesser, this method finds the first available free Id and sets it into the obj.Id.
GetExistingObject(OpenElementId)
Add new object into collections
public OpenElementId GetExistingObject(OpenElementId obj)
Parameters
obj
OpenElementId-
Added object
Returns
- OpenElementId
-
Return value 0 - OK, -1 - duplicit Id, -10 - the type of object there is not in the data colections
Remarks
If the obj.Id is set to zero or lesser, this method finds the first available free Id and sets it into the obj.Id.
GetMaxId(string)
Get max Id value for specified type
public int GetMaxId(string typeName)
Parameters
typeName
string-
Name of type
Returns
- int
-
Max Id value or zero if don't any exists
GetMaxId(OpenElementId)
Get max Id value for specified type
public int GetMaxId(OpenElementId obj)
Parameters
obj
OpenElementId-
Object
Returns
- int
-
Max Id value or zero if don't any exists
GetMaxId(Type)
Get max Id value for specified type
public int GetMaxId(Type t)
Parameters
t
Type-
Type
Returns
- int
-
Max Id value or zero if don't any exists
GetObject(ReferenceElement)
Gets the Open element object from the Reference element
public OpenElementId GetObject(ReferenceElement element)
Parameters
element
ReferenceElement-
Reference element
Returns
- OpenElementId
-
The instance of OpenElementId object
LoadFromStream(Stream)
Creates the instance of Open Model from the stream
public static OpenModel LoadFromStream(Stream xmlFileStream)
Parameters
xmlFileStream
Stream-
The input stream
Returns
- OpenModel
-
The new instance of Open Model
LoadFromString(string)
Creates the instance of Open Model from xml string
public static OpenModel LoadFromString(string xmlString)
Parameters
xmlString
string-
The input string
Returns
- OpenModel
-
The new instance of Open Model
LoadFromXmlFile(string)
Creates the instance of Open Model from the XML file
public static OpenModel LoadFromXmlFile(string xmlFileName)
Parameters
xmlFileName
string-
XML file name
Returns
- OpenModel
-
Open Model or null
ReferenceElementsReconstruction(bool)
Should be called after deserialization of the open model from xml
public void ReferenceElementsReconstruction(bool renewReferences = false)
Parameters
renewReferences
bool
SaveToXmlFile(string)
Saves content into file as a XML format
public bool SaveToXmlFile(string xmlFileName)
Parameters
xmlFileName
string-
XML file name
Returns
- bool
-
True if succeeded