Browse By Tags

  • WORDPROC commands and/or syntax

    Fellow Microstation Programmers, I recorded a macro and got the following commands. I'd like to modify them to do other things, however, I don't know what commands ("moveCaretToPosition, changeEDF, etc.) are available. Also I don't understand the syntax…
  • [V8i MDL] Select Series 3 MS_DWGSAVEAPPLICATIONDATA=1 (or ON) not working

    I store critical data as type 66 level 20 application data. I have a Bentley assigned signature. This works for ALL versions of MicroStation. I have included the V8 code. This does not work in an AutoCAD DWG file with any version of V8 from 2004 thru…
  • Execute an oracle package from MDL

    I would like to execute an oracle package from MDL. The package has patameters and returns a cursor. Thanks.
  • Re: I need to know when raster attachments finished loading

    You may want to use mdlInput_setFunction (INPUT_ENTER_IDLE, HandleEnterIdle) as originally mentioned in this post . The HandleEnterIdle event is a void function with no parameters; like: # include <userfnc.h> ... void HandleEnterIdle ( ) { /…
  • [V8i] MDL LOAD fail if dgn is located on fileshare

    Application: MS SS2 and MS SS3 (08.11.09.357) HW/SW: Any Location of workspace + mdl: tested both local and on network. Hi. This is my first post on Bentley forum, as a result of chating with Conor King from Bentley support, issue #7000061864…
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    Hi all - new member, new to v8i I'm a programmer who created complex MDL (3d wireframe) models prior to taking an 8-year assignment in our IT group. I have also created dozens of utilities for designers to use, all using the old-style MicrostationJ…
  • Re: [v8i SS3 MDL] Opening task navigation dialog after MDL application is loaded

    "] TASKTOOLBOX should be the TaskId for the TASKTOOLBOX keyins - if required. mdlInput_sendSynchronizedKeyin() is the preferred way to drive via keyins for MicroStation V8.5 2004 Edition and later. You may want to use the mdlInput_setFunction (INPUT_ENTER_IDLE…
  • Using BrowseTriangles() in a C# addin

    Does anyone know how to use or where I can find some documentation on the BrowseTriangles() function from the Bentley.Civil.DTM.DTM object. Bentley.Civil.DTM. DTM tin = Bentley.Civil.DTM. DTM .ImportFromGeopakTinFile(textTinFile.Text…
  • Database linkages

    Hi i am trying to link graphical elements to the database using odbc connection. Everything works fine in terms of text, but i need the level or colour of a specific element to go accross to the database and should change dynamically if i change a…
  • Re: 弱弱的问个问题-V8里globorg.x在哪个h文件里?

    [转载Bentley中文知识库原贴]flower:多谢,我就是改了一些语句才出现这个问题的,大于5000个点的元素在ms是什么类型? mdl那么多的fdf文件,经常编译的时候发现还有fdf没包含进来,能不能做一个hfile.h文件,#include全部这些fdf文件,然后mc里写一句#include "hfile.h"就可以了,这样做有什么弊端吗? [转载Bentley中文知识库原贴]MicroStation迷:以下是引用swp160108在2009-3…
  • Re: cell origin point issues

    Hi Michael, I'm puzzled here to, I have done this in the past and never ran into this problem... Anyway, I tried your suggestion but the outcome is still the same. I tried creating the cell in another design file, same result. The odd thing here…
  • Re: cell origin point issues

    Brien, OK.... So if I understand your explanation correctly, the cell I created (programmatically) should listen to the cell origin to get his snap point. So why doesn't it? Kind regards Wim Aerts 4D select
  • Re: cell origin point issues

    Brien, Michael, I am working in V8i for the moment, so the problem stays the same. I have been testing with the solid/hole bit (->el.cell_2d.dhdr.props.b.h) and it solves my problem. The cells I create always have the same geometry and we never…
  • cell origin point issues

    I have a mdl routine that creates a cell. When I place the cell in my design file and I check the header with the info tool the origin point is reported at the exact spot as I intended to. But when I use the origin snap to place a tentative point on the…
  • mdl load cfgvars printCfgVarResource

    This command doesn't seem to work in V8i Select Series 1 Also doesn't seem to work for me when working from ProjectWise. Any thoughts?
  • mdlView_getNameOfElmdscr and Saved View dgnlibs

    How do I go about getting the name of all the saved views within a model that also includes the views within a dgnlib? I have done the following, however the mdlView_getNameOfElemedscr returns an MDLERR_BADARG for any of the views from the dgnlib. …
  • Access item/element information in Navigator (or MicroStation) via VBA or MDL

    I'm trying to perform the following in Bentley Navigator but the same question would apply in MicroStation. In Bentley Navigator (or MicroStation V8i) if you select the Element Information icon you get a dialog full of information. It has the General…
  • MicroStation v8i cell placing problem

    We am trying to update a MDL application to MicroStation v8i SS2 that runs with MicroStation v8 2004 Edition without any problem. Some functions are changed and we fixed the required lines. There seems no change on cell placement functions so we leaved…
  • Reading cell library

    Hi I have a problem reading a cell library that contains cells built up by cells. And the problem only is for cells, no other element types. When I read the library my callback function from the scan critera gets these elements: From cell 1: shape…
  • Closing the design after creating CAL file

    hi, I've a MDL application, which generates a .CAL file out of the fenced area of .DGN file. So, only the CAL file is generated, i want to close the current deisgn file and redirect to Microstation Manager. I tried to achieve the same, by sending…
  • Modeless DialogBox using MDL

    I wanted to create a Modeless DialogBox using MDL Application. I wanted to get some textbox for taking inputs and status bar to send some information. Also some button and such similar tools to add on to my dailog box. Can anyone suggest a sol…
  • key-in to assign CSV remap file

    Hello, I would like to assign a CSV remap file in V8i using a simple script file which includes key-ins for other tasks. Can someone give me the full syntax? I learned of mdlCExpression_getValue and g_remapOptions.remapFileName in another thread…
  • mdlDisplaySet_removeSelectionSet() broken in V8i?

    Hi folks, I have a simple tool to make a selected element either displayed or hidden. This code worked in MS2004 and XM, but seems broken in V8i. After calling mdlDisplaySet_removeSelectionSet() for the hide option, nothing happens and every…
  • Developing C++ application with managed and unmanaged code

    Hi, Soon I should start developing a new AddIn. NET and it should use the functions mdlKISolid ... What I want to know is: 1. if I can call functions mdl in a managed C++ project, 2. if there are methods. NET that replace the functions mdlKISolid. Thanks…