Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
MicroStationAPI
Programming
.NET dotNET C# CSharp
API
API SDK programming
Bentley Developer Network
Building applications
c#
C++
CadInputQueue.Sendcommand
COM
connect
customizing
development
DGN
Learning MicroStation VBA
MDL
MDL C C++
MDL programming
MDL V8i
MicroStation
MicroStation Programming
MicroStation V8i
programmer
SDK
v8i
Visual Studio
CONNECT Edition (10.15.00.74) Migrate to C++ from MstnJ - cannot find mdlResource_loadFromStringList
Gary Shay
Hi, Working on migrating an application from interpreted MDL (written in MicrostationJ and ported to V8i SS3). I'm slogging through the code to get a clean compile and am having problems figuring out how to handle the string list messaging that was…
Answered
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
[Connect C++] How to get the color of an element?
Mario Pîrău
Hello, I have a problem while retrieving the colors of the different geometric parts of an element. For parsing the geometry I'm using the IElementGraphicsProcessor to process the element and retrieve the different graphic primitives types (SolidPrimitives…
Answered
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT C#] Managed Equivalents for older COM Interop Calls
Francois Grobler
Hallo, I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[Connect C++] list with all the "class name" types of an element
Stefano Beccaletto
Hi, Is there a way to get all the class name types that identify elements? Typically for gathering the class name I'm using the following commands: for (DgnECInstancePtr instance : ecMgr.FindInstances(*scope, *ecQuery)) { DgnElementECInstanceP elemInst…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)
Manoj_Pal
Hii All, I am new to microstation development. I am using C#.net and Visual Studio 2010. I want to do offset of a center line in both side and draw sections in a certain interval to the centerline. Would anyone help me to do this without using cadinputque…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Is there a API to merge two files
thangaraju s
Is there a API to merge two files Problem : Need API to merge two DGN files or alternative method without using keyins MicrostationDGNApp.CadInputQueue.SendCommand("DIALOG REFERENCE TOGGLE "); MicrostationDGNApp.CadInputQueue.SendCommand(…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
mdlKISolid_getSurfaceElements() crashes for a particular element, throwing a stack overflow exception
Ronn Greer
Hi, I'm currently working with mdlKISolid_getSurfaceElements() in order to split a Smart Solid. But it is throwing a stack overflow exception and finally crashes.I guess this is because of many BSpline curves present in that solid. Can someone help…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Is there a API to import the level library
thangaraju s
Is there a API to import the level library Problem: Is there a API to import the level library which is correspond to the below key-ins?? MicrostationDGNApp.CadInputQueue.SendCommand("LEVELMANAGER DIALOG OPEN"); MicrostationDGNApp.CadInputQueue…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
Event Handler and copy command
Daverode
Hi I'm wondering if it is possible to use an event handler or an iPrimitive to "listen" for a copy command and if the element that's being copied meets certain criteria modify it's tags programmatically. Thanks Dave
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Issue with the text font change using API
thangaraju s
Problem : 1. If we change the font using api 'currentElement.AsTextElement().TextStyle.Font' , Redraw & Rewrite the element. There is a displacement in the text location. if we use the key-ins, or open manually and change the font. There is no…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Is there a API to Change the grid aspect ratio
thangaraju s
Problem: Need to know the API to change the Grid Aspect Ratio Tried with the ActiveSettings but we have option to change ActiveSettings.GridUnits, and GridReferences and the same is achievable via key-ins 'MicrostationDGNApp.SetCExpressionValue…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
Problem with mdlWindow_rasterDataDraw
Herve Cuzon
Hi everybody, I use the function mdlWindow_rasterDataDraw since my first development in MDL in 1995. I recently upgrade my source code for V8i in C++ and I have problems with the colors that are displayed in the windows,(Red displayed in blue..…
over 12 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
Change the design file from another thread (C++, V8i)
Tuspe
I'm running a TCP server that communicates with another program in a second thread (boost). I'm trying to open a new design file from that thread by using the next command but it fails with an access violation. Opening files works from the main thread…
over 11 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum