8#include "RshPluginBIM/RshPluginBIMDefines.h"
9#include "RshDisplay/Utility/RshMetaTypes.h"
10#include "RshPluginBIM/BIM/SBIM.h"
11#include "RshPluginScript/SClass/SComp.h"
14namespace rsh::ScriptBinding
64 QStringList iStoreyNames = {}
86 :
public SObjectStatic
112 static Array
FromClick() {
return SComp::GetFromClick<SBIM>(SV_BIM); }
117 static Array
FromName( String Name) {
return SComp::GetFromName<SBIM>(Name); }
135 return SComp::GetAll<SBIM>(VisCrit);
159 QStringList iStoreyNames = {}
194Q_DECLARE_METATYPE(SBIM::_SBIMDummy);
195Q_DECLARE_METATYPE(
SBIM);
BIM manipulation class. The SBIM creation can be done by calling the static function New() to copy an...
Definition: SBim.h:22
static String toString()
Get the type of the variable.
static Array FromClick()
Launches a click interaction to select a SBIM in the scene.
Definition: SBim.h:112
Array ConvertPolys()
Convert all filtered geometries into a table of mesh.
static Array FromSel()
To get all the selected SBIM.
static Array FromName(String Name)
Search all the SBIM with the given name.
Definition: SBim.h:117
static SBIM New(SBIM Other)
Constructs an SBIM by copying the SBIM Other.
BIMRepresentationTypeEnum
The different representation types for BIM object. Use SBIM.BIM_COLOR.
Definition: SBim.h:35
@ BIM_COLOR
Definition: SBim.h:38
@ BIM_FLAT
Definition: SBim.h:37
SetBIMRepresentation(BIMRepresentationTypeEnum iRepresentation)
The representation of the component is modified.
Array ApplyFilter(String iFilter="", QStringList iStoreyNames={})
Edit content of the BIM with given filters.
static Array All(Number VisCrit)
To get all the SBIM in the document.
Definition: SBim.h:127
static Array GetMetadata(SPoly iMesh)
Get all metadata associated to the given mesh as list of key and value for each metadata.
String toString()
Get the type of the variable.
static Array FromFile(String iFilename, String iFilter="", QStringList iStoreyNames={})
Import a BIM file (.rvt, .ifc) and apply filters.
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
The SPoly class provides triangular mesh(es) manipulation. The SPoly creation can be done by calling ...
Definition: SPoly.h:39