MicroStation Announcements Forum - MicroStation 2024 SDK (24.00.00.114)
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Blog

MicroStation 2024 SDK (24.00.00.114)

by
Robert Hook
Expert
Created: (Edited: )

August 20, 2024,

The MicroStation SDK team is pleased to announce the commercial release of MicroStation SDK 2024 (24.00.00.114) for use with MicroStation 2024.00.00.170 (Download).

Executive Summary

Keep Current

Requirements

MicroStation SDK native (C/C++) and managed code (.NET add ins) development requires:

Bentley Visual Studio Templates

Microsoft Visual Studio Configuration Recommendations

Visual Studio - Workload Dependencies

  • .NET Desktop Development
  • Desktop development with C++ (Provides: DIA SDK)
  • Universal Windows Platform development (Provides: Windows 10 SDK, or Download)

image

Visual Studio - Installing and Configuring

Visual Studio - Toolset location Changes

Note: Microsoft recommends binding 1 Toolset (version) per 1 Development Shell (environment instance)

Release Notes

  • General
    • Updated Copyrights applied to: Headers, Examples and Documentation; to reflect: Copyright (c) 2024.
    • Some CHM files are Missing in this release of the SDK and can be obtained and manually installed from here.
    • Modify the Desktop and/or Start Charm/Menu shortcut properties to enable: "Run as Administrator"
    • MicroStation SDK releases are generally available within 2 to 4 weeks of a respective closely paired MicroStation product release
    • To ensure maximum compatibility and stability of your applications:
      • Recompile custom applications when Microsoft Visual Studio version changesor if Breaking Changes are mentioned 
  • Bug FixesReview Resolved Defects: MicroStation - Resolved Issues
  • Breaking Changes - N/A

Changes

MicroStation Developer Shell
  • Developer shell received significant updates implementing a common library (sdklib.bat)
    to improve consistency, features and stability.
    • SDKTRACE logging added.
SDK Root
  • MicroStationDeveloperShell.bat - Updated
Bin
  • SDKCommonEnv.bat - Improve Visual Studio and Add Python integrations
  • SDKMacros.bat - Added MicroStation VBA and MicroStation Python (sdkmacros)
  • SDKPrefs.bat
    • Initialize earlier and improve vertical integration.
    • Update URLs for new Bentley Communities
  • SDKSearch.bat - Update sdksearch for new Bentley Communities
  • SDKTips.txt - Added:
    • MicroStation VBA, MicroStation Python (sdkmacros) and Policies sections
Documentation
  • Updated SDKHELP to open MicroStationAPI.chm (default) or,
    open/recommend SDKHELP.CHM if present
  • Incremental API Updates.
    See: Include section below, SDK Announcements and legacy ChangeLogs
Examples
  • N/A
Include
  • Bentley\btree\btree_map.h - Add: emplace() bmap to Python
  • Constraint2d\Constraint2dCoreAPI.h - Add: Clear
  • DgnGeoCoord\DgnGeoCoord.h
    • Add: BaseGCSCartesianToUors, GetLinearTransformFromBaseGCS,
      GetLinearTransformECEF
  • DgnPlatform\DgnFileIO\ElementRefBase.h
    • Add: SetInDisplaySet, IsInDisplaySet
  • DgnPlatform\Tcb\toolset.r.h - Add: isAssociative
  • DgnPlatform\DgnAttachment.h - Add: IsUntransformedAttachment
  • DgnPlatform\DgnViewport.h - Add: FITMODE_CRSDomain
  • DgnPlatform\MultilineStyle.h - Add: MultilineSymbology
  • DgnPlatform\ParametricModeling.h - Add: ExpressionFailure
  • DgnPlatform\PickList.h - Add: DGNPLATFORM_EXPORT to:
    • PickListValue, PickListValueR, PickList, PickListR
  • DgnPlatform\TextTableHandler.h - Change (add boolean):
    • SetTextBlock, CreateEmptyTextBlock
  • ECObjects\ECValue.h - Add: ECPropertyValue
  • GeoCoord\BaseGeoCoord.h
    • Add: ReprojectRange and ReprojectRange2D
  • Geom\ClipPlaneSet.h - Update: Comments
  • Geom\CurveVector.h - Add: HasNestedUnionRegion, FlattenNestedUnionRegions
  • Geom\Polyface.h
    • Update: Comments
    • Add: ReverseIndicesWithTest, IsFacetOrientationConsistent and
      CloneWithConsistentlyOrientedFacets
  • Geom\rotmatrix.h
    • Update: Comments
    • Add: IsIdentity, IsOrthonormal, IsRigidSignedScale
  • MSPythonCore\MSPython.h (New)
  • Mstn\MdlApi\dlogids.r.h
    • Add: MESSAGECENTER_WorksetDissociated, MENUSEARCHID_CellFile_FileHistoryBegin, MENUSEARCHID_CellFile_FileHistoryEnd, MENUSEARCHID_CellLibSub_HistorySep, ICONCMDID_NAMEDVW_UpdateProperties
    • Removed: GeoCoordinationServices macros
  • Mstn\MdlApi\GeoCoordinationServicesDialog.h (Removed)
  • Mstn\MdlApi\leveltable.fdf - Add: mdlLevel_copyLevelEx
  • Mstn\MdlApi\msimage.fdf - Add: mdlImage_saveViewToRGBA
  • Mstn\MdlApi\msparse.fdf - Add: PyKeyin, PythonKeyinMap, PythonKeyinManager,
    LoadCommandTableFromXml, GetKeyinFromCmdNumber
  • Mstn\MdlApi\mspop.h - Add: mdlPop_decimatePolyBrep
  • Mstn\MdlApi\rmdlgids.r.h
    • Add: ERROR_BriefXWMTSToolCannotBeUsed, ERROR_DetailedXWMTSToolCannotBeUsed, ERROR_BriefAMISToolCannotBeUsed, ERROR_DetailedAMISToolCannotBeUsed, ERROR_BriefXWCSToolCannotBeUsed, ERROR_DetailedXWCSToolCannotBeUsed
    • Update: MISCID_ProxyAuthenticationRequired, MISCID_AuthenticationRequired
  • Mstn\MdlApi\rscdefs.r.h - Add: IMODELSYNC_MessageCenterMessages
  • Mstn\PythonMacro
    • PyCadInputQueue.h (New)
    • PyCExpression.h (New)
    • PyCommandState.h (New)
    • PyEventHandler.h (New)
  • Mstn\cmdlist.r.h - Add: CMD_SET_REFRESHCELL, CMD_ACTIVE_USEMLINESTYLESCALE, CMD_ACTIVE_USEMLINESTYLESCALE_ON, CMD_ACTIVE_USEMLINESTYLESCALE_OFF, CMD_ACTIVE_USEMLINESTYLESCALE_TOGGLE, CMD_IMODELSYNC, CMD_IMODELSYNC_INSTALL, CMD_IMODELSYNC_UPDATESTUDIO
  • Mstn\ISessionMgr.h - Add: IsPwDriveItwinConfig, GetStudioRegHKEY
Library
  • N/A
Migration Tools
  • MigrationTools\ApiRemapper.py - Update: print statements
  • MigrationTools\Migrate.bat - Update:
    • Remove Python 2.7 requirement
    • Consume installed MicroStation Python (requirement)
MKI
  • AssertToolSet.mki - Update: VS_DEV_CMD_INCLUDE_MKI_FILE_NAME (support spaces)
  • CaptureCommandEnv.py - Add: 1939, 1940
  • mdl.mki - Remove: .dll.signed, .DLL.signed
  • signrightscompliantdefs.mki - Remove: dllsignTool, dllsignrc1cmd
  • signrscsdefs.mki - Add/Update: VeraCode and SignCode; tools and service support.
  • winntmdl.mki - Add/Update: VeraCode and SignCode; tools and service support.

Work Items

PBI 1496378

MSPPSDK-v24-0-0 Updates:

  • 1495446: Add Visual Studio Developer Shell Integration - Alt Version Override Support
  • 1495444: Add MSPython Developer Shell Integration
  • 1495441: Update SDKTIPS
  • 1495436: Fix SDKHELP
  • 1495434: Add New SDKMACROS
  • 1495431: Update SDK Macros from Telligent to ServiceNow (32 links)
  • 1495428: Update SDKSEARCH to search ServiceNow Bentley Communities
  • 1495424: Add SDK Tracing to all Developer Shell Scripts
  • 1495420: Add SDK Logging
  • 1495406: Add Common Library SDKLib.bat

Resources

 

 


Comments are currently disabled for this post.