Changes in the CFx Interface between 2023 and 2024

Platform SDK Upgrades

Windows

  • Platform Toolset: Visual Studio 2019

Qt

  • 5.15.11

SDK Changes

ODA Distribution

  • SDK based on 23.1 release

  • TD_Db is split to a set of new modules: TD_Db, TD_DbCore, TD_DbEntities, TD_DbIO, ISM, WipeOut, RText, ATEXT, SCENEOE, ACCAMERA, AcMPolygonObj15

  • IFC and BimRv API updated to 23.1 version.

  • AEC API updated to 23.1 version

Common UI

New Classes and functions

  • CFxUIModelIndex class

    • UIDataRole enum has new entries: FontRole, BackgroundColorRole

  • CFxUIBaseView class

    • Added visibilityChanged() signal

  • CFxUIBaseView class

    • UIWidthSizePolicy enum has a new entry: eExpanding

  • CFxUIDialog class

    • Added isVisible() method

  • CFxUIDockWidget class

    • Added escapeKeyPressed() signal

    • Added cancelBtnPressed() signal

  • CFxUIImageView class

    • Added clicked() signal

  • CFxUILabel class

    • Added setResourceImage method

  • CFxUIListBox class

    • New CFxUIListBox::SelectionMode enum

    • Added setSelectionMode()

    • Added UserRole parameter to setItemData()/itemData() methods

  • CFxUISpinBox class

    • Added singleStep() method

    • Added setSingleStep() method

  • CFxUISwitchButton class

    • Added setCheckable() method

  • New CFxUIAbstractTableModel class

  • CFxUITableView class

    • New UIMouseClickEvent enum

    • Added clearSelection() method

    • Added selectedIndexes() method

    • Added setHorzHeaderHidden() method

    • Added mouseClicked() signal

  • CFxUITabWidget class

    • Added setTabEnabled() method

  • CFxUIWebView class

    • Added setUrl() method

    • Added runJavaScript() method

    • Added messagePosted() signal

  • New CFxUIFlyout class in FxUIFlyout.h

  • New CFxUIListView class in FxUIListView.h

  • New CFxUIAbstractListModel class in FxUIListView.h

Modified Classes and Functions

  • Moved EchoMode enum to CFxUITextEdit

FDT/FDTU

  • Updated KEY_STR_MAX definition to 255

CFx Kernel

New Classes and functions

  • New CFxDatabase System Variables: PUCSALL

  • CFxHitTestInfo class

    • Added GetMousePositionF() method

  • CFxPluginInfo class

    • Added _bStandalonePlugin member

  • CFxPreferencesSystem class

    • Added GetLispDebugPort() virtual method

    • Added SetLispDebugPort() virtual method

    • Added GetLispDebuggerEnabled() virtual method

    • Added SetLispDebuggerEnabled() virtual method

    • Added GetOpenPDF() virtual method

    • Added SetOpenPDF() virtual method

  • New CFxPreferencesCloudStorage class in FxPreferences.h

  • CFxPreferences class

    • Added CloudStorage() virtual method

  • New CFxSelectionSetFilter class in FxSelectionSetFilter.h

  • CFxSelectionSet class

    • Added SetCustomFilter() virtual method

    • Added GetCustomFilter() virtual method

    • Added AddObjectFilter() virtual method

    • Added ClearObjectFilters() virtual method

  • CFxSelectionData class

    • Added GetMode() virtual method

  • CFxString class

    • Added clear() method

  • CFxSystemFiles class

    • Added GetSessionFolder() virtual method

  • CFxUnitsFormatter class

    • Added GetUCS2WCS() method

    • Added UCS2WCS() method

  • CFxUserIO class

    • Added GetNoteEditor() method

  • CFxView class

    • Added GetVpNum() method

  • CFxViewDrawInfo class

    • Added IsOrbitMode() method

    • Added SetOrbitMode() method

    • Added GetVpNum() method

    • Added GetVisualStyle() method

  • New CFxIconizableDockWidget class in FxIconizableDockWidget.h

  • New FxLogging::CFxLogFile class in FxLogging.h

  • New CFxNoteEditorConfig class in FxNoteEditorConfig.h

  • New FxSDKVersion.h

  • New System Variables: CURSORTYPE, RIBBONCONTEXTUALMODE, NAVVCUBEORIENT, MILLISECS, PDFSHX

Modified Classes and Functions

  • CFxPicture class

    • Updated CreateFromGLBuffer() method signature

  • Updated definitions for Snap modes: SN_GCEN, SN_APPINT, SN_FROM, SN_NON

  • CFxCommandContext class

    • Removed selectionSet() method

BIM

New Classes and functions

  • Error enum has a new entry: eUnsupportedTRBGeometryDefinition

  • FxBIM namespace

    • Version enum has a new entry: k2023

    • New BimUnitsStyle enum

    • New BimLabelUnitsPolicy enum

    • Added System Variables: BIMUNITSSTYLE, BIMAUTOFILTER, BIMAUTOTEMPLATE

    • Added getImportScaleLabel

  • CFxBIMEntity class

    • Added new Geometry() virtual method

  • New CFxBIMEntityGeometry class in FxBIMEntityGeometry.h

  • New CFxBIMUnitsclass in FxBIMUtils.h

  • CFxBIMEntityReference class

    • Added AddSectionId() virtual method

    • Added RemoveSectionId() virtual method

    • Added InvalidateHashedSections() virtual method

    • Added ResetBimEntityId() method

    • Added IsVisibleToSections() virtual method

    • Added SetVisibleToSections() virtual method

  • CFxBIMFloor class

    • Added SetOriginalTransform() method

    • Added GetOriginalTransfrom() method

  • CFxBIMSection class

    • Added AddEntRef() virtual method

    • Added AddEntRefs() virtual method

    • Added RemoveFromEntRefs() virtual method

  • Added CFxBIMDatabasePtr typedef

  • CFxBIMStorage class

    • Added DatabaseRef() virtual method to

Modified Classes and Functions

  • FxBIM namespace

    • Updated getRotation and setRotation method signatures.

  • Moved CFxBIMUnits class to FxBIMUnits header file

  • CFxBIMEntity class

    • Removed GeometryView struct

    • Removed GeometryContainer struct

    • Removed Generate2dGeometry() virtual method

    • Removed Views() virtual method

    • Removed Geometry() virtual method

    • Removed FxBody struct

  • CFxBIMSection class

    • Removed SourceViews() virtual method

    • Removed SourceView() virtual method

    • Removed SetSourceView() virtual method

  • CFxBIMFloor class

    • Added OdGeMatrix3d parameter to Create() method