Browse By Tags

  • [CONNECT C++] Report Aggregates

    MicroStation CONNECT Update 15 introduced Report Aggregates . Is there a timetable to add that welcome functionality to the MicroStationAPI?
  • [CONNECT C++] ColumnDefinitionNode::GetFormattingOptions Needs Fixing

    ColumnDefinitionNode::GetFormattingOptions is broken There's currently no way to apply formatting to a Report column programmatically. It's not possible to get the column formatting options. Paul Connelly said: Looking at the implementation of GetFormattingOptions…
  • [CONNECT C++] ColumnDefinitionNode::GetFormattingOptions (bool createIfNotFound)

    ECN::IECInstancePtr formatOptions { columnNode->GetFormattingOptions (true) }; Once I've modified formatOptions , how do I pass those data back to my columnNode ? I don't see a ColumnDefinitionNode::SetFormattingOptions() method.
  • [CONNECT C++] Report: format column of element data

    How does one create a Report column definition that formats an element property? For example, if I manually create a Report about text elements I can add the element origin. Then I right-click to format it... The Report now includes the formatted…
  • ReportDefinitionNode::RemoveAllAssociations() should be moved to the published API

    If any Tables have been placed with associations to a Report definition, they will not be cleaned up when removing a Report definition by DeleteNode() . If the user tries to refresh a Table 's contents from its associated Report definition, the refresh…
  • [CONNECT C++] Delete a ReportDefinitionNode

    I can find a ReportDefinitionNode like this... ReportDefinitionNodePtr node = ReportDefinitionNode::FindByPath (L"category\definition-name", *activeDgnFile); How can I delete that node?
  • [CONNECT C++] Add DGN File Name to Report

    I want to create a Report programmatically. The Report should have a column that displays the DGN file name where an Item is found. In a related question I found how to add a DGN model name to a report... DgnECHostRelationshipSpecificationList hostList;…
  • [CONNECT C++] Add DGN Model Name to Report

    I'd like to add the active DGN model name to a Report . I'm looking at the ReportsExample delivered with the SDK What I'd like to see is a report of the Item Types defined by commands CMD_REPORTSEXAMPLE_CREATE_ITEMTYPES CMD_REPORTSEXAMPLE_ATTACH_ITEMTYPES_TOELEMENT…
  • [CONNECT C++] Translate ECQuery to Report Filter

    My code can build an ECQuery that interrogates Item Type instances. I would like to create a Report that emulates that ECQuery. Is there any way to translate an ECQuery to a Repor t filter? That is, user has queried a set of elements by filtering their…
  • [CONNECT C++] Item Types -- Report Definition fails

    My code for AreaAnnotator creates an Item Type definition in the active DGN file if one doesn't already exist. That works fine, and I can add Item data to shape elements. The code also attempts to define a Report , and I am failing miserably. Here's…
  • [CONNECT C++] Item Types -- Report Sort Order and Priority

    Item Type Reports seem to have two qualifiers for sorting: order and priority. When we design a Report interactively we can set the sort order to be ascending or descending... Note that the dialog does not refer to priority. A SortingGroupNode…
  • [CONNECT C++] Item Types - Report Filter Syntax

    SDK example ReportsExample shows how to define an Item Type Report programmatically. There is a commented line that illustrates a filter, to restrict the rows generated in the Report ... reportNode->SetRowFilter (L" this.DgnCustomItemTypes_VendorCatalogItem…
  • [CONNECT C++] Pass ECQuery to Table

    Suppose I have composed an ECQuery programmatically (see WhereCriterion::CreateStringFilter() ). How can I create (a) a Report and (b) a Table using that query?
  • [CONNECT C++] Report Column displays 'TotalLength' from Complex String, Line String and Line Elements

    The following code adds two columns to a Report . The first shows the Total Length property of Complex String elements, the second shows the Total Length property of Line Strin g and Line elements... AddColumn (*groupNode, L"BaseElementSchema", L"MstnComplex…