Hello, I'm developing an application using Vb .net 2013 and Microstation v8i....
Here below the source codeImports Bentley.Interop.MicroStationDGNPublic Class Form1Private Sub Button1_Click(sender As Object, e As EventArgs) Handles...
View Article[V8i C++] Extract Data from XAttribute
Customer is attempting to extract XAttribute data from a ProStructures DGN model. It doesn't seem to be EC Schema data, and he suspects that the data are XmlFragments. Is there a way to test whether...
View Article[CONNECT C++] Exctract EC attributes from history elements
I'm trying to extract EC attributes from elements in the design history. No matter how I set up the query I cannot get hold of my class instance.If I specify ECQUERY_PROCESS_SearchAllClasses I will...
View ArticleTEXT
Hi,I like to change Text style, height, width and level, properties by recorded macro or mvba. for selected text / contents in model ( not in tittle block )kindly assist to give a...
View ArticleDelete Level
unable to delete shared levels from library. even contents not available in the level.keyin command is helpful.assist pl.Regards,Harikrishnan.R
View ArticleDoes we have the same level of api access(access Bentley DGN files with full...
Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL...
View Article[v8i VBA] Error when calling C++ function
HiI have tried to make a super simple C++ function and call it from VBA, but I keep getting Runtime error '49'. Bad Dll Calling Convention.Any help is appreciated.The C++ function:extern "C"...
View ArticleCan we build a Microstation Application(C++, dll)just with Visual studio,...
Hi Experts, I am new to Microstation Application(C++) development, and i have no experience about the make file configuration, and would like to write, compile and link code with just Visual...
View Article[v8i c#] Reload attachments, instead of reattaching them.
Does anyone know if there is a way to reload attachments (references) instead of re-attaching them. We are running into (Level table?) override issues since Caching the files and then reattaching them...
View Article[CONNECT C++] mdlWindow_Draw functions conflict with fence
I am using mdlWindow_lineDraw and mdlWindow_textDraw to display items on a view. My draw function is called from an UpdatePost ViewCallback (ViewCallback::SetUpdatePostFunction(myFunction)) all works...
View Article[v8i c#] Visual studio 2015 - Compatible .Net framework?
Hi,Just wanting to confirm the .NET framework version that i should be using for C# development?Tried looking at the faq which had a pre-req...
View Article[CONNECT C#] How to get the correct texture coordinates?
For some reason, I'm trying to extract the geometry and material information of elements into OBJ format.Everything was going well until I tried to attach the texture to the geometry.As we all know, we...
View Article[V8i MDL] Element Range Tree
Range TreeThere's a comment in the MDL overview of ElementRef: another table of ElementRefs is the range tree, so you can also "look up" elements by range.Is the range tree attainable by published V8i...
View Article[CONNECT C++] Viewport::GetRotMatrix()
In DgnViewport.h there is this note by GetRotMatrix()://! Get the Rotation Matrix for this Viewport. The concept of a Viewport's Rotation Matrix is somewhat limiting since it does not//! support...
View Articleis there a guide for creating custom tools?
V8i SS4Subject line says it all. I need a beginner's guide to creating custom tools and task panes.thanks
View Article[CONNECT U7] Icons for Ribbon Customizations
I'm performing some ribbon customization and I've added in a new Workflow with a few Tabs. In the Tab I've added a Group, and to that group I've added a Button. Once I set the various parameters for...
View Article[CONNECT C#] Load(String[] commandTail, IntPtr mdlDesc) NullReferenceException
Microstation Connect Edition update 6Windows 7 SP1Visual Studion 2015target framework: 4.6.1Hello Everyone,I have developed testing C# AddIn but met a problem loading it. I have been searching through...
View Article[CONNECT U7] Retrieve text string representing Drawing Scale
Is there any "built-in" way to retrieve the current Drawing Scale as a string? For example, I'd like to be able to get "Full Size 1 = 1" when AnnotationScale is 1. I know I can write a function to...
View Article[CONNECT C++ U7] Unloading a Native App
I've been developing a Native Code C++ tool. I code a little, then test a little. My workflow is to use the Keyin Browser to "mdl load test" (to load the tool); "test dosomthing" (to execute the tool);...
View Article[CONNECT C++] How to Determine Distance of a Point on an Element to it's Ends
Working with a DgnElementSetTool tool, I'd like to determine which end of a linear element (line, lineString) is nearest to the element's identifying datapoint. I'm using CurverVectorPtr to ensure the...
View Article