Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

[CONNECT C++] The API change in the new toolkit

Dear experts,I am using 10.00.00.28 MicroStation release. I found that the following API is removed in the toolkit API corresponding to 10.00.00.28 MicroStation release. This API is ever used to get...

View Article


[CONNECT C++] Change Font of a Run

Is there any way to change the font of a run in a TextBlock? The only way I can see is to "Remove()" the Run's text, and "Insert()" it back after setting a new RunProperties...

View Article


Image may be NSFW.
Clik here to view.

The 2017 Top Programming Languages

The IEEE published its annual appraisal of programming language popularity. Python jumps to No. 1, and Swift enters the Top Ten. R is pretty high on the list.Regards, Jon Summers

View Article

Image may be NSFW.
Clik here to view.

[V8i C++] The closed curve is recognized as curve or surface?

HiIf I create a closed curve in Mirostation V8i, and see it in "Smooth" display, the area of the curve will be filled. The picture below shows the closed curve in the display style of "Wireframe" and...

View Article

Upgrading V8i MDL Apps to Connect

Is there any documentation on the absolute basic essentials to implement when porting from V8i mdl's to Connect?.  I have written a few mdls in the past and want to now re-compile them for Connect.  I...

View Article


[CONNECT C++] Reporting Element Properties

The SDK example ReportsExample shows us how to specify Item Types to be used in a report.How do we add element properties to a report definition?  For example, if my schema should be attached only to...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] DGN mesh model face loop orientation

I create a simple cube mesh in the MicroStation. By the toolkit API, I found that the face normal is outwards(right-handed). The mesh face loop orientation is counterclockwise. Is that always true for...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] DGN mesh vertex normal is lost

Dear experts,I create a DGN mesh model.  However, I can't get the mesh vertex normal by API PolyfaceHeader::Normal(). In result, the converted mesh looks not smooth. My question: Should all mesh data...

View Article


ElementEnumerator gone??

Is the ElementEnumerator object type no longer available while programming a macro? I am trying to edit all the tags in a file at once and want to parse through each tag indivdually; in the past I used...

View Article


MicroStation.r.h

Hi,I'm trying to manually convert an add-in that worked in MicroStation v8i so that it works in MicroStation CONNECT Edition. So far I managed to do a couple things that work and I fixed a few errors...

View Article

Do we have an auto-complete polygon option in bentley map enterprises for GIS...

As in other GIS based Platforms, If we draw a polygon overlapping on other polygon while digitizing an area, we automatically get two different polygon with a common edge without any overlap area. Can...

View Article

[MVBA] How to get the level information of element in ref files?

Hello All,If the element is in active model, we can get the level information by access .Level attributes. If the element is in ref file, .Level is nothing. How can I know the level information in ref...

View Article

[V8i C# MDL] mdlView_getClipBoundaryElement not working

Hi,I had an issue on calling mdlView_getClipBoundaryElement() which is the opposite problem of the post below. I was trying this with AECOsim V8i SS6 and VBA approach did work. However, it gave me -168...

View Article


Image may be NSFW.
Clik here to view.

[AECOsim] Extract Element GUID

Hi,Is there a way to extract Element GUID by VBA or .NET COM as shown in the DataGroup Explorer (see attached image)? It would also be useful if we can find elements by GUID. There's no sample code in...

View Article

[CONNECT C++] CustomProperty Priority

From MicroStationAPI help about Item Types and their properties...Each CustomProperty has:*   - A unique name within its CustomPropertyContainer. This is the name the user sees, and*     the primary...

View Article


[V8i C++] Determine path of loaded MDL app

When MS_LIBRARY_PATH and MS_MDLAPPS variables consist of more than one path, when an app is loaded from a Task definition in a .dgnlib, is it possible to determine the "resolved" path that the .ma/.dll...

View Article

[CONNECT C++] Delete Item Type Library: reasons for failure

I'm writing code to delete an Item Type library from a DGN file. ItemTypeLibrary.Delete() returns a SchemaDeleteStatus value.  While some values are clear, what do the following...

View Article


[CONNECT C++] Find Elements having Item Type

I've attached Item Type properties to a number of DGN elements.  Now I'd like to find each element having an Item Type attachment.  One way (the old way) might be to scan a DGN model and examine each...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT VBA] Clip inside fence

Hi!I have a DGN file with many elements (lines, linestrings, shapes, sharedcells, etc.).I make a fence from an shape element. I have these elements in the array in the program and they are drawn in the...

View Article

[CONNECT C++] Delete a Report Definition

The SDK ReportsExample  shows how to create a report definition.  The primary class appears to be a ReportCategoryNode.  It has Create and Find methods, but how do we delete a report definition?

View Article
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>