I notice that the .NET Session class has member GetStringFromMstnResource . It looks like that function gets a string from a message list stored in a .rsc file, which is what we've done for MDL and C++ apps for donkey's years.
In a .NET AddIn , how…
Hello,
I wanted to catch messages from notification panel of microstation.
I can catch messages with green underline with AddIn.MessageCenterWriteEvent.
But I can't catch message with red underline. I found NotificationAdministrator with description…
An AddIn built with .NET has an XML command table. It uses XML schema http://www.bentley.com/schemas/1.0/MicroStation/AddIn/KeyinTree.xsd, but the schemas/1.0 folder doesn't exist.
Where is the XML command table structure defined? I can find nothing…
hello:
My Microstation version is v8i ss3, my programming language is C#, and Visual Studio version is 2015 Professional, add-in.
As the title says, I want to determine if a Cell contains 3D elements. If it contains, hide this element. Here is my…
How to modify multiple element information by reading the information in EXCEL,
such as the radius of the circle, I have already obtained EXCEL data, and use the data to modify the radius of the circle (for example),
using the Rewrite method, But…
Hello everyone:
How to get all the elements in the model, I use the Scan method in the VBA interface but it did't work.
Is my code wrong or there are other ways to get the elements in the model?
public void Dynamics(ref Point3d Point, BCOM.View…
Hello everyone,
I want to create a table programmatically in Microstation v8i ss3.
My software is vs2015 and the programming language is C#.
The content of the form is taken from the user-defined attributes. How can I implement this function?
…
I want to adjust/move the dimension text from one location to another location( Here both source and destination co-ordinates are known ). How to perform this? Kindly suggest.
Screenshot is attached for your reference.
In the Screenshot, the Red…
Hi Darren,
I know this question is from a long while ago, but maybe this can assist someone having the same problem. This answer is in response to your bigger question "How do I marshal a MDL Structure in C#".
I have created a class for marshaling…
Hi
I'm trying to get all the vertices from a complex string, In V8i version we did the folowing:
"BCOM.Point3d[] pts = elm.AsComplexStringElement().ConstructVertexList(0.02);"
How can we do this in Connect .?
In the documentation I've found the…
I have been writing a C# Addin for Microstation.
I can capture the dialog open hook, but cannot get access to any of the variables within the dialog. I want to both read and write these values so that when the dialog closes it uses my changed values…
I have a c# app developed in visual studio 2012 that references bentley.interop.microstationdgn.dll to process dgn files.
When I run the app in studio it works fine but, when I try to run it outside of studio, I get the following error:
Retrieving…
I am having trouble setting the propertyhandler and get an error when trying to get the value of the property.
The propertyhandler appears to be set and allows the debugger to continue but stops at the GetValue function.
BCOM. Element oEle = (BCOM…
Hi,
I'm new to Bentley and just trying to make a C# addin in VS2010, loading on V8i.
I've having the same problem as this post http://communities.bentley.com/products/programming/microstation_programming/f/343173/t/77681
I've gotten both the example…
Hi all,
Sorry for the naive questions, if they have already been answered on the forum, I am unable to find answers to this question.
If they are answered already, please point me to the thread.
I would like to know a few things about .NET and MVBA…
Hi,
I tried to compile CellUtility addin example with VS 2010 and also changed target framework to ".NET framework 4". It succeded. When I load the addin in SS2, an unhandled exception ( System.BadImageFormatException) occurs.
Is the .NET 4 framework…