Inheritance diagram for RevitReader:Public Types | |
| enum | LevelOfDetail { LevelOfDetail::ReaderGuessed = 0, LevelOfDetail::Coarse = 1, LevelOfDetail::Medium = 2, LevelOfDetail::Detailed = 3 } |
| enum | VisualStyle { VisualStyle::ReaderGuessed = 0, VisualStyle::Shaded = 1, VisualStyle::Textures = 2, VisualStyle::Realistic = 3 } |
Public Member Functions | |
| virtual Dtk_ErrorStatus | _ReadConnectedEntity (const Dtk_NodeConnectorPtr &inConnector, Dtk_tab< Dtk_EntityPtr > &outEntity) |
| virtual Dtk_ErrorStatus | ActivateReader ()=0 |
| virtual Dtk_ErrorStatus | CreateDocument (const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)=0 |
| virtual Dtk_ErrorStatus | CreateDocumentGraphical (const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)=0 |
| virtual Dtk_ErrorStatus | DesactivateReader ()=0 |
| virtual Dtk_ErrorStatus | EndComponent (Dtk_ComponentPtr &inComponent)=0 |
| virtual Dtk_ErrorStatus | EndPopulateComponentsTree ()=0 |
| virtual Dtk_ErrorStatus | GetAssociatedEntities (Dtk_Node &inNode, Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities) |
| virtual Dtk_ErrorStatus | GetConnectorsPointingToThisComponent (Dtk_Component &inCompo, Dtk_tab< Dtk_NodeConnectorPtr > &outConnectedEntities) |
| virtual Dtk_ErrorStatus | GetFilePreview (const Dtk_string &inInputFile, Dtk_PreviewPtr &outPreview)=0 |
| virtual Dtk_ErrorStatus | GetFileVersion (const Dtk_string &inInputFile, Dtk_string &outVersion)=0 |
| virtual Dtk_Int32 | GetVersion ()=0 |
| virtual Dtk_ErrorStatus | PopulateComponentsTree (const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)=0 |
| virtual Dtk_ErrorStatus | PopulateComponentsTree (const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)=0 |
| virtual Dtk_ErrorStatus | ReadAdditionalInfos (Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)=0 |
| virtual Dtk_ErrorStatus | ReadAdvancedFeature (Dtk_Node &inNode, Dtk_ObjectPtr &outEntity) |
| virtual Dtk_ErrorStatus | ReadComponent (const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)=0 |
| virtual Dtk_ErrorStatus | ReadComponentGraphic (const Dtk_ComponentPtr &inComponent, Dtk_GraphicalDataPtr &outGraphicalData) |
| virtual Dtk_ErrorStatus | ReadEntity (Dtk_Node &inNode, Dtk_EntityPtr &outEntity)=0 |
| SetAsDeprecated ("2025.4", "Metadata are now always retrieved.") static void SetConfigRevitReadMetadata_Deprecated254(Dtk_bool) | |
| Use to able/disable reading of Revit properties. By default, properties reading is enabled. More... | |
| SetAsDeprecated ("2025.4", "Use SetConfigRevitVisualStyle( VisualStyle ) instead.") static void SetConfigRevitRealisticView_Deprecated254(Dtk_bool) | |
| [Options] More... | |
| SetAsDeprecated ("2025.4", "Views are now always retrieved.") static void SetConfigRevitReadViews_Deprecated254(Dtk_bool) | |
| Use to able/disable reading of Revit 3d views. By default, view reading is enabled. More... | |
| virtual | ~RevitReader ()=0 |
Static Public Member Functions | |
| static Dtk_bool | Enable () |
| static void | SetConfigLevelOfDetail (LevelOfDetail) |
| Use to retrieve only geometry corresponding to a specific level of detail. By default, level of detail retrieved is the one set in default view ({3D}) or "Detailed" if no default view exists. More... | |
| static void | SetConfigReadLinkedModel (Dtk_bool) |
| Use to enables reading of Revit Linked Models, which file should be located in the same folder as the main project. More... | |
| static void | SetConfigRevitOrderCompo (Dtk_Int32) |
| Use to provide the same component organization as IFC or a flat one. By default, components are organized as in IFC. More... | |
| static void | SetConfigRevitVisualStyle (VisualStyle) |
| Determine which Revit visual style to use for convertion. The visual style determines which material color to apply on objects with material. See Autodesk documentation on Revit Visual Styles for detailed information. More... | |
Protected Member Functions | |
| void | _Init () |
| void | _Reset () |
| Dtk_ErrorStatus | _WriteInventoryInLogFile (Dtk_ID inID, int inNum, int *inCount, char **inEntitiesName) |
Protected Attributes | |
| Dtk_string | _InputFile |
| FILE * | _InputFilePtr |
|
strong |
|
strong |
|
pure virtual |
|
protectedinherited |
|
virtualinherited |
Reimplemented in GltfReader.
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
static |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtualinherited |
Reimplemented in StepReader, SolidEdgeReader, ProeReader, GltfReader, CreoviewReader, and BRepOccReader.
|
virtualinherited |
Reimplemented in StepReader, SolidEdgeReader, ProeReader, GltfReader, CreoviewReader, and BRepOccReader.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtualinherited |
|
pure virtualinherited |
|
virtualinherited |
Reimplemented in StlReader, StepReader, ProeReader, PlmXmlReader, IfcReader, GltfReader, FbxReader, and CreoviewReader.
|
pure virtualinherited |
| RevitReader::SetAsDeprecated | ( | "2025.4" | , |
| "Metadata are now always retrieved." | |||
| ) |
Use to able/disable reading of Revit properties. By default, properties reading is enabled.
| DTK_TRUE | to read Revit properties or DTK_FALSE otherwise. |
| RevitReader::SetAsDeprecated | ( | "2025.4" | , |
| "Use SetConfigRevitVisualStyle( VisualStyle ) instead." | |||
| ) |
[Options]
Use to render as in revit "Realistic" and "Texture" visual style for views (with textures). By default, texture reading is disabled (as in "Shaded" style).
| DTK_TRUE | to render texture or DTK_FALSE otherwise. |
| RevitReader::SetAsDeprecated | ( | "2025.4" | , |
| "Views are now always retrieved." | |||
| ) |
Use to able/disable reading of Revit 3d views. By default, view reading is enabled.
| DTK_TRUE | to read Revit views or DTK_FALSE otherwise. |
|
static |
Use to retrieve only geometry corresponding to a specific level of detail. By default, level of detail retrieved is the one set in default view ({3D}) or "Detailed" if no default view exists.
| The | desired level of detail to be retrieved for geometry. |
|
static |
Use to enables reading of Revit Linked Models, which file should be located in the same folder as the main project.
| DTK_TRUE | to enables the feature, DTK_FALSE to only process the main model. |
|
static |
Use to provide the same component organization as IFC or a flat one. By default, components are organized as in IFC.
| DTK_TRUE | to organize component as IFC (by Building, Level and element Category) or DTK_FALSE for flat organization. |
|
static |
Determine which Revit visual style to use for convertion. The visual style determines which material color to apply on objects with material. See Autodesk documentation on Revit Visual Styles for detailed information.
[Options]
| The | desired visual style to use for convertion. |
|
protectedinherited |
|
protectedinherited |