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

MdlCommandName & MdlCommandNumber - MDL or Native code one or the other or both?

Hi all,      In  the converting of an app from pre V8 MDL to post V8 MDL, no native code, I came across a webpage, http://tinyurl.com/o29ynqb , that talks of converting from the old cmdNumber to...

View Article


Microsation XM Open AutoCAD files and move references to a new layer - VBA

Hi All,I'm using Microstation XM to open AutoCAD 2007 format files, no problem there.  I can manually change the reference file layer in these AutoCAD files by either using the reference dialog box or...

View Article


[V8i C++] mdlWorkDgn_ functions with an attached model

If I've got a model referenced to the active model, can I use mdlWorkDgn_ functions on that "attached" reference file? I'm wondering if it's possible to select an element in the active model, and...

View Article

Microstation MDL - C++ - mdlDialog_menuBarInsMenu () fails

G'Day from WA,I attempting to update a MDL program to append a custom menu to the Command Window Menu Bar. The code I use is shown below (formatting is lost when I pasted text into this...

View Article

[2004 MDL] information needed

Hello Everyonei am trying to develop a MDL program, a dialog box containing the two buttons1.Function button: do the  function of the code2. cancel button.here i am confused what functions to use when...

View Article


[V8i VBA] How to judge the original file format and the existing DGN format?

Same as the title.How to get the original file format and also the existing DGN format by using VBA?

View Article

[C#/mdl/V8i] link an excel spreadsheet in a dgn

Hi,I would like to link an excel spreadsheet in my dgn by codeI do the copy of the excel range i want to link then I would like to do a special past without user actionIn V8 2004 I send  the command :...

View Article

How to edit reference file name in attachment settings dialogue box via key...

Hi,Is there a way to change reference file names via key ins? So far I have managed to open the reference dialogue box, select the reference file and open the attachment settings box but I cant edit...

View Article


[V8i VBA] How to check elements are 3d snapped at intersection point and...

Hi All,I am looking for help on "How to check elements are 3d snapped at intersection point and insert vertex/common node at intersection if the elements are 3d snapped" in VBA. please suggest...

View Article


Image may be NSFW.
Clik here to view.

[V8i VBA] Problem about Display Style

I wanna know why cannot work with setting Display Style.I tried to run both VBA code:ActiveDesignFile.Views.Item(1).RenderMode = msdRenderingModeWireFrameCadInputQueue.SendKeyin "DISPLAYSTYLE SETPARAM...

View Article

[C#] List of Microstation open Form

Hi,Is it a way to have the list of open Microstation windows in C#?RegardsSeb

View Article

ListRow Question

I have a ListBoxRsc which contains a ListModel. I'm traversing down the list, getting what I need from each row and thendeleting the row: rowP = mdlListModel_getRowAtIndex (listP, i);...

View Article

V8i Series 3 VBA

HiI have a new installation of Microstation V8i SELECT Series 3 and have issues with running some old scripts.1. I can't open a help file when hit F1 key in VBA Editor (when I highlite a Microstation...

View Article


Problem using fprintf (and other) from dll

I recently upgraded old MicroStation J mdl and the dll that this mdl is calling. It worked fine in the past in J. The dll is in c (I still used good old VC6). One of the functions that the dll is using...

View Article

[V8i mdl] MS crash when i try to use mdlDisplayPath_getInfoString function

Hi,this code work in V8 2004 and when i try to use it in V8i, microstation crash on the mdlDisplayPath_getInfoString.extern "C" DLLEXPORT char* GetInfoBulle(ElementId idElt){ ElementRef elemRef;...

View Article


[V8i C++] CReating a PopunMenu using IPopupMenuManager

I've got a class that implements IPopupMenuProvider, and now I want to add it as a provider: CMyPopupMenu *myMenuProvider = new CMyPopupMenu();IPopupMenuManager::GetManager().AddViewPopUpMenuProvider(...

View Article

[v8i VBA] Reading Message Center Response to a Key-in

In a recent foray into RealDWG issues, I ended up with a session that was not set properly for the version of DWG opened. I needed a file to be opened with RealDWG 2012 but MicroStation was still in...

View Article


mbe2vba utility

 Can somebody please tell me where/how to get a copy of the mbe2vba utility? Bentley couldn't/wouldn't help me download it.Thanks.From: support@bentley.com [mailto:support@bentley.com] Sent: Tuesday,...

View Article

[V8i VBA] Determining DWG Version of Active File

Can you use VBA to determine the DWG version of an opened file? I am able to use    ActiveDesignFile.Formatto tell DGN from DWG.But in a Civil 3D 2012 DWG, the File format is 2010, but the AEC Civil 3D...

View Article

Image may be NSFW.
Clik here to view.

[V8i C++] Cell Rotation/Skewing and handle display

We're developing a tool for iso piping drawings. The tool reads a cell from a cell library, and rotates it to the angle of the selected line. It then applies a "skew" to the cell in order to make the...

View Article
Browsing all 383 articles
Browse latest View live


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