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

[CONNECT Update 14 C++] using VisualStudio 2017...

I have my structure in my .h file, I publish my complex variables in my CPP file but the structName and the variableName turn red and I get the message const char is incompatible with char.my struct in...

View Article


Where download bentley.dgnPlatformNet.dll and other library

Need will read features dgn file. Where download library for itMaybe who know how to read some features in dgn file V8 without installed microstation? 

View Article


When save dgn file as dxf - break a lot of styles. Why?

I need will get information about features from dgn V8 file for Autocad. And when  i export file in dxf  - i get dxf file with broken styles lines. I load this  dxf file back in microstation - styles...

View Article

[CONNECT VBA] CreateTextNodeElement1() with template

Hi,I'm trying to get some V8i VBA macros running in CE. For me, an error raises when I call CreateTextNodeElement1() with a given template. This simple macro runs fine in V8i, but not in CE...

View Article

GetElementByID has changed with Connect COM API?

Just wanted to complain a bit and maybe provide some answers to those that run into this. In pre-connect era we could get an element by ID using GetElementByID, even if it was inside of a cell. That's...

View Article


[MicroStation 10.14 C#] Create Note dimension element text

Referencing a previous post about creating dimension elements in C#:...

View Article

[CONNECT C++] EXTENDED_ELM used for different elements. How to tell what they...

I have a Connect DGN with two types of elements that both return a 106 element type (EXTENDED_ELM).  One is a Prosteel3D component and the other is a Table.Is there a good way to work out which is...

View Article

Updating VBA code to insert sheet from v8i to MS CONNECT

I'm trying to upgrade some legacy code to work in CONNECT. The script creates a sheet model with the working file and attaches a border as a reference and 3 tagsets with a cell.The code runs upto this...

View Article


Porting mdlCntr_xxx functions to MS CONNECT

We are are porting a set of MDL applications from MS V8i SS10 to MS CONNECT Update 14.This includes the set of mdlCntr_xxx MDl functions, which are available in the V8i API, but not in the MS CONNECT...

View Article


[CE U14] Google Map layer in a View

Hi All,Is it possible to display a Google Maps layer (or level in Microstation API terms) in the displayed Views in Microstation?I've found that it is possible to open the same location in a browser...

View Article

Access Database connection updating from V8i to CONNECT

[V8i SS10 VBA], [V8i CE VBA / .NET], [Access]I'm trying to migrate our CAD workspaces to CONNECT from V8i SS10. I have completed most of the Interface but having an issue with some of the VBA modules,...

View Article

Convert DgnModelRefP to DgnModelCR

Some functions in the Microstation CONNECT API require an argument of type DgnModelCR. I usually have access to the DgnModelRefP of a model. How do I convert this to DgnModelCR?Here is my code: // find...

View Article

[CONNECT C++] mdlElmdscr_addToChain losing contents?

Can somebody help me with this?I got function that works on V8i that loops Bolts contents and clips them if they are inside fence.  (I've cleaned the code a bit to have only the parts I am confused...

View Article


[CONNECT C++] Create a TextTable from Seed

I wanted to figure out how to create a TextTable using the MicroStationAPI.  With that completed, I then went on to use a TextTable seed as a template for a TextTable.That solution is described here,...

View Article

[CONNECT .NET] how do I Add a TextStyle to a DgnFile?

DgnFile.GetTextStyles() returns a collection of text styles.  How can I add new styles to that list and then assign the list to the active DGN file?  There's no method like...

View Article


C#.net - Fillet between 2 Dsegment3D

how to create Fillet between 2 DSegment3d? and How do can I Chain all of them together inC#.net? 

View Article

add a reference that should be translated and clipped

How exactly can i get the modelRef after begin attachment ?I'm trying with:  modelRef = builder.GetDgnAttachmentCP()->GetDgnModelP();but the reference is not translated nor clipped, so i suppose...

View Article


[CONNECT .NET] CurveChain Conundrum

I am using MicroStation CONNECT Update 14.2.I am coding a tool using the DgnPlatformNet and BentleyGeometryNET APIs.  Wanting to experiment with the CurveChain class, I wrote this...CurveChain chain =...

View Article

Connect vba load key-in not loading from non-support locations

Hello,In my external application I call vba load to load  in a vba project from a temporary location, this location is not in the searchpaths or any other config variable. In pre-Connect versions this...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT .NET] How do I use CurveVector.CloneWithFillets?

How does CurveVector.CloneWithFillets work?  Both the MicroStationAPI and DgnPlatformNet documentation are, as usual, enigmatic.  There is no example delivered with the SDK.I wrote this test code.  It...

View Article
Browsing all 7260 articles
Browse latest View live