I have the next code: public void Update(IDgnECInstance instance, string propertyName, string value)
{
instance.SetAsString(propertyName, value);
instance.WriteChanges();
} How can I enable users to reverse actions performed in my custom form using…
I am writing an application for MicroStation and ORD under c# I plan to cache specific data to improve the application's startup speed following a session involving a file. In light of this, having access to a file hash would be extremely helpful. Does…
I currently have this code in C# in a console application, the only thing at the moment is wanting to open microstation connect edition, but unfortunately it throws an error or returns null
static void Main(string[] args)
{
try
{
Type type1…
Hello,
I need to convert ellipses with different Primary and Secondary Axis to multiple arcs with the same Primary and Secondary Axis. In Microstation I can do that using Facet tool but I need to achive the same result doing it programatically.
…
[MicroStation CE 16]I have created a circle with some text inside it and a line associated with it (Its like annotation, it is annotating some selected element's information in it) and I want to move whole annotation(Circle, Text, and line) along with…
Hello All
Using C# I can create item types and attach them to elements, but cannot see how to attach an set of ItemType properties to a dgn model?
I can get to the model as a DgnModel and ModelInfo
I can get to my ItemTypeLibrary and ItemType
…
OS: Windows 10
Application: MicroStation Connect Edition update 13 - v10.13.01.01
Language of the Application: C#
.NET Framework: 4.7.2
Goal: To unload the AddIn when MicroStation Connect closes a file.
Workflows to support:
Workflow 1…
Referencing a previous post about creating dimension elements in C#: https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/112608/c-connect-how-to-create-dimension-elements
I've been trying…
I have questions regarding the usage of the formatter for NET API based on http://www.la-solutions.co.uk/content/CONNECT/DgnPlatformNet/Mensuration.htm :
1. In the article, it is mentioned that the formatter is Initialised using active DGN model coordinate…
Hello,
I have a question. Is it possible to make a C# DLL usable in a VBA project and if yes, how?
We already tried with the following Link:
https://www.geeksengine.com/article/create-dll.html
But in that example you have to move a file in to…
After using ElementPropertiesSetter, the respective element is locked and cannot be unlocked in the MicroStation afterwards. Did I forget something?
public bool SetElementLevel(BDE.Element element, string levelName)
{
try
{
BD.LevelId levelId…
trying to figure out how to add a dgn model reference to a file and set a attachment settings. just struggling through the SDK.
I found CreateDgnAttachment method but cant find how to set reference settings.
here is what I have so far but after I…
Hi,
How to download SDK for Microstation-Connection edition update 8(version 10.08.00.37)?
Based on the following link, we tried. But we cann't able to identify the link related to SDK.
https://communities.bentley.com/products/microstation/f/microstation…
greetings,
Is there any SDK for developing customs and mods in Bentley ?
where can i get one of those?
what tools would I need to do such things?
thanks
I need to create terrain models and export to .dtm format. I created a vba script that will do this, but it accesses the Create Terrain Model from Point Cloud tool, which opens up the dialog window. Is there a way to just access the assemblies directly…
Hello,
we are in the process of migrating from v8i to Connect SDK. We have many dlls and we need a little help to find some references that are probably relocated, or new ways to do the things we used to do through the old SDK.
Lately we had been…
I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them?
From searching through these community forums and browsing the C# functions/properties I…
We have an MDL application (since ported to Native Code) that resymbolizes elements on the fly based on user specified criteria. Changing Color, Style, and Weight are the most common uses and this application has worked just fine for many years. I am…
Produkt(e):
MicroStation
Version(en):
08.11.09.x
Umgebung:
N\A
Produktbereich:
Text
Produktunterbereich:
Text suchen/ersetzen
Problem
Plötzlicher dauerhafter Absturz bei Text suchen/ersetzen…
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…
Hello,
I'm writting C# addin to process multiple .dgn and .dwg files. It searches for specific text elements and does some processing on them.
I must process these file in another thread because user must have option to "Cancel" the processing of…