It's quite similar to https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/201080/mstn-ce-u14-vba-and-com-interop-does-not-release-memory but this time it happens while accessing child elements…
Hi, I want to create a Bspline curve element, but when I try to create the bspline, the MS will have the error and close automatic.
This is my code:
BCOM.Application msApp = Bentley.MstnPlatformNET.InteropServices.Utilities.ComApp;
List<BCOM.Point3d…
I am attempting to create an AddIn that writes data from a dgn file into a sql database via a .net 3.5 compatible version of Entity Framework.
When loading and executing the addin, I get the following error:
System.ArgumentException: The specified…
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(…
Crash : 'RPC server is not available' or 'MicroStationDGN Error 1100'
Problem :
After successful operations of the files and in some file, while changing the text property using keyins. Microstation application object gets null, but application…
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…
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…
As Jon indicated, the MicroStation VBA environment and help are a great resource to get familiar with and utilize for testing/prototyping your code. Doing so provides you documentation, a fair number of samples to get started, and an environment that…
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…