This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MicroStation CONNECT Edition SDK Update 17.0

August 24, 2022

The MicroStation SDK team is pleased to announce the release of the MicroStation CONNECT Edition SDK Update 17.0 (MSCE SDK U17.0). The current release provides several enhancements in the following areas:

Executive Summary

Keep Current

Requirements

MicroStation CONNECT Edition 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)

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
    • 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 CONNECT Edition SDK releases are generally available within 2 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 Breaking Changes are mentioned 
  • Bug FixesReview Resolved Defects: MicroStation CONNECT Edition - Resolved Issues
  • Breaking Changes - N/A

Changes

MicroStation Developer Shell
SDK Root
  • MicroStationDeveloperShell.bat. Minor feature updates
Bin
  • Updated Libraries: Microsoft.Build.*.dll, VisualStudio.*.dll, System.*.dll
  • SDKCommon.bat
    • Check elevation via net session vs openfiles to improve LUA compliance
    • Improve Visual Studio Editions to identify with
    • Improve SDKPRODWORKSPACES identification
  • SDKMacros.bat
    • Provide :DefineLegacyMacros to effectively replace (legacy) scripts: builddemo.bat and opensln.bat
Documentation
  • Incremental API Updates. See: Include section (below) and ChangeLogs
Examples
  • Updated (New) PickListConditionalProvider functionality in:
    • DgnEC\PickListProviderExample\ManagedExample
    • DgnEC\PickListProviderExample\NativeExample
  • Added
    • DgnEC\ReportCalculatedColumnExample
    • DgnEC\\ReportSrNoColumnExample
  • NOTE: SrNo is an abbreviation for "Serial Number"
Include
  • Constraint2d\Constraint2dCoreAPI.h
    • Update: Constraint2dData
  • DgnGeoCoord\DgnGeoCoord.h
    • Add: BaseGCSCartesianFromUors, GetLinearTransformToBaseGCS
  • DgnIModel\publish\IModelPublisherOptions.h
    • Add: GetIsPublishOnlyOperation, SetIsPublishOnlyOperation
  • DgnPlatform\Tcb\toolset.r.h
    • Add: useReferenceScale
  • DgnPlatform\CustomItemType.h
    • Add: GetValueFromContext
  • DgnPlatform\DgnECManager.h
    • Add: RegisterSrNoProvider, UnRegisterSrNoProvider, GetNextPriorityValueForSrNo
    • Add: IsSchemaContainedWithinFile (Param: includeReferenceAttachments)
  • DgnPlatform\DgnPlatform.h
    • Add: IConstraintTopology, ISrNoProvider
    • Add: TextTableStyle, TextTableStyleLibrary
    • Add: STRING_LINKAGE_KEY_TPFFileName
  • DgnPlatform\DgnPlatform.r.h
    • Add: Enums (DEFDGNDWGDXF_ID, DEFTPFFILE_ID, DEFDGNWSFILE_ID)
    • Add: ViewFlags.itemtypetext
  • DgnPlatform\DgnPlatformErrors.r.h
    • Add: DGNOPEN_STATUS_BadIfcFile
  • DgnPlatform\DisplayFilter.h
    • Add: ViewFlag_ItemTypeText, CreateViewActiveACSTest
  • DgnPlatform\DisplayFilterManager.h
    • Add: DisplayFilterOpCode_ViewActiveACS
  • DgnPlatform\ECReportNode.h
    • Add: CalculatedColumnDefinitionNode, SummaryAggregateOptions
    • Add: GetExpression, GetExpressionFailValue, GetExpressionUnit, GetExpressionType
    • Add: SetExpression, SetSrNoColumnFormat, GetColumnSummaryOption, SetColumnSummaryOption
    • Add: IsGroupBySet, SetGroupBy, GetColumnAggregateOption, SetColumnAggregateOption
    • Add: IsColumnVisible, SetVisibility, SrNoFormats, SrNoColumnDefinitionNode
    • Add: GetSummaryRow, GetFilteredSummaryRow
    • Remove: ReportResultOption
  • DgnPlatform\IAuxCoordSys.h
    • Add: ACSFlags::ShowGeometry
  • DgnPlatform\LevelCache.h
    • Add: SetByLevelLineStyle
  • DgnPlatform\Light.h
    • Add: GetShadowDensity, SetShadowDensity
  • DgnPlatform\ParametricModeling.h
    • Add: ParameterCsvSection:: (Min, Max, Folder)
  • Add: DgnPlatform\SrNoProviders.h
  • DgnPlatform\TextTableHandler.h
    • Add: TableSymbologyValues::CopyTo
  • Add: DgnPlatform\TextTableStyle.h
  • Add: DgnPlatform\ViewportDrawnCellHandler.h
  • DgnView\DgnRegionElementTool.h
    • Add: ValidateRegionParams, GetRegionPointsCount
  • ECObjects\ECExpressions.h
    • Add: ExpressionStatus, MethodSymbol::Create
  • GeoCoord\BaseGeoCoord.h
    • Refactor (multiple files): BENTLEY_GEOCOORD_PP_NAMESPACE to namespace GeoCoordinates
    • Add: ClearConverterCache, InitFromWellKnownText, SetUnitByKeyname, SetVerticalDatumByKey
    • Add: GetDistanceInMeters, UsesAGeocentricMethod
  • GeoCoord\GCSLibrary.h
    • Refactor: Compiler options
  • Geom\ClipPlane.h
    • Add: GetLocalToWorldTransform
  • Geom\ClipPlaneSet.h
    • Add: PolyfaceIndexedHeapRangeTree, ConvexClipPlaneSet
    • Add: ClipPlaneSet::FromSweepBetweenCompatibleConvexPolygons, ClipPlaneSet::FromSweepBetweenCompatiblePolygons
    • Add: ClipPlaneSetIntersectPolyface.distanceTolerance
    • Add: ClipPlaneSetIntersectPolyface, ClipPlaneSetIntersectPolyface
  • Geom\CurveDetails.h
    • Add: EvaluateConsistentFrames
  • Geom\CurveVector.h - Minor documentation corrections
  • Geom\dellipse3d.h
    • Add: FromZPlaneInRanges
  • Geom\DPoint3dOps.h
    • Add: IsColinear, SplitToConvexPartsXY, FixupAndTriangulateProjectedLoopsWithSplits
  • Geom\MSInterpolationCurve.h
    • Add: Populate
  • Geom\Polyface.h
    • Add: CompareA, CompareAWithTolerance, InOutClassificationFromHits, TryGetIntColorAtReadIndex
    • Add: Compress, CloneWithMaximalPlanarFacetsExt, enum ComputeSingleSheetOption, ComputeSingleSheetCutFill
    • Add: EnsureIntColor, AppendDRay3dIntersectionFacetLocationDetails, CollectdDRay3dIntersectionFacetLocationDetailsAtCandidates
  • Geom\transform.h
    • Add: FromRangeMapping
  • Mstn\Constraint2dElement\ConstraintHandlerBase.h
    • Add: _GetIsAnchor, _SetIsAnchor, _GetElementRefs
    • Add: GetElementRefs, _FindReferencesByVariableName
  • Mstn\MdlApi\dlogids.r.h
    • Add: DIALOGID_SheetIndexCreate, PULLDOWNMENUID_AutoUpdateModes
    • Add: MENUSEARCHID_AutoUpdateAlways, MENUSEARCHID_AutoUpdateNever, MENUSEARCHID_AutoUpdateAsk
  • Mstn\MdlApi\helpids.r.h
    • Add: HELPID_PULLDOWN_CellSub_AutoUpdate
  • Mstn\MdlApi\msdim.fdf
    • Add: Documentation - Example use of replaces the strings in a dimension
  • Mstn\MdlApi\userpref.r.h
    • Add: enableItemTypePropagation, confirmLocalEllipsoidVerticalDatum, sortAllVariables, sortAllVariablesDoNotShow
    • Add: constraintRemoveVariables, constraintRemoveVariablesDoNotShow, updateAllVariations
  • Mstn\PSolid\mssolid.fdf - Updated required library to: mspsolid.lib
  • Mstn\SmartFeature\SmartFeatureAPI.h
    • Add: ExtrudeAlongSettings, CreateExtrudeAlongFeature
  • Mstn\cmdlist.r.h
    • Removed: CMD_SAVE_AS_V7, CMD_EXPORT_V7
  • PointCloud\PointCloud.h
    • Add: PointCloudContextStatus, PointCloudFormat, PointCloudContextStatus GetContextStatus, PointCloudFormat GetFormat
  • PointCloud\PointCloudImportExport.h
    • Add: GetNumExporterPasses, SetPass, SetExporterByExtension
Library
  • N/A
Migration Tools
  • N/A
MKI
  • Various make files (*.mki)
    • WIP - More VS2022 framework updates: commands, macros, rules,  tools and versions

Resources

Related

Available Languages: Chinese, EnglishGerman