How to check dgn file is already open or not using VBA
Dear Team,I need to ensure that dgn file is opened or not . if its opened already, then we cant do the changes . we will get an error.Set dFile = OpenDesignFile(fileName, False)How to check dgnFile is...
View ArticleOpen Design File using .NET 7
Dear Team,I am not able to opendesign file using .NET 7 C# program. please advice.Note i am using V8Thanks!
View Article[CE 10.17.00.209 C#] Replace text in cell
Hi,I am trying to replace certain TextElements that are contained in a cell using a C# addin (without having to drop the cell first)To accomplish this I find the CellHeaderElement in my drawing,...
View Article[MStn CE U17 C#/C++] Place cell from Components Center
Hi all,I am preparing project, where several tools should place components (sometimes cells, but typically Parametric cells), published for a project team in Components Center.Even when the components...
View ArticleMacro works in Microstation V8i but it doesn't work in Microstation CONNECT
Hello,I used a macro for floor marking in Microstation V8i. When I try to use the same macro in Microstation CONNECT, the program doesn't recognize it. Why?
View ArticleHow to export dgn file to pdf using VBA
Dear Team,Is there anyway to export dgn file to pdf using VBA?Pleae advice.Note : I am using v8Thanks!
View Article[MStn CE U17 C#] How to retrieve information about (Connection Client) user...
Hi,this question is a continuation of this discussion, where "how to access content in Components Center" is discussed.But it seems, that there is a gap: MicroStation addin can be extended to use...
View ArticleMicrostation Powerdraft v8i SS4 vba forms started to crash
Suddenly Microstation Powerdraft v8i SS4 vba forms started to crash - Microstation gets general exception. I tried MVBA troubleshooting wiki solutions, but none of mentioned solutions worked. Crash...
View Article[Connect Update 16 C# .NET Addin] Options for Ribbon implementation with...
Hello,I am looking for way to distribute an addin without having to modify the workspace or workset. Currently my tool gets installed into mdlapps and a dgnlib with ribbon interface is installed into...
View ArticleMicroStation v8i: Subroutine to mimic Connect's Show Configuration
I need to do several v8i managed workspaces in ProjectWise and really wanted Connect's Show Configuration where it writes all the variables from the current session to a file that then opens it in a...
View ArticleCách chuyển file dgn sang file excel làm sơ đồ cấp GCNQSD đất
Xin cho hỏi? Tồi có 01 file excel nhập thông tin và 01 file *.dgn. ai có thể giúp tôi chuyển file dgn (hình ảnh và chử) lên file excel. Tôi cảm ơn
View Article[CE U17 C#] Get information about raster references
Hello everyone,I would like to determine the following information of all raster references in the current model:ElementId (to be able to determine this reference explicitly)Full file name of raster...
View Article[MStn CE U17 C#] Identify EC Schema location / origin?
Hi,I guess it is a question for Mangesh.Shelar or somebody with similar specialization ;-)When I have ECSchema (represented by IECSchema object instance), is it possible to obtain information about its...
View ArticleCE17 Build Simple Add-in App problem
I am trying to work through the Building a Simple Add-in Application following the directions in the link below and I am running into a issue at the beginning. I am using CE 17 & VS 2019. The very...
View Article[Connect Update 16] Common DLL Location
Hello all,We have some common organizational level add-ins that are put in this folder: Configuration\Organization\Addins. And we have department level specific add-ins in another folder:...
View ArticleRasterHeaderElement
MicroStation Connect Edition, Update 17Version 10.17.01.62Hi, we have an customer application build on MicroStation Connect.The most C#, some C++.We want to place raster element into dgn from code.We...
View Article[CE VBA API] TrackPopupMenu don't work.
When I use Microstation V8i, I have used VBA tool to show my custom popup menu. Recently, I edit it for CONNECT Edition, but it don't work well. My code is below. At the moment the problem is that...
View ArticleText macro or field
I am trying to understand how to run a simple text macro or populated text field, where I have a piece of Text A and Text B which are both numerical. Text B is a number that always relates to the value...
View ArticleWould like to batch process the conversion of Tag Sets to Item Types
Background:Running MicroStation CE Update 17.2 (10.17.02.61)A client has hundreds of files in ProjectWise that we would like to convert the Tag Sets to Item Types.My plan was to run Batch Process...
View Article[MSCE U17 C# VBA] Share data between C# and VBA
Hi,I need to move some old MDL code to C# which uses the GetCExpressionValue() and SetCExpressionValue to communicate.Is there something similar that can be used to exchange data between C# and...
View Article