In MicroStation properties are displayed in certain categories(groups). Each Category contain different properties in it.
These category and property display sequence can be controlled using CustomAttributes. So, this blog provides information and code snippets which demonstrates "How to do Grouping and sorting ECProperties in EC property pane".
1. Category sorting :
Category sorting is achieved through Category…
With Microstation CE U14, we are introducing a way to listen to DgnEC instance and relationship change events at both Native DgnPlatform and Managed DgnPlatformNet layers w.r.t. the following interfaces: Bentley::DgnPlatform::IDgnECChangeListener & Bentley.DgnPlatformNet.DgnEC.IDgnECNetChangeListener
In this blog, I am going to explain how can we use IDgnECChangeListener and IDgnECNetChangeLi…
An expression is a text string that defines the syntax to be evaluated by the expression evaluator. The expression input can comprise of numbers, strings, access strings, symbols, and operators. Once you attach an item type with an expression defined, the corresponding value of the expression will display in the element's Properties dialog.
This blog provides some code snips that demonstrate “How to add new EC…
In MicroStation CONNECT Edition, we can use Database APIs to write Database apps. Here is a simple guide for the basic programming.
1. Create a new DGN file.
2. Prepare a valid Oracle database(You can use other databases also).
1. Write preparative variables and functions.2. Connect to an oracle database.3. Create MSCATALOG table.4. Create table "ELEMENTS" with “MSLINK” and “NAME”…
I mentioned ItemTypeLibraryMgr in a post on the Forum. It's a helper class to wrap common usage of the MicroStationAPI with Item Type libraries. Use at your own risk. Support is not included.
You need these headers...
Here's the class declaration...
This blog demonstrates how to use Item Types Native, COM and Managed API's for following operations:
This blog provides code snippets that demonstrate how to use EC Expression with properties:
Expressions currently work with Primitive properties. They do not support Struct or Array type of properties.Below steps explain how to use Managed and Native EC Expression API’s with EC Property:
The much anticipated MicroStation CONNECT Update 13 (product) will be releasing very soon. Literally, possibly: any moment now...
The MicroStation Platform/PowerPlatform Team has been very busy working hard to provide numerous quality and performance improvements and new features too. If interested in some of the latest product changes consider taking a moment (now) to navigate to: MicroStation CONNECT Edition Update…
I wanted to try out C# and the MstnPlatformNet API to harvest Item Type instance data. After obtaining help from Jan Šlegr and Paul Connelly on the Programming Forum, I wrote the ItemInstanceCollector Visual Studio project.
The project creates the ItemInstanceCollector DLL. It uses a programmatic approach to obtain an Item Type EcSchema object, and shows how to use that object to harvest Item Type instance data…
LINQPad is one of those tools you should not be without.
LINQPad lets you cut-and-paste a C# or VB.NET code fragment or program and execute it. It's useful for testing functionality in isolation from your application.
If you're working with relational databases, such as Access or Oracle or hierarchical databases such as XML documents, then LINQPad provides even more…
For many years we have written dialog item hook functions using procedural code. You can continue that way with MicroStation CONNECT, but the MicroStationAPI offers a better way: dialog and dialog item hook classes.
The hook classes replace the MDL switch decision tree with the DialogHookHandler and DialogItemHookHandler classes that provides virtual event handler methods such as _OnCreate(). The ListModelManager class…
MicroStation CONNECT Edition Update 12 (and SDK) releases are fast approaching. We would like to inform you in this release MicroStation and the SDK have set VS2017 as our default toolset used to build applications. For those that have asked MicroStation CONNECT SDK U12 will be the first release to provide support for VS2017 and be set as the default toolset. For everyone not already using VS2017, we recommend you install…
A VBA programmer can open a DGN file using two methods: OpenDesignFile and OpenDesignFileForProgram. This blog attempts to clear up confusion between the two, and which one to use.
Prefer OpenDesignFile to OpenDesignFileForProgram! OpenDesignFile opens a DGN file in the same way that a user would open a DGN file. Everything you expect to be available is available: level libraries, text styles, reference…
This blog provides some code snips that demonstrate how to use DgnEC Native and Managed API’s for following:
On behalf of the BDN and Platform development teams I would like to announce some current work-in-progress (WIP) being performed to the Bentley Programming Communities to provide more useful/needed information, resources, and updates moving forward. Here are a few highlights some of you might have recently noticed and if not, no worries - let's explore some of the recent changes implemented:
BDN developers, MicroStation users need your applications to work with CONNECT Edition applications. Why?
It’s time to update because MicroStation users are updating to the CONNECT Edition and want your applications for their workflows. Additionally, support…
Is there any comprehensive documents for porting from V8i SDK to Connect SDK?
I have found some answers by googling or searching this groups, but I would prefer to have full list of changes. For example, what happened to dlmSystem_callAnyFunction or mdlText_fontExists?