Hello, is there a way to create a text element with font that is not currently available?
Let's say I need to create a text element which uses 'simplex' font in first version of MicroStation V8i where normally is installed only one SHX font - 'msdefault…
Hi Jon,
Coincidentally, I'm having the same strange problem today. The MsdError number given in Werner's error messagebox snapshot (repasted below) does not appear to be listed in the MsdError Enum listing in the MicroStation VBA Help file. Complicating…
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(…
I am working on DGN V8 APIs.
Here I am stuck to fetch the corresponding .drv file record data for a DGN Element.
What are the APIs that can be used to get this data from .drv file?
Hi All,
I have a Bspline Surface with a set of boundaries whose clockwise sense is set to "Solid". Is it possible through MDL API to get the equivalent set of boundaries on the same Bspline Surface whose clockwise sense is "Hole"?
Thanks &…
Hi all,
I started doing MDL programming about 20 years ago but for the last 5 - 6 have only touched it "once in a blue moon" to update for some clients apps that still run on "old" MicroStation, pre V8. One of my clients now wants one of these apps…
Open design file needs delay
Problem :
Application is visible & after opening the Design file, immediately tool bar, menu bar will not display the GUI.
If we use Delay for 3 seconds GUI gets displayed.
Need to know we are Opening the design…
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…
Hi,
I am getting the below error.Please help me to solve the issue
The error is
c:\Programfiles\Bentley\Micros2\Micors1\mdl\library\toolsubs.dlo : Unrecoverable errors detected. Output file not created.
BMAKE: call trace
Thanks and Regards…
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 needing to search for certain element types in the active drawing. I see the sample code for cell libraries that uses the mdlScan_xxx routines. But I can't find an equivalent in the C++ API. Is there something newer / better / shinier than mdlScan_xxx…