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…
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…
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…
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…
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…
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(…
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…
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
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…
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…
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…
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…
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..…