Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

[VBA CE] Progress bar

How to update this VBA code for CONNECT?https://communities.bentley.com/products/programming/microstation_programming/f/archived-microstation-v8i-vba-forum/70085/using-built-in-progress-bar/184347#184347

View Article


Image may be NSFW.
Clik here to view.

[CE VBA] Text placement by origin not working as expected

Microstation Connect V10.16.02.34I'm familiar with Excel VBA and taking a stab at writing VBA for the first time in Microstation to populate a chart/table.  (I know CE has a 'Place Table' tool but it...

View Article


Image may be NSFW.
Clik here to view.

Microstation CE Update 16 C# : How to move more than one element with mouse...

We want to move the list of elements together, while using Dynamics with DgnPrimitiveTool, so we kept some code on OnDynamicFrame, but the movement is damn slow and shows some overlapped elements which...

View Article

Image may be NSFW.
Clik here to view.

[CE VBA] Placing text with VBA - fractions not stacking

Microstation Connect V10.16.02.34I'm trying to place an array of text strings from a text file into a table with VBA and not having any luck getting fractions to stack.  If I were to enter or edit text...

View Article

Image may be NSFW.
Clik here to view.

[Connect Update 15 c#] Scan for Cellheaders

Good morning,I am running into some strange behaviour that I can't work out.I am writing an app in C# for Microstation Connect update 15 that scans a file for all placed cells. It's a test for some...

View Article


[VBA CE] Scanning file status

With a invaluable help and examples Jan and Jon I have made a VBA macro to scan file for duplicates. What would be best approach to show scan progress as it is removing elements in process so the scan...

View Article

Microstation CE Update 16 C# : How to get the vertices of the line element?

We are trying to get the vertices of the line element or line string element, the below example has part of line element, but the spoints list is always empty. We should get the start and end point for...

View Article

No model reference is active

void Test(string sPath) { BCOM.Application app = new BCOM.ApplicationClass(); BCOM.DesignFile dgnfile = app.OpenDesignFileForProgram(sPath); int modelint = dgnfile.MdlModelRefP(); BCOM.ModelReference...

View Article


[CONNECT Update 16 ElementAgenda] Why can't .NET ElementAgenda Draw its...

Jan made this comment in another thread: It is one of the disadvantages of NET API, because in C++, RedrawElements accept also ElementAgenda.Why doesn't the .NET ElementAgenda implement the Draw()...

View Article


open .txt file from with vba

I found what I wanted by Jon Summers, but the link will not take you anywhere it errors out. It appeared just what I was looking forIf you do a keyin the %Manual KeyIns work like: %"C:\Text_C\Text...

View Article

C# Remove Element using OpenDesignFile

I am using MicroStation V8iThis is a desktop applicationvoid Remove_Element(string sPath, int iLevel) { MicroStationDGN.Application app = new MicroStationDGN.Application(); DesignFile dgnfile =...

View Article

DataEntryRegion.Length not working in Connect Update 16

Hello, I searched but couldn't find anything related, so here goes. We're on Update 16 of Connect and a script that was working fine in v8i doesn't seem to produce the same results in Connect. So i...

View Article

Image may be NSFW.
Clik here to view.

Show All Level

I want to show all element level, I found the VBA code but I don't know where to get 'viewIndex'Sub ToggleLevelDisplay(strLevelName As String, viewIndex As Integer) Dim oLevel As Level Dim oView As...

View Article


Excel VBA to Modify Microstation DGN

Hello,I am pretty new to using Excel VBA to modify microstation file. My goal is using the cell values in excel to update tag sets and turn on/off layers, and purge certain empty tags (in different tag...

View Article

Update DGN tag to the File Name with VBA

Hello,How can I update a specific tag that is associated with a specific cell to match the file name with VBA.Right now, I have wrote codes to create drawings with different templates based on an Excel...

View Article


[OBD Connect Edition Update 6 C#] DgnECManagedCrudExample

Hi,I am currently trying to adapt the 'DgnECManagedCrudExample'...

View Article

Image may be NSFW.
Clik here to view.

[V8i SS3 VBA] No access to cell properties

why can't i see the properties for this cell?

View Article


Image may be NSFW.
Clik here to view.

Split map

I want to split a part where it's white and save it in a new fileI will define coordinates in extent and get coordinates, color, style, type and redraw on 1 new fileIs there a better way?

View Article

[CE C#]Is it possible to get right click event while move command is running

Hello All,I placed an OPM component, in order to let the user to relocate it dynamically, I have to use move command. (I have tried to use DgnElementSetToolto show it dynamically, unfortunately some of...

View Article

[V8i SS3 VBA] Can ElementScanCriteria be used for reference files?

As in the topic, is it possible to use ElementScanCriteria in the attached reference files? I need a list of all graphic items from the attached reference drawing.

View Article
Browsing all 7260 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>